1067 Commits (987347ceca51a707054bc4ece38d312df856434a)

Author SHA1 Message Date
Andrzej Kotulski f697739b21 [C++ translation] Use correct type when generating dereference
9 years ago
Dulma Churchill 269ea5ffe5 [linters] Take into account the respondsToSelector block in the unavailable api check
9 years ago
Sam Blackshear f9280b682f [thread-safety] don't warn on accesses to fields assigned to @Functional calls
9 years ago
Sam Blackshear 70df06a596 [thread-safety] don't consider VisibleForTesting methods as public
9 years ago
Sam Blackshear cc8ffd9d1e [quandary] allow regexes in defining quandary sources/sinks in inferconfig
9 years ago
Sam Blackshear 3ee349ee23 [thread-safety] warn on unsafe accesses to lists
9 years ago
Andrzej Kotulski dd3de5b011 [clang frontend] Create nodes for dangling instructions
9 years ago
Jules Villard a229595856 [tests] run objc frontend tests...
9 years ago
Jeremy Dubreil 5322c71063 [infer][backend] find a better trade-off for the value of the SymOps timeout
9 years ago
Sam Blackshear b227ee58a6 [thread-safety] handle some annotations as aliases of ThreadConfined
9 years ago
Sam Blackshear 369feb4149 [thread-safety] allow ownership to be transferred via return
9 years ago
Sam Blackshear f372b6cb2f [quandary] allow sinks to be specified in inferconfig
9 years ago
Sam Blackshear 5bddb1e548 [quandary] allow sources to be specified in inferconfig
9 years ago
Sam Blackshear e132188361 [thread-safety] warn on unsafe accesses in overrides of methods annotated with @ThreadSafeMethod
9 years ago
Cristiano Calcagno 3f8ee7df49 [Eradicate] Fix issue in Eradicate's check for field initialization
9 years ago
Sam Blackshear f79a53e1c8 [thread-safety] add string param to AssumeThreadSafe
9 years ago
Sam Blackshear c19bee7772 [quandary] for instance methods with no return value, propagate the taint to the receiver
9 years ago
Sam Blackshear b9694ef086 [thread-safety] warn on unsafe writes in constructors
9 years ago
Sam Blackshear c4c495fbe5 [thread-safety] propagate conditional writes to callers
9 years ago
Sam Blackshear 4373945e74 [thread-safety] don't warn on writes rooted in a parameter owned by the callee
9 years ago
Sam Blackshear e565010cf3 [thread-safety] don't warn on writes to volatile fields
9 years ago
Jules Villard 2e96caac42 [mvn] new integration
9 years ago
Jules Villard ca784cdb41 [cli] warn about deprecated options, clean up infer repo
9 years ago
Sam Blackshear 618e9c9338 [thread-safety] add @AssumeThreadSafe annotation to assume thread-safety of a method without checking it
9 years ago
Sam Blackshear f4b1af6f91 [thread-safety] allow @ThreadConfined annotation on methods
9 years ago
Sam Blackshear d39d4cfa20 [thread-safety] use jsr-305 versions of ThreadSafe/NotThreadSafe rather than defining custom annotations
9 years ago
Sam Blackshear 72e17403fa [thread-safety] add and support @ThreadSafeMethod annotation
9 years ago
Jeremy Dubreil 219d5b3883 [infer][tests] use Buck target output instead of hard copies of the paths under buck-out
9 years ago
Jules Villard c10126d0fd [DB] return resolved path when path cannot be made relative
9 years ago
Sam Blackshear 1891a16f8f [thread-safety] suppress warnings on methods annotated with @OnEvent
9 years ago
Sam Blackshear 8b57278c70 [thread-safety] support fields annotated with @ThreadConfined
9 years ago
Gautam Korlam fe24209c3d Cleanup DEFS file for generating infer genrules
9 years ago
Sam Blackshear e5ef592f11 [quandary] add a few missing Intent sinks
9 years ago
Sam Blackshear ee2d0c9226 [quandary] add Intent's passed to onActivityResult/onNewIntent as sources
9 years ago
Sam Blackshear 4cb03f4670 [checkers] add ui-thread/non-ui thread reasoning to annotation reachability checker
9 years ago
Sam Blackshear 685f205dda [quandary] skeleton for ObjC traces
9 years ago
Sam Blackshear 73f219560d [thread-safety] warn on unsafe accesses to maps
9 years ago
Jules Villard 4bf4ba1c59 [tests] make sure we delete infer-out at the start of the reactive test
9 years ago
Sam Blackshear 2a4b29fedb [quandary] Warn on reusing result returned from getIntent
9 years ago
Sam Blackshear d86f777132 [quandary] considering methods of subclasses of Activity, SharedPreferences etc. as sources/sinks too
9 years ago
Josh Berdine 52174fdc33 Avoid race between cmake and utf8_in_pwd tests
9 years ago
Sam Blackshear 504735e548 [java] update android.jar version to 23
9 years ago
Sam Blackshear 9c48178e4a [quandary] model some formals of Webview methods as tainted
9 years ago
Peter O'Hearn 7bcc7e421d [threadsafety] don't warn on methods from classes annotated ThreadConfined
9 years ago
Sam Blackshear 68c0705f26 [thread-safety] don't warn on methods annotated with UiThread
9 years ago
Sam Blackshear 1403e9c898 [quandary][java] Intent.parseIntent/Intent.parseUri should propagate taint, not create it
9 years ago
Josh Berdine 142494e7ae Add missing dir to java test clean
9 years ago
Jeremy Dubreil 4a3573b60e [infer][java] Use lazy dynamic dispatch by default
9 years ago
Jules Villard 39cfc9c073 delete intellij settings in infer/tests/
9 years ago
Ryan Rhee b557b49921 [componentkit] Initializer rule should return multiple issues
9 years ago
Jules Villard 72d065017b [tests] run "diff" from infer/tests
9 years ago
Sam Blackshear 06e0f6fbc9 [quandary] support tainted formals
9 years ago
Josh Berdine 1a5ac9e62b Use natural order on hpred, optionally ignoring instrumentation
9 years ago
Jules Villard ec2cde7020 [tests] serialize buck tests
9 years ago
Andrzej Kotulski 96ba74d18e [C++] whitelist C++ std::vector iterator implementation
9 years ago
Peter O'Hearn 4057ffadcf [threadsafety] Change THREAD_SAFETY_ERROR to THREAD_SAFETY_VIOLATION
9 years ago
Sam Blackshear 2a567d3abe [quandary] summaries are access trees too
9 years ago
Sam Blackshear cd1c9750f4 [infer] models for common types of Java Lists
9 years ago
Peter O'Hearn 23a0a611dc [threadsafety] Fix situation where @NotThreadSafe is reported on, when super is @ThreadSafe
9 years ago
Dulma Churchill 9f153dbafa [linters] Add linter for checking api compatibility
9 years ago
Martino Luca d044809b32 [CTL] Filter linters through a visibility flag
9 years ago
Jules Villard a2193005a9 [tests] less phony genrule test
9 years ago
Josh Berdine 3dfaa9ed7b Remove support for SuppressWarnings annotations
9 years ago
Cristiano Calcagno d670bdd61a [eradicate] Add support for methods that don't return (System.exit)
9 years ago
Jules Villard bcac924e7f register checkers in monocore mode
9 years ago
Jules Villard c51c4a21ae [siof] collate multiple reports at the same line into one
9 years ago
Jules Villard a9d5b5afdb [tests] kill empty build_integration_tests.py
9 years ago
Jules Villard c6ed7ad489 [tests] convert waf test to Makefile
9 years ago
Jules Villard b4bd78bb05 [tests] convert utf8 in pwd test to Makefile
9 years ago
Jules Villard 4c34509f6d [tests] convert unknown ext test to Makefile
9 years ago
Jules Villard c40dfc950e [tests] convert reactive test to Makefile
9 years ago
Jules Villard 25e35e8bec [tests] convert pmd-xml test to Makefile
9 years ago
Jules Villard dece9f1386 [tests] convert ndk-build test to Makefile
9 years ago
Jules Villard facdcbe6f2 [tests] convert clang multiple files test to Makefile
9 years ago
Jules Villard f57154372f [tests] move make test to a Makefile
9 years ago
Jules Villard d80c9c742d [tests] move utf8 in procname test to a Makefile
9 years ago
Jules Villard de8356e4b0 [tests] move javac test to a Makefile
9 years ago
Jules Villard 5ffd9e3a7b [tests] port gradle test to a Makefile
9 years ago
Jules Villard ebb75d6171 [tests] port --fail-on-issue test to a Makefile
9 years ago
Jules Villard 674e3c86ea [tests] port delete infer-out test to a Makefile
9 years ago
Jules Villard 241b4b04fa [tests] port ck imports test to a Makefile
9 years ago
Jules Villard 6c056f535a [tests] port ck analytics test to a Makefile
9 years ago
Jules Villard eafe1158a6 [tests] convert cmake test to a Makefile
9 years ago
Jules Villard a6be58848b [make] make frontend tests more functional
9 years ago
Andrzej Kotulski 9fb0636ca1 [compilation db] Remove special module for compilation db
9 years ago
Sam Blackshear ee90e10491 [thread-safety] don't report on fields of immutable collections
9 years ago
Sam Blackshear 79154adf9e [thread-safety] use ownership info to avoid false alarms
9 years ago
Jules Villard bce1a1ff2e [make] make infer/src/Makefile less phony
9 years ago
Josh Berdine 178451e117 Disable timeouts during model analysis
9 years ago
Cristiano Calcagno ec1a07f445 Unbreak --continue option by passing it down to the python files
9 years ago
Sam Blackshear 7682017f93 [quandary] only show relevant passthroughs in trace
9 years ago
Andrzej Kotulski c9d254c084 Initial version of reactive capture
9 years ago
Dulma Churchill 5b39b3e323 [ObjC] Model methods from NSArray
9 years ago
Andrzej Kotulski 13fcb27431 [C++] Fix compilation errors coming from smart pointer models
9 years ago
Jules Villard 902a0cd001 [make] make crashcontext tests replace-proof
9 years ago
Jeremy Dubreil 715f6ffa7e [infer][java] match the annotation by class name, forgetting the package, instead of checking if the end of the annotation matches
9 years ago
Sam Blackshear 901786e0c5 [quandary] detect intents configured with external values
9 years ago
Jeremy Dubreil 027bdc32e8 [infer][genrule] Add example of Buck DEFS macro to generate Infer analysis targets
9 years ago
Jeremy Dubreil a0b83ed693 [infer][test] The command should change directory outside the call to silent_on_success
9 years ago
Sam Blackshear 831786240a [quandary] ignore null assignments to return value in void functions
9 years ago
Jules Villard e5863f5420 [siof] handle constexpr constructors
9 years ago
Sam Blackshear e212183e7e [thread-safety] don't count accesses in methods of builder classes
9 years ago
Dino Distefano bd216f3205 Fixed problem with evaluation of sizeof which would give false positive
9 years ago
Jules Villard 9cc9cc101c [IR] add Static_local_var pvar kind and use it in clang
9 years ago
Andrzej Kotulski 0479720c91 [C++] Don't ignore header files passed in --changed-files-index
9 years ago
Andrzej Kotulski bd0f0cc7fc [DB] Don't fail hard when realpath fails
9 years ago
Sam Blackshear 4b98543d35 [traces] don't hang when unrolling a mutually recursive trace
9 years ago
Jeremy Dubreil 532621def1 [infer][tests] No longer rely on Infer being in the PATH for the genrule integration test
9 years ago
Sam Blackshear c1205c1453 [thread-safety] model ReadLock/WriteLock
9 years ago
Dulma Churchill 826accc21b [clang] Adding model for NSNumber boxing functions
9 years ago
Sam Blackshear 5743351906 [thread-safety] don't report thread safety violations due to calls to constructors
9 years ago
Jeremy Dubreil 7b884144b5 [infer][tests] More complete test cases for the models of the Java Integer class
9 years ago
Sam Blackshear 0972c8d262 [quandary] don't report FP's due to flow-insensitive traces
9 years ago
Sam Blackshear 3b161a3737 [thread-safety] interprocedural traces for thread safety checker
9 years ago
Sam Blackshear 579b982359 [thread-safety] Lay the groundwork for interprocedural trace-based reporting
9 years ago
Cristiano Calcagno 827d7c3d9c [backend][perf] Address top performance bottleneck from profiling the backend.
9 years ago
Sam Blackshear 01136cc326 [thread-safety] interprocedural analysis
9 years ago
Sam Blackshear 937ae12f29 [thread-safety] adding models for lock methods
9 years ago
Jeremy Dubreil cead43b731 [infer][genrule] run the genrule integration as part of the Buck integration test
9 years ago
Josh Berdine 0cf71c74ef Sort nodes when printing cfg to dot file
9 years ago
Jeremy Dubreil e269f2a3fd [infer][java] basic support to run Infer using Buck genrules
9 years ago
Andrzej Kotulski 9d6a6510e8 [clang] Translate everything coming from <X>.h files when translating <X>.cpp source
9 years ago
Andrzej Kotulski 6192cb98b4 [DB] Use realpath when calling source_file_from_abs_path
9 years ago
Sam Blackshear 9e9ca333f9 [thread-safety] use boolean domain to track locks
9 years ago
Andrzej Kotulski 0aa93c97bd [tests] Extend compilation database tests to handle multiple scenarios
9 years ago
Sam Blackshear ad5ff00dcd [quandary] making it easier to specify behavior for unknown functions
9 years ago
Andrzej Kotulski b6b7593cf6 [tests] Make project root infer/test/ for java tests
9 years ago
Andrzej Kotulski b0a0fbcc35 [tests] fix tests for open source
9 years ago
Andrzej Kotulski 2810740377 [tests] Make project root infer/test/ for clang tests
9 years ago
Sam Blackshear 935018ae9e [quandary] cheaper handling of unknown code
9 years ago
Dulma Churchill 8415b6c38b [backend] do not log analysis_stops in debug_exceptions mode
9 years ago
Dulma Churchill 616ee9276b [clang] Adding model for NSString length to avoid false positive npes.
9 years ago
Ryan Rhee 28b741e62c [componentkit] Compute Cyclomatic Complexity
9 years ago
Ryan Rhee ccb51912e1 [componentkit] Compute line count for main file
9 years ago
Ryan Rhee 661de290e7 [componentkit] Gate analytics behind flag
9 years ago
Dulma Churchill e8085d5996 [linters] Fix perf problem in the linters, added tests
9 years ago
Andrzej Kotulski 548918e524 [tests] extend compilation database test with changed-files-index options
9 years ago
Sam Blackshear bdfc7de48e [tests] fix buck integration tests
9 years ago
Sam Blackshear a6121a9fb0 [guarded-by] support `Classname.fieldname` syntax
9 years ago
Peter O'Hearn f2d86cb90c [GuardedBy] Model of trylock in ReentrantLock.java
9 years ago
Sam Blackshear 708c0bf1f8 [backend] eliminate phantom spaces in printing of types
9 years ago
Jules Villard b34e8fe192 [tests] fix clean targets
9 years ago
Peter O'Hearn 733646ba09 [GuardedBy] Fix Subclassing False positive
9 years ago
Sam Blackshear adacee51e2 [quandary] switch to --issues-tests printing
9 years ago
Jules Villard 17179d4275 [siof] take POD into account
9 years ago
Jules Villard b3209e2c18 [tests] convert clang_compilation_db test to Makefile
9 years ago
Jules Villard 15d80e04df [tests] record summary of bug traces
9 years ago
Andrzej Kotulski 4512fcd8ef [tests] Create integration tests for clang translation logic
9 years ago
Jules Villard ac47d115f5 [tests] include clang.make a bit later to fix compile target
9 years ago
Jules Villard 83f236451d [c] setlocale(3) accepts NULL as second argument
9 years ago
Jules Villard 2d846d89a6 [build tests] migrate buck integration test to Makefiles
9 years ago
Jules Villard 281d5b49fe [tests] sort bugs in InferPrint
9 years ago
Jules Villard 70720798d8 [tests] share javac.make more broadly
9 years ago
Peter O'Hearn 171d1d6d43 [threadsafety] run thread safety checker on its own
9 years ago
Andrzej Kotulski 6b083af4f3 [tests] small refactor of frontend makefiles
9 years ago
Sam Blackshear 75d6fb30e4 [frontend] support Java 8
9 years ago
Jeremy Dubreil 21a568aba8 [infer][java] Fix spurious class cast excpetion reports when casting arrays of primitive types
9 years ago
Dino Distefano 6ffaded4be Modified the hardcoded CTL formulas in preparation to dispatcher removal
9 years ago
Jules Villard 0085417e0d [siof] better error reports using `Errlog.loc_trace`s
9 years ago
Jules Villard 5bd8b7fa95 [make] compatibility with Debian testing
9 years ago
Sam Blackshear e8b61f6dbb [quandary] fix false positives from procedures that are both sources and sinks
9 years ago
Sam Blackshear 4b4e4e6f4d [quandary] understand that parameters are passed by value in Java
9 years ago
Jeremy Dubreil eb197a1cd4 [infer][tests] Make was always exiting with exit code 0 even in the case of test failures
9 years ago
Jeremy Dubreil 274851fc53 [infer][java] mark all methods as defined
9 years ago
Sam Blackshear 8784b9b946 [backend] fix cursor leak FPs
9 years ago
Sam Blackshear ba7cef4657 [backend] differentiate unknown methods and methods with empty summaries
9 years ago
Jeremy Dubreil 9921e3c427 [infer] Unbreak the build integration tests
9 years ago
Peter O'Hearn be977e7318 Turn GuardedBy Reporting on by default
9 years ago
Sam Blackshear fcf57c6e09 [siof] add fancy interprocedural reporting
9 years ago
Jules Villard c49b9e272d [tests] turn assembly build system test into a Makefile
9 years ago
Jules Villard d5e7ee0d82 [tests] run tests using report.json and record all bugs + exceptions
9 years ago
Jules Villard 2cd0151e30 [python] restore project_root option and use it to find source files
9 years ago
Andrzej Kotulski 80f25d17fd [tests] Create simple compilation database integration test
9 years ago
Jules Villard c9bac51b81 [tests] make clang tests Makefile more functional
9 years ago
Sam Blackshear 0b9727214d [quandary] support `StringBuilder`'s and other methods for propagating `String` taint
9 years ago
Sam Blackshear fde7a6ecf3 [quandary] support for full interprocedural traces
9 years ago
Josh Berdine 32a60e05f4 Unbreak master
9 years ago
Sam Blackshear 768a60caca [quandary] support for full interprocedural traces
9 years ago
Andrzej Kotulski 28827b461a [clang] Get translation unit language from AST dump
9 years ago
Jules Villard b876364340 [tests] convert ant integration test to a Makefile
9 years ago
Jules Villard c93bbbbbc5 [clang] run assembly commands with the fcp clang
9 years ago
Cristiano Calcagno a71902355f [debug][dotty] Fix issue in dotty output where overloaded functions were conflated
9 years ago
Peter O'Hearn 2d424b7779 skipping ReadWrite Locks
9 years ago
Sam Blackshear 874e7f000d [quandary] functions that transitively return sources are sources, not passthroughs
9 years ago
Andrzej Kotulski 71b73368ec Add basic integration test for assembly code
9 years ago
Sam Blackshear d76a7ef43a [quandary] functions that transitively call sinks are sinks, not passthroughs
9 years ago
Peter O'Hearn e91742afea Support @SuppressLint("InvalidAccessToGuardedField")
9 years ago
Sam Blackshear d7ae77c7c2 [quandary] make intent/logging private data tests intraprocedural
9 years ago
Josh Berdine 4422893bbd [RFC] Remove CSV and JSON munging python code
9 years ago
Sam Blackshear 678d0ff4e9 [quandary] don't double-report when applying summaries
9 years ago
Sam Blackshear 21f9bd1ed6 [quandary] fix crash from returning exceptions that read from the environment
9 years ago
Sam Blackshear 7ae58d78c3 [infer] fix .class synchronization false-positive in guarded-by check
9 years ago
Dino Distefano 622366269d Simplified semantics of ET and EH
9 years ago
Sam Blackshear 8f68f61ec9 [quandary] remove stripped logging sinks
9 years ago
Ryan Rhee aac14999b0 [componentkit] Whitelist Native Templates
9 years ago
Ryan Rhee a45d59e478 [componentkit] Don't count unavailable initializers
9 years ago
Jules Villard bc6226942e fix tests
9 years ago
Peter O'Hearn ec45b44dfd [threadsafety] Better error message when warning on subclasses of @ThreadSafe classes
9 years ago
Cristiano Calcagno 3fb8801b6c [IR] Change cfg representation so the node number is per-procedure and not per-cfg
9 years ago
Sam Blackshear 3ba67bac1a [quandary] more privacy sources
9 years ago
Josh Berdine 175e85525d [tests] Convert java tests to avoid phony targets
9 years ago
Ryan Rhee 5752b14d9c [componentkit] Skip implicit variables during MLV check
9 years ago
Ryan Rhee 5580be8dcc [componentkit] Initializer With Side-Effect Analyzer
9 years ago
Jules Villard 84af7c56f8 [SIOF] detect which variables need initialization
9 years ago
Sam Blackshear 319463b3bc [quandary] propagating taint from unknown procedures and constructors
9 years ago
Sam Blackshear 355ab92130 [backend] move expression pretty-printing into exp module
9 years ago
Josh Berdine a9192cffd6 [config] Eliminate ad hoc environment variables
9 years ago
Josh Berdine f45cf115e6 [test] Do not use infer from PATH
9 years ago
Ryan Rhee c2a8dae26f [componentkit] Multiple factory methods
9 years ago
Ryan Rhee e73350598a [componentkit] Unconventional superclass rule
9 years ago
Ryan Rhee a4501462cc [componentkit] Reference fake header in build system test
9 years ago
Sam Blackshear 6fc1a7e20f [quandary] reporting on array passed to sink when contents of array are tainted
9 years ago
Peter O'Hearn 2601af5ade [threadsafety] don't report on class initializers
9 years ago
Jules Villard 9535c4d89e [clang] convert filter_args_and_run_fcp_clang to OCaml
9 years ago
Jeremy Dubreil cde74b4043 [infer][test] always run the Buck integration test with the option --no-cache
9 years ago
Peter O'Hearn 69f7ed5f6d [threadsafe] fix the code for recognizing constructors
9 years ago
Jules Villard 5fe40bae12 [siof] check origin of globals and complain if potential siof
9 years ago
Jules Villard 62bfde8b5a [clang] translate global var initializers
9 years ago
Sam Blackshear 08509fb2ab [quandary] don't double-report flows
9 years ago
Sam Blackshear 512de69e13 [quandary] handle dynamic dispatch
9 years ago
Peter O'Hearn 6423ec74ad Writing errors for Threadsafe checker
9 years ago
Andrzej Kotulski 0f9f44f16e [backend] Report ignored return value on skip functions
9 years ago
Sam Blackshear 072fe0994f [quandary] reporting on getenv -> exec flows
9 years ago
Peter O'Hearn 07da8f36d1 don't warn on GuardedBy self reference
9 years ago
Andrzej Kotulski 2deeb3673a [C++] Don't put model includes on -isystem path in test
9 years ago
Dulma Churchill 98afe25b54 [linters] Take the attributed types into account when finding pointer types
9 years ago
Sam Blackshear 3624fea737 [quandary] tests for C++ analysis
9 years ago
Jules Villard c53bfe3159 [clang] rewrite plugin attachment logic in OCaml
9 years ago
Sam Blackshear 715e521ead [quandary] making summaries smaller
9 years ago
Josh Berdine 6697ed781f [tests] Rerun test without swallowing output on failure
9 years ago
Josh Berdine ac0084019c [tests] Use $(MAKE) for recursive invocations
9 years ago
Josh Berdine d8336ea906 [backend] Keep common constraints in pure join
9 years ago
Josh Berdine 30541ec329 [tests] Add test for suboptimal join of attributes
9 years ago
Jules Villard eb391d7875 [llvm] delete llvm frontend
9 years ago
Jules Villard 7d49e16d63 [clang] rewrite hijack_and_normalize_clang_command in OCaml
9 years ago
Sam Blackshear 4a35862aa8 [quandary] dont add passthroughs from callee to caller
9 years ago
Sam Blackshear 5e2e7b88aa [quandary] allow trace-specific rules for handling unknown code
9 years ago
Ryan Rhee 272c21ff70 [componentkit] Factory functions analyzer
9 years ago
Jeremy Dubreil e38e16c948 [infer][java] Remove the deprecated genrule from the BUCK files
9 years ago
Ryan Rhee 967532ea2e [componentkit][test] Rename test files
9 years ago
Ryan Rhee df988dd051 [componentkit][test] Import proper fake header in second test
9 years ago
Jeremy Dubreil 2e2e9c89d6 [infer][java] Removing the models for com.squareup.okhttp.internal.StrictLineReader
9 years ago
Jeremy Dubreil 168c613ac9 [infer][java] Separate the builtins from the other models for a better modularity
9 years ago
Martino Luca 051fbd779c [Buck] Emit xml stub during `buck_test_xml` target
9 years ago
Sam Blackshear df8a4f6481 [quandary] tests for divergence
9 years ago
Sam Blackshear af9f34bb60 [quandary] checking for flows from Intents parsed via Uris -> startActivity (and similar)
9 years ago
Ryan Rhee 6475e358c4 [componentkit][const] Ignore NSError
9 years ago
Ryan Rhee 7a434adea8 [componentkit][const] Whitelist certain classes
9 years ago
Ryan Rhee d2ac2242c4 [componentkit][test] typedef struct -> class
9 years ago
Ryan Rhee f54b84c751 [componentkit][test] Move mock CK imports to own .h file
9 years ago
Dulma Churchill 561f4fdfad [linters] Adding a new type of procname that is used for lint bugs that are not in any method
9 years ago
Cristiano Calcagno 717b61192e [tests] Convert java harness and crashcontext tests to new direct format.
9 years ago
Dulma Churchill a2ee69975a [clang] Remove support for logging lint issues in procdescs
9 years ago
Sam Blackshear fbfece20af [quandary] using exceptional procCFG to explore exceptional control-flow
9 years ago
Sam Blackshear 4b9899d6b2 [quandary] handling globals in function summaries
9 years ago
Sam Blackshear b1039f51f8 [quandary] add summaries for footprint traces associated with locals
9 years ago
Sam Blackshear ae759ee21f [quandary] fixing crashes when running on recursive code
9 years ago
Sam Blackshear 31e6849ec0 [quandary] using summaries part 2: the relational cases
9 years ago
Cristiano Calcagno 847c141912 [tests] Clean up test files shared between frontend and endtoend tests
9 years ago
Sam Blackshear e4beca3779 [quandary] using summaries part 1: return
9 years ago
Sam Blackshear cf8c957483 [quandary] use preanalysis for abstract GC
9 years ago
Cristiano Calcagno c134eac91e [tests] Convert objective-c frontend tests to new direct format
9 years ago
Cristiano Calcagno fe21442d47 [tests] Convert the linter tests to the new direct format
9 years ago
Cristiano Calcagno da01c2b94a [tests] Fix detection of changes in frontend tests
9 years ago
Cristiano Calcagno b0980bc35e [tests] Convert c/c++ frontend tests to new format.
9 years ago
Cristiano Calcagno 25cd7dbe89 [tests] Activate objective-c tests in the new format, and remove old junit tests.
9 years ago
Cristiano Calcagno afebcdad60 [tests] Prepare objective-c tests for conversion to the new direct testing format
9 years ago
Cristiano Calcagno ec67521c6f [backend] Fix issue where the attribute of a procedure definition could be overwritten with the attribute of a declaration
9 years ago
Sam Blackshear 27cfb141da richer sink specifications
9 years ago
Sam Blackshear bcacd95176 tests for arrays
9 years ago
Sam Blackshear 87248009b7 fixing issue where crashcontext breaks without -o
9 years ago
Josh Berdine f3cdf87181 Sort test results by file then line
9 years ago
Sam Blackshear 1e4b4df427 fixing handling of aliasing for frontend tmp vars
9 years ago
Sam Blackshear 6ca990be8c adding tests for manipulating fields
9 years ago
Cristiano Calcagno c613820a98 Convert c tests to the new testing format
9 years ago
Cristiano Calcagno 0b7ea202db Convert infer c++ tests to new format
9 years ago
Sam Blackshear f2487513c5 adding tests for basic var stuff, casts
9 years ago
Sam Blackshear 3ff6622c9c setup e2e test skeleton
9 years ago
Jules Villard 4fe1615434 give correct type to root exps of array dereferences
9 years ago
Andrzej Kotulski 41e51bc28c Clean up smart pointer header models
9 years ago
Andrzej Kotulski 4637bf877e model unique_ptr<T> as T*
9 years ago
Cristiano Calcagno 257f4976f0 Convert java tracing tests to new direct format.
9 years ago
Cristiano Calcagno 674f30de2c Convert java infer tests to the new direct format
9 years ago
Cristiano Calcagno 2cb595b8c9 Convert Eradicate and Checkers tests to direct format.
9 years ago
Andrzej Kotulski 4cd9470586 Skip Sil.Call instruction for some shared_ptr method calls
9 years ago
Andrzej Kotulski 2baf3f8456 Replace shared_ptr<T> structs with T* pointers
9 years ago
Ryan Rhee e19550a43b Handle l-value refs correctly
9 years ago
Sam Blackshear c5088f44a7 adding tests for context leaks via weak reference
9 years ago
Dulma Churchill 6ad78e7d9c Add case for blocks when building a procname
9 years ago
Andrzej Kotulski a31c5416b1 Add basic support for starting ocaml repl with infer code
9 years ago
Dulma Churchill 9ae19d01d0 Make the is_global_var not fire for the static local variables
9 years ago
Jules Villard 26a6594b90 detect unsigned values inside structured expressions
9 years ago
Dulma Churchill 07bf714d91 Put current method in context
9 years ago
Jules Villard 2da8940a80 test that running infer deletes the previous infer-out folder
9 years ago
Jules Villard dda4921786 exit with correct error code when infer.py fails
9 years ago
Jules Villard 145cb744f6 do not havoc actuals of skip functions with const parameters
9 years ago
Dulma Churchill b7ec110ea3 Adding new mode linters
9 years ago
Martino Luca 40b176fd01 Translate global const vars locally to a procedure
9 years ago
Martino Luca 6840efdd1c fix imports in MutableLocalVariableTest
9 years ago
Lázaro Clapp Jiménez Labora 175efddc2b Make stacktrace and stacktree line number an int option.
9 years ago
Ryan Rhee e81e43456b Test mutable local variables in CK files
9 years ago
Ryan Rhee 957bdde05e Test that component kit headers skips imported headers
9 years ago
Ryan Rhee d594a525ac Test that CK rules don't fire in non-component files
9 years ago
Andrzej Kotulski 185f6493bc Update fcp with new naming fixes
9 years ago
Martino Luca 3dae9dc4f6 Use Guava's Optional in tests
9 years ago
Ryan Rhee 3d719a24d9 Matcher w/ explicit error name
9 years ago
Ryan Rhee e2ff6e58a5 `buck test componentkit` boilerplate
9 years ago
Martino Luca b7d70ff178 Add support for extra cases of BAD_POINTER_COMPARISON warning
9 years ago
Martino Luca e3132152cb Check for the presence of removeObserver into class hierarchy
9 years ago
Lázaro Clapp Jiménez Labora d23c99a4ea Add blame_range to crashcontext analysis.
9 years ago
Sam Blackshear 8ff9f2afab making get_reachable_hpreds understand inductive predicates
9 years ago
Ryan Rhee d2a4028881 Call decl checkers on DeclStmt statements
9 years ago
Lázaro Clapp Jiménez Labora 85add041d4 CI Tests for crashcontext handling of native methods
9 years ago
Lázaro Clapp Jiménez Labora 5296688c1f Match classname for stackframes in crashcontext checker.
9 years ago
Lázaro Clapp Jiménez Labora 0a8b95a856 Crashcontext ocaml method summary merging
9 years ago
Martino Luca bed9b31c62 Add general context to linters framework to implement smarter checks
9 years ago
Jules Villard aee1eeba3d restore --pmd-xml functionality
9 years ago
Martino Luca f64be4596b Implement containsOnlyLines matcher for tests
9 years ago
Martino Luca da2717ff2a Migrate BAD_POINTER_COMPARISON check from backend to linters infra
9 years ago
Dulma Churchill ff597a6c03 Model init method in NSData and understand the field bytes
9 years ago
Sam Blackshear 4490d9b033 fix recognition of inner class this guarded-by strings
9 years ago
Daiva Naudziuniene ac9cabe677 Fixing Memory leak false positives in C++/ObjC
9 years ago
Lázaro Clapp Jiménez Labora 9a79e74380 Crashbot results stitching and end-to-end testing.
9 years ago
Sam Blackshear b500a5c4b5 don't warn in cases where GuardedBy string is clearly unrecognizable
9 years ago
Lázaro Clapp Jiménez Labora 76764c148a Output the callee sumaries of -a crashcontext to per-method files.
9 years ago
Lázaro Clapp Jiménez Labora cbd1b9c7ba Refactor common code on multiple methods of InferRestults
9 years ago
Jules Villard 10f10a90c6 diverge on `throw`
9 years ago
Jules Villard fb7aed07c6 typo and whitespace cleanup in cFrontend_config
9 years ago
Lázaro Clapp Jiménez Labora 6469a6c37b Implement '-a crashcontext' and '-st trace' options to invoke BoundedCallTree.ml from the command line.
9 years ago
Dulma Churchill 7fd1149f85 Add NPE check for weak variables captured in blocks
9 years ago
Andrzej Kotulski 0aa5101a05 Replace space with _ in type names
9 years ago
Andrzej Kotulski 5ed50f5a97 Keep more precise information in constructor's var_exp_typ
9 years ago
Dulma Churchill 102f61e2a7 Move a few missing tests to the new location
9 years ago
Jules Villard 4078a2b276 pass down --reactive and --continue to python
9 years ago
Daiva Naudziuniene dfb7c15303 Fixing Resource leak false positives assuming developers use raii.
9 years ago
Sam Blackshear d6149c7741 switching to by-ref semantics
9 years ago
Martino Luca 062ec6c872 Translate VAArgExpr
9 years ago
Martino Luca 4ba864780e Translate OffsetOfExpr
9 years ago
Sam Blackshear d946a7bc33 fix ugly printing of NONE idents
9 years ago
Dulma Churchill 8b0b485921 Refactoring of tests, separating the tests for linters
9 years ago
Dulma Churchill 41d93dd889 Model numberWithUnsignedInteger, skipping it was creating a false positive NPE
9 years ago
Andrzej Kotulski 118295e03c Fix C++ models of c library
9 years ago
Dulma Churchill 0253608fab Separate the flow of the frontend checks form the translation
9 years ago
Sam Blackshear 7b58c71475 centralize creation and detection of clang tmp vars, fix errdesc/bucketing
9 years ago
Andrzej Kotulski 9cda4ca6bf Add models of shared_ptr comparison operators
9 years ago
Andrzej Kotulski 046654a9c0 Fix translation of unary operator! for all integral types
9 years ago
Dulma Churchill cf72de9460 Make ObjC virtual functions return nil if they are called with nil, even if they are going to be skipped.
10 years ago
Jules Villard b95b71fa85 add option to assume that malloc never returns null
10 years ago
Sam Blackshear 006bd06adb add concept of a dummy identifier
10 years ago
Jules Villard 959730de2f modify API to be able to hook extra infer options easily
10 years ago