Sam Blackshear
715e521ead
[quandary] making summaries smaller
...
Reviewed By: jberdine
Differential Revision: D3981791
fbshipit-source-id: 8d4c839
8 years ago
Josh Berdine
6697ed781f
[tests] Rerun test without swallowing output on failure
...
Reviewed By: jvillard
Differential Revision: D3992995
fbshipit-source-id: 85d2586
8 years ago
Josh Berdine
ac0084019c
[tests] Use $(MAKE) for recursive invocations
...
Reviewed By: jvillard
Differential Revision: D3992994
fbshipit-source-id: 6c07998
8 years ago
Josh Berdine
d8336ea906
[backend] Keep common constraints in pure join
...
Summary:
This changes the algorithm for pure join to keep the constraints that,
after normalization, occur in both arguments. Previously pure join
would normalize, filter, and then union the constraints of the
arguments.
Reviewed By: sblackshear
Differential Revision: D3970394
fbshipit-source-id: 3dc1672
8 years ago
Josh Berdine
30541ec329
[tests] Add test for suboptimal join of attributes
...
Summary:
Add a test case for a problem peterogithub uncovered with join of
attributes. The expected result is currently incorrect, to be fixed
later.
Reviewed By: sblackshear
Differential Revision: D3970363
fbshipit-source-id: 077705d
8 years ago
Jules Villard
eb391d7875
[llvm] delete llvm frontend
...
Summary: This frontend is not supported.
Reviewed By: sblackshear
Differential Revision: D3981323
fbshipit-source-id: 82b7422
8 years ago
Jules Villard
7d49e16d63
[clang] rewrite hijack_and_normalize_clang_command in OCaml
...
Summary:
Let's start migrating some of our bash script to OCaml to make them easier to
maintain and extend.
For now replace just one script and put it in lib/clang_wrappers/ at compile
time, where the former script used to be. Further simplifications will come
later.
Reviewed By: jberdine
Differential Revision: D3929988
fbshipit-source-id: b2d8b37
8 years ago
Sam Blackshear
4a35862aa8
[quandary] dont add passthroughs from callee to caller
...
Summary:
We were previously leaking the passthroughs of the callee into the caller.
We definitely don't want to do this since it could make the summaries higher up in the call stack explode.
If we need to know the passthroughs of a callee, we can always read them from the callee's summary.
Reviewed By: jeremydubreil
Differential Revision: D3972679
fbshipit-source-id: 5b5903f
8 years ago
Sam Blackshear
5e2e7b88aa
[quandary] allow trace-specific rules for handling unknown code
...
Reviewed By: jeremydubreil
Differential Revision: D3962285
fbshipit-source-id: b14f3d2
8 years ago
Ryan Rhee
272c21ff70
[componentkit] Factory functions analyzer
...
Reviewed By: dulmarod
Differential Revision: D3933693
fbshipit-source-id: 6294fb4
8 years ago
Jeremy Dubreil
e38e16c948
[infer][java] Remove the deprecated genrule from the BUCK files
...
Reviewed By: jvillard
Differential Revision: D3929506
fbshipit-source-id: a01301c
8 years ago
Ryan Rhee
967532ea2e
[componentkit][test] Rename test files
...
Reviewed By: dulmarod
Differential Revision: D3924307
fbshipit-source-id: 77ddfac
8 years ago
Ryan Rhee
df988dd051
[componentkit][test] Import proper fake header in second test
...
Reviewed By: dulmarod
Differential Revision: D3924245
fbshipit-source-id: 16a110a
8 years ago
Jeremy Dubreil
2e2e9c89d6
[infer][java] Removing the models for com.squareup.okhttp.internal.StrictLineReader
...
Reviewed By: dulmarod
Differential Revision: D3929501
fbshipit-source-id: 450f5bd
8 years ago
Jeremy Dubreil
168c613ac9
[infer][java] Separate the builtins from the other models for a better modularity
...
Summary: The Infer builtins can be used in the e2e tests, but those tests should not depend on the Infer models to avoid cyclic dependencies. This diff separates the models and the Infer builtins in two directories so that the test can depend on the builtins without depending on the models
Reviewed By: sblackshear
Differential Revision: D3929478
fbshipit-source-id: 7d0ab79
8 years ago
Martino Luca
051fbd779c
[Buck] Emit xml stub during `buck_test_xml` target
...
Reviewed By: jvillard
Differential Revision: D3930854
fbshipit-source-id: 17f8035
8 years ago
Sam Blackshear
df8a4f6481
[quandary] tests for divergence
...
Reviewed By: dkgi
Differential Revision: D3871703
fbshipit-source-id: f11f21d
8 years ago
Sam Blackshear
af9f34bb60
[quandary] checking for flows from Intents parsed via Uris -> startActivity (and similar)
...
Reviewed By: mburman
Differential Revision: D3905877
fbshipit-source-id: 03fe2f6
8 years ago
Ryan Rhee
6475e358c4
[componentkit][const] Ignore NSError
...
Reviewed By: martinoluca
Differential Revision: D3912232
fbshipit-source-id: adc8a55
8 years ago
Ryan Rhee
7a434adea8
[componentkit][const] Whitelist certain classes
...
Reviewed By: martinoluca
Differential Revision: D3911399
fbshipit-source-id: c523779
8 years ago
Ryan Rhee
d2ac2242c4
[componentkit][test] typedef struct -> class
...
Reviewed By: dulmarod
Differential Revision: D3909628
fbshipit-source-id: 52e9539
8 years ago
Ryan Rhee
f54b84c751
[componentkit][test] Move mock CK imports to own .h file
...
Reviewed By: dulmarod
Differential Revision: D3909240
fbshipit-source-id: 66e8b71
8 years ago
Dulma Churchill
561f4fdfad
[linters] Adding a new type of procname that is used for lint bugs that are not in any method
...
Reviewed By: cristianoc
Differential Revision: D3913535
fbshipit-source-id: cb8f840
8 years ago
Cristiano Calcagno
717b61192e
[tests] Convert java harness and crashcontext tests to new direct format.
...
Summary:
Convert the last remaining tests to the new direct format: java harness and crashcontext.
Remove what is left of the old testing infrastructure.
Reviewed By: sblackshear
Differential Revision: D3886355
fbshipit-source-id: 5117868
8 years ago
Dulma Churchill
a2ee69975a
[clang] Remove support for logging lint issues in procdescs
...
Reviewed By: jberdine
Differential Revision: D3894307
fbshipit-source-id: 99208f5
8 years ago
Sam Blackshear
fbfece20af
[quandary] using exceptional procCFG to explore exceptional control-flow
...
Reviewed By: dkgi
Differential Revision: D3871621
fbshipit-source-id: e76a274
8 years ago
Sam Blackshear
4b9899d6b2
[quandary] handling globals in function summaries
...
Reviewed By: jeremydubreil
Differential Revision: D3866616
fbshipit-source-id: 1b77bca
8 years ago
Sam Blackshear
b1039f51f8
[quandary] add summaries for footprint traces associated with locals
...
Differential Revision: D3883275
fbshipit-source-id: 651116e
8 years ago
Sam Blackshear
ae759ee21f
[quandary] fixing crashes when running on recursive code
...
Reviewed By: cristianoc
Differential Revision: D3888004
fbshipit-source-id: d432496
8 years ago
Sam Blackshear
31e6849ec0
[quandary] using summaries part 2: the relational cases
...
Differential Revision: D3861751
fbshipit-source-id: d7858e6
8 years ago
Cristiano Calcagno
847c141912
[tests] Clean up test files shared between frontend and endtoend tests
...
Reviewed By: jberdine
Differential Revision: D3893900
fbshipit-source-id: 497effc
8 years ago
Sam Blackshear
e4beca3779
[quandary] using summaries part 1: return
...
Reviewed By: jeremydubreil
Differential Revision: D3857310
fbshipit-source-id: 29c5994
8 years ago
Sam Blackshear
cf8c957483
[quandary] use preanalysis for abstract GC
...
Reviewed By: jeremydubreil
Differential Revision: D3866919
fbshipit-source-id: 87fb380
8 years ago
Cristiano Calcagno
c134eac91e
[tests] Convert objective-c frontend tests to new direct format
...
Reviewed By: jberdine
Differential Revision: D3886011
fbshipit-source-id: 2e0c014
8 years ago
Cristiano Calcagno
fe21442d47
[tests] Convert the linter tests to the new direct format
...
Reviewed By: jberdine
Differential Revision: D3877153
fbshipit-source-id: a0efb3c
8 years ago
Cristiano Calcagno
da01c2b94a
[tests] Fix detection of changes in frontend tests
...
Reviewed By: jberdine
Differential Revision: D3884466
fbshipit-source-id: 4ab17f3
8 years ago
Cristiano Calcagno
b0980bc35e
[tests] Convert c/c++ frontend tests to new format.
...
Reviewed By: sblackshear
Differential Revision: D3876214
fbshipit-source-id: a9032dc
8 years ago
Cristiano Calcagno
25cd7dbe89
[tests] Activate objective-c tests in the new format, and remove old junit tests.
...
Reviewed By: dulmarod
Differential Revision: D3876176
fbshipit-source-id: e6cc634
8 years ago
Cristiano Calcagno
afebcdad60
[tests] Prepare objective-c tests for conversion to the new direct testing format
...
Summary:
Rename symbols in test files so they are not duplicated and files can be analyzed together without affecting analysis results.
Fix some compilation errors, where files could be analyzed but would fail direct compilation.
Add Makefile mimicking the same analysis parameters used for the existing tests.
Reviewed By: dulmarod
Differential Revision: D3869993
fbshipit-source-id: 6db1baf
8 years ago
Cristiano Calcagno
ec67521c6f
[backend] Fix issue where the attribute of a procedure definition could be overwritten with the attribute of a declaration
...
Reviewed By: sblackshear
Differential Revision: D3856374
fbshipit-source-id: a8a0a52
8 years ago
Sam Blackshear
27cfb141da
richer sink specifications
...
Reviewed By: jeremydubreil
Differential Revision: D3831688
fbshipit-source-id: 199f1a5
8 years ago
Sam Blackshear
bcacd95176
tests for arrays
...
Reviewed By: jeremydubreil
Differential Revision: D3826552
fbshipit-source-id: 3b98b76
8 years ago
Sam Blackshear
87248009b7
fixing issue where crashcontext breaks without -o
...
Reviewed By: lazaroclapp
Differential Revision: D3823554
fbshipit-source-id: 8c0b329
8 years ago
Josh Berdine
f3cdf87181
Sort test results by file then line
...
Summary:
For tests that have reports of the form `<file>:<line>*`, sort first by
file, then by line numerically.
Reviewed By: sblackshear
Differential Revision: D3828044
fbshipit-source-id: d10cffe
8 years ago
Sam Blackshear
1e4b4df427
fixing handling of aliasing for frontend tmp vars
...
Reviewed By: cristianoc
Differential Revision: D3824558
fbshipit-source-id: 624df00
8 years ago
Sam Blackshear
6ca990be8c
adding tests for manipulating fields
...
Reviewed By: cristianoc
Differential Revision: D3824276
fbshipit-source-id: c412f17
8 years ago
Cristiano Calcagno
c613820a98
Convert c tests to the new testing format
...
Reviewed By: jberdine, sblackshear
Differential Revision: D3827953
fbshipit-source-id: 53a47df
8 years ago
Cristiano Calcagno
0b7ea202db
Convert infer c++ tests to new format
...
Reviewed By: jberdine
Differential Revision: D3803636
fbshipit-source-id: 5cc201d
8 years ago
Sam Blackshear
f2487513c5
adding tests for basic var stuff, casts
...
Reviewed By: jberdine
Differential Revision: D3811191
fbshipit-source-id: 9d967f2
8 years ago
Sam Blackshear
3ff6622c9c
setup e2e test skeleton
...
Reviewed By: cristianoc
Differential Revision: D3806745
fbshipit-source-id: c73e5cb
8 years ago