Commit Graph

863 Commits (046132b4c53b05d8e18019599f34a2787e3084b3)

Author SHA1 Message Date
Sam Blackshear afb04cf459 [thread-safety][experimental] switch access path may-alias condition to syntactic equality 7 years ago
Sam Blackshear f37344358b [experimental] interprocedural should_update analysis 7 years ago
Jeremy Dubreil 1f6d73269e [infer] simplify the API to report errors 7 years ago
Sam Blackshear 41129087e4 [quandary] only Intents created from Uris should be sources 7 years ago
Daiva Naudziuniene d8a004f0cc [LockConsistency] Adding conditional ownership to the rest of the formal parameters of constructors. 7 years ago
Sam Blackshear 7e8739de0a [quandary] more fine-grained issue types for Java 7 years ago
Sam Blackshear 432fa4913c [quandary] report all Intents constructed from URIs 7 years ago
Peter O'Hearn 700adc2d44 [racerd] deep ownership 7 years ago
Sam Blackshear 735b0b2ef7 [quandary] include source/sink caller in error message 7 years ago
Jeremy Dubreil 3e94c868f4 [infer] use the classname without the package name to compute the bug hash 7 years ago
Jeremy Dubreil ea29749671 [infer] simpler bug hash 7 years ago
Jeremy Dubreil 7dd78f4135 [infer][eradicate] example where the non-nullability is not correctly propagated 7 years ago
Jeremy Dubreil 10eef3bb1f [infer][java] add model for ImmutableList$Builder.add which crashes when given a null value 7 years ago
Sam Blackshear 427dad5aa6 [racerd] keep adding accesses after prefix of a path is owned 7 years ago
Sam Blackshear 181959216b [cleanup] remove harness-related code 7 years ago
Jeremy Dubreil 956d6d0a1d [infer][nullable checker] better error messages for nullable violations involving Clang materialized variables 7 years ago
Sam Blackshear 7428f36fbd [quandary] turn off dynamic dispatch handling in Java 7 years ago
Jeremy Dubreil 4283bf2602 [infer][java] re-use the Eradicate models for Preconditions.checkNotNull and the like 7 years ago
Sam Blackshear d221a0ae42 [racerd] don't report INTERFACE_NOT_THREAD_SAFE on thread-confined interfaces 7 years ago
Jeremy Dubreil d85d185402 [infer][java] Enable the @Nullable checker on Java 7 years ago
Jeremy Dubreil 0a1971a08d [infer][biabduction] keep the files in the trace even when the exact location of the method is not known 7 years ago
Sam Blackshear 4ee4ebb42a [hil] don't move any accesses across lock acquisition/release 7 years ago
Mehdi Bouaziz 6047264e4a [bug hash] Attempt for a better hash 7 years ago
Sam Blackshear 5e910929be [quandary] handle taint propagation in copying of structs/via derefs of pointers to structs 7 years ago
Sam Blackshear 67c45bed78 [quandary] fix invariant 1: "sink(s) with only non-footprint source" violations 7 years ago
Sam Blackshear 9bafbe0e1e [hil] don't move reads/writes outside of a critical section 7 years ago
Jeremy Dubreil 55c585e1e0 [infer][biabduction] remove the bi-abduction based check for uninitialized values 7 years ago
Anders Papitto a92ba5a2a9 Eradicate: model get and remove as nullable for stdlib Map variants 7 years ago
Sam Blackshear bc02bee737 [cleanup] rename thread-safety analysis 7 years ago
Jules Villard b1841c6699 [checkers] make all models and tests use checkers 7 years ago
Jules Villard 588142c908 [checkers] enable biabduction by default + docs and logs improvements 7 years ago
Sam Blackshear 169df0fe80 [thread-safety] infer accesses that need to be safe from lock usage 7 years ago
Sam Blackshear 3a5a0413bb [thread-safety] remove special treatment for immutable collections 7 years ago
Jules Villard 3790ca5487 [checkers] declare --resource-leak with the other checkers 7 years ago
Jules Villard b95f29c8d1 various minor improvements 7 years ago
Jeremy Dubreil 9282e30d72 [infer][checkers] move the tests for the lab in it own directory 8 years ago
Jeremy Dubreil 03cb052ad9 [infer][checkers] run the Java biabduction tests using the checkers framework 8 years ago
Sam Blackshear b57084902d [thread-safety] better error messages for write-write races that are distinct, but conflicting writes rather than self-races 8 years ago
Sam Blackshear 4255d918ad [thread-safety][cleanup] clean up error messages/comments 8 years ago
Kyriakos Nikolaos Gkorogiannis 5c1fab6ceb [thread-safety] Rebase accesses in callees onto variables of the caller, where possible. 8 years ago
Sam Blackshear 32583aa876 [thread-safety] Change meaning of @ThreadSafe to "can run in parallel with any thread including itself" 8 years ago
Josh Berdine 96af301910 [thread-safety] More informative printing of access paths 8 years ago
Sam Blackshear 14d0e2a786 [thread-safety] remove custom compare for AccessListMap 8 years ago
Jeremy Dubreil a7e6ba7b2b [infer][java] add support for @Nonnull on skipped functions 8 years ago
Jeremy Dubreil e17e157ae1 [infer][java] no longer combine the type environment with the type environment of the models 8 years ago
Jeremy Dubreil 4c88e986b7 [infer][java] transfer the resource ownership to the container when sorting a Closeable into a HashMap 8 years ago
Jeremy Dubreil 8740e8a11a [infer][java] no longer report the resource leaks when using the tracing mode 8 years ago
Jeremy Dubreil 2f0068d180 [infer][java] modeling more methods for HashMap 8 years ago
Sam Blackshear ca51c72f3a [thread-safety] support assertOnBackgroundThread and similar 8 years ago
Sam Blackshear 1e605bdd94 [thread-safety] new threads domain 8 years ago
Sam Blackshear b3e8e972d6 [thread-safety] separate warning type for interfaces called in non-threadsafe context 8 years ago
Sam Blackshear f93e500232 [thread-safety] gate de-duplication with Config.filtering 8 years ago
Jules Villard d2b4f3c8da [config] add option to force deletion of results dir 8 years ago
Sam Blackshear b61a34007a [thread-safety] re-enable check for calling non-threadsafe interface 8 years ago
Sam Blackshear d08bebe563 [reporting] don't report duplicate warnings on different instantiations of the same template 8 years ago
Jeremy Dubreil 42fc24ebfd [infer][biabduction] fix the dynamic resolution of non virtual calls 8 years ago
Sam Blackshear 6533aa65c6 [quandary] deserialization as sink 8 years ago
Sam Blackshear 5ff6e2c786 [quandary] EditText.getText() as source 8 years ago
Jeremy Dubreil f7258c2ab4 [infer][java] fix the translation of the finally branch 8 years ago
Jeremy Dubreil 94ff44ed57 [infer][biabduction] add skipped functions to the trace when known 8 years ago
Jeremy Dubreil 20c57ad549 [infer][biabduction] add more context information about the reason to skip a method during the symbolic execution 8 years ago
Jeremy Dubreil 9a3ab41371 [infer][java] the translation was no adding the fields from the implemented interfaces 8 years ago
Jeremy Dubreil 1a221e798c [infer][java] make the translation and analysis of abstract methods and native methods consistent 8 years ago
Jeremy Dubreil d4565107f6 [infer][biabduction] add the name of the skipped methods to the trace to make them more readable 8 years ago
Sam Blackshear 3b56b93ae5 [quandary] apply summary for sinks 8 years ago
Jeremy Dubreil 54eaaa9573 [infer][biabduction] remove the check for null test after dereference on Java 8 years ago
Jules Villard 69299ba675 [filtering] improve issue type filtering CLI 8 years ago
Sam Blackshear 3a7d50e15b [thread-safety] more precise ownership domain 8 years ago
Sam Blackshear 41fb45f388 [thread-safety] add OwnedIf attribute to all formals at the beginning 8 years ago
Jules Villard 8de2b88783 [make] s/ocamlbuild/jbuilder/g 8 years ago
Sam Blackshear 9c99c38b22 [quandary] handle procedures that have name conflict with sinks, but different number of args 8 years ago
Sam Blackshear b61a68e859 [quandary] HTML creation as a sink 8 years ago
Jeremy Dubreil 2a8e192280 [infer][biabduction] disable the reporting of return value ignored 8 years ago
Jeremy Dubreil 99b412e165 [infer][checkers] remove the Eradicate analyzer option 8 years ago
Jeremy Dubreil 15a8848502 [infer][biabduction] always reuse the same abduced return variable for unknown methods in Java 8 years ago
Jeremy Dubreil 53278f780c [infer][biabduction] simplify the symbolic execution of the execute load instruction 8 years ago
Sam Blackshear c6ee53de50 [thread-safety] relax treatment of array aliasing 8 years ago
Sam Blackshear 6b792e0015 [thread-safety] track container reads and report read/write races 8 years ago
Sam Blackshear 1b35411a5f [thread-safety] fix understanding of non-atomic writes to doubles/longs 8 years ago
Sam Blackshear 2dcde3a812 [thread-safety] make a distinguished access kind for container writes 8 years ago
Jeremy Dubreil f49d292c3b [infer][backend] remove the bi-abduction based code for taint analysis 8 years ago
Sam Blackshear 9246d1357c [thread-safety] temporarily disable non-threadsafe interface checks 8 years ago
Sam Blackshear 1fb9fb48f5 [thread-safety] warning when interface method is called from thread-safe context without annotation 8 years ago
Sam Blackshear 72e778d094 [thread-safety] tests for escape analysis 8 years ago
Jeremy Dubreil bafd1cf412 [infer][java] Infer should not suggest @Nullable on captured parameters 8 years ago
azhdar 34d6a43cdb [infer][PR] add cursorClosedCheckNullCheckClosed test 8 years ago
Jeremy Dubreil 927a6cfbb6 [infer][quandary] add the tests from the bi-abduction based taint analysis to the Quandary tests 8 years ago
Jeremy Dubreil 987347ceca [infer][java] Infer should not suggest to add @Nullable for the field nullified on Fragement onDestroyView 8 years ago
Kyriakos Nikolaos Gkorogiannis b4f6308495 [thread-safety] Restrict propagation of attributes in an assignment; treat ownership propagation more strictly. 8 years ago
Sam Blackshear 03703e316c [thread-safety] understand that Pools.Pool.acquire returns ownership 8 years ago
Kyriakos Nikolaos Gkorogiannis cfe79cf1ca [thread-safety] Add SimplePool as container, mild refactoring of container handling. 8 years ago
Jeremy Dubreil 7dd7b460e0 [infer][java] skip reports on generated methods 8 years ago
Jeremy Dubreil c51458f7a8 [infer][ondemand] no longer use deprecated reporting function for the suggest nullable checker 8 years ago
Sam Blackshear 7b8eef52f8 [thread-safety] fix bad read/write race traces 8 years ago
Sam Blackshear 08586f3e81 [checkers] logging to summary in printf args checker 8 years ago
Kyriakos Nikolaos Gkorogiannis bee8e21633 [thread-safety] Add model and tests for SimpleArrayMap container. 8 years ago
Sam Blackshear 0714b93b14 [quandary] use sink index info when expanding traces 8 years ago
Jeremy Dubreil 8917536944 [eradicate] model System.getenv as @Nullable 8 years ago
Jia Chen bbed46de47 [infer][java] Suggest @Nullable on fields that are compared to null 8 years ago
Sam Blackshear 3135560283 [quandary] move trace expansion logic into Quandary 8 years ago
Sam Blackshear 2089cd8a34 [thread-safety] container models for SparseArray/SparseArrayCompat 8 years ago
Sam Blackshear aa50d90a7d [quandary] get rid of report_reachable bool in taint specifications 8 years ago
Kyriakos Nikolaos Gkorogiannis 7be1bfa89f [threadsafety] Fix some FPs added by may-alias analysis. 8 years ago
Jia Chen 6fc287656f Transitively track null assignment in NullabliltySuggest 8 years ago
Sam Blackshear 4ef487928c [quandary] make passthroughs optional 8 years ago
Sam Blackshear 38d3946c71 [quandary] support for basic return value sanitizers 8 years ago
Jia Chen 07c6fbef81 Added an initial implementation of a checker that suggest the use of @Nullable 8 years ago
Peter O'Hearn 34ae89cf35 [threadsafety] Model more xThreadUtil methods 8 years ago
Kyriakos Nikolaos Gkorogiannis 750cc65092 [threadsafety] fix false negative on locations that may alias. 8 years ago
Peter O'Hearn 0c8222cb2f [threadsafety] Model isMainThread() 8 years ago
Sam Blackshear 927b08346e [SRI summer school] skeleton code for lab 8 years ago
Peter O'Hearn 0abceb730b [threadsafety] record threaded information alongside accesses and use disjunction for thread join 8 years ago
Jules Villard b964f6ab74 [CLI] options to unset default checkers and to print active checkers 8 years ago
Jeremy Dubreil 441bf7131a [infer][CLI] remove the Tracing analyzer option and only rely on the --tracing option for the biabduction analysis 8 years ago
Jeremy Dubreil d470ed6edc [infer][models] model java.io.BufferedReader as a wrapper 8 years ago
Jeremy Dubreil 64ab959486 [infer][java] model the Eradicate assertion utils for the biabduction analysis 8 years ago
Jeremy Dubreil 7d0375d9ee [infer][checkers] add missing command line flags to enable/disable the checkers enabled by default 8 years ago
Sam Blackshear d446f0f800 [quandary] clipboard as a source 8 years ago
Jeremy Dubreil 7e12885f98 [infer][checkers] remove the quandary analyzer option and rely on the --quandary flag only 8 years ago
Jeremy Dubreil ef354e6e2b [infer][checkers] remove the threadsafey as analyzer option and rely on the --threadsafety flag only 8 years ago
Sam Blackshear 7b44236874 [thread-safety] remove hacky special case for Builder's 8 years ago
Peter O'Hearn 3db1f9e94c [threadsafety] Treat clone() as aquiring ownership 8 years ago
Jeremy Dubreil c0c813c657 [infer][java] only report one annotation reachability issue per end of call stack 8 years ago
Sam Blackshear 3c0cf115b3 [quandary] add option for parsing endpoints from inferconfig 8 years ago
Sam Blackshear a4f2d99be9 [quandary] a few more ContentProvider sinks 8 years ago
Sam Blackshear 20aff78b36 [quandary] ContentProvider Uri's as sources/files as sinks 8 years ago
Sam Blackshear 3024d9aed2 [quandary] more IPC sources 8 years ago
Sam Blackshear bcbb032052 [quandary] WebView.postUrl is a sink 8 years ago
Sam Blackshear 3c7361a83d [thread-safety] assume findViewById returns ownership 8 years ago
Sam Blackshear b0216035f4 [frontend] don't treat Sawja-generated ternary operator vars as SSA tmps 8 years ago
Sam Blackshear 1f9c2cde85 [thread-safety] clean up error message printing 8 years ago
Peter O'Hearn 4c2ef788a1 [infer][threadsafety] Use disjunction in the join for threaded 8 years ago
Sam Blackshear 00f948e924 [quandary] don't add callee-local state to the caller 8 years ago
Sam Blackshear 92011790c2 [quandary] optimize handling of unknown code by adding notion of 'taintable types' 8 years ago
Sam Blackshear d7f39970d1 [thread-safety] report both a read and write stack trace in R/W race reports 8 years ago
Sam Blackshear 899cfadfbd [access paths] don't compare types of bases 8 years ago
Sam Blackshear 52dbd129cd [quandary] don't complain about transferring extras between intents 8 years ago
Sam Blackshear 417ddb1bc0 [quandary] make params of WebViewClient methods sources where appropriate 8 years ago
Sam Blackshear 8c5b15f65b [thread-safety] report more warnings by inferring when state is accessed by methods marked `@ThreadSafe` and other methods. 8 years ago
Sam Blackshear 88430c3e51 [quandary] make index field optional for custom sinks specified in JSON 8 years ago
Sam Blackshear 615489a619 [thread-safety] don't report on protected reads 8 years ago
Sam Blackshear c255823673 [quandary] clean up `Intent` sinks 8 years ago
Sam Blackshear ff3159953d [thread-safety] don't report read-write races when the write is in a private or autogenerated proc 8 years ago
Jeremy Dubreil f5adab59ec [infer][checkers] Prevent the race conditions between the summaries passed as parameter to the checkers and the summaries from the specs table 8 years ago
Paco Estevez Garcia 5482f110c1 Add type path_exec to represent an skipped path of execution. Add logic to symExec to report skipped paths 8 years ago
Jules Villard 3ab6c43fb6 [tests] awesomize make output 8 years ago
Jules Villard cd421b4a5f [make] print @ commands when passed VERBOSE=1 8 years ago
Sam Blackshear a5ee1f155c [thread-safety] tests for thread-safe methods 8 years ago
Sam Blackshear a800908797 [thread-safety] fix de-duplication logic 8 years ago
Sam Blackshear eccc3a8e4e [thread-safety] move reporting of unprotected reads into aggregation function 8 years ago
Sam Blackshear 5130952ee8 [thread-safety] move reporting of unprotected writes into aggregation function 8 years ago
Sam Blackshear 0f6439cf3c [thread-safety] report on write outside sync, read inside sync races 8 years ago
Sam Blackshear d5ed44994f [thread-safety] new SynchronizedCollection annotation 8 years ago
Jeremy Dubreil 0f70ca02e3 [infer][java] Simplify the abstract domain for the annotation reachability checker 8 years ago
Sam Blackshear 6a39585999 [thread-safety] treat non-interface methods with no summary as angelic 8 years ago
Sam Blackshear 31069dd1a7 [quandary] remove assignments to formals from summaries 8 years ago
Jules Villard 4ec3690413 [tests] add a `replace` target to all tests 8 years ago
Peter O'Hearn c52054d3d1 [threadsafety] More races with main thread 8 years ago
Sam Blackshear 08a7f57731 [thread-safety] warn on private methods marked ThreadSafe 8 years ago
Sam Blackshear 68af2afb77 [quandary] more tests 8 years ago
Jeremy Dubreil 707d514386 [infer][java] do not report `return not nullable` on lambdas 8 years ago
Sam Blackshear e7e32b038b [thread-safety] classify protected-if reads/writes in callees as protected when a lock is held in the caller 8 years ago
Martino Luca a7b947f971 Add support to format reports natively 8 years ago
Peter O'Hearn 089600bdcd [threadsafety] unsynched reading from main thread 8 years ago
Cristiano Calcagno 434cfbfb15 [eradicate] Add support for new annotation @PropagatesNullable 8 years ago
Sam Blackshear 779ec1f0ad [thread-safety] give full traces for read/write races 8 years ago
Sam Blackshear 9066e5bd08 [thread-safety] account for ownership via reflective allocation 8 years ago
Peter O'Hearn e023dddba2 [threadsafety] Races and non-races involving assertMainThread(). 8 years ago
Sam Blackshear 9e293eaa64 [thread-safety] add choice variables to support partial path-sensitivity 8 years ago
Jeremy Dubreil 047bb6796a [infer][threadsafety] Run ThreadSafety as part of the checkers 8 years ago
Jeremy Dubreil e23b04180e [infer][ondemand] run all the registered checkers in sequence 8 years ago
Sam Blackshear 60dac45461 [quandary] don't call read_summary on the current procedure while creating a trace 8 years ago
Cristiano Calcagno 5c9b61877a [Eradicate] Code cleanup and add test cases 8 years ago
Peter O'Hearn 5062ac3173 [thread-safety] Model assertManThread and assertHoldsLock 8 years ago
Jules Villard dac8906d86 [make] make sure makefile uses config-time values 8 years ago
Martino Luca 5448a95ce7 [Infer][Localise] Group all issue types in one place, and provide their human-readable representation 8 years ago
Sam Blackshear 56b057acb8 [thread-safety] assume formals of DI constructors are owned 8 years ago
Peter O'Hearn 11937cb076 [infer][threadsafety] model tryLock() for java.util.concurrent.locks.Lock 8 years ago
Peter O'Hearn 2cf3bfeea1 [infer][threadsafety] Stop Unprotected Write and Read/Write races from being reported on the same line 8 years ago
Sam Blackshear bd5eb3c5cf [quandary] don't allow projection of non-footprint idents 8 years ago
Sam Blackshear 0f74016ef5 [thread-safety] add callee write as protected-if if it's conditionally owned in caller 8 years ago
Cristiano Calcagno 5aa714b237 [Eradicate] Improve detection of circularities in field initialization 8 years ago
Sam Blackshear 5134ea36ed [thread-safety] enable defining aliases of @ThreadSafe in .inferconfig 8 years ago
Sam Blackshear 1ef7c253b2 [thread-safety] report on protected write/unprotected read races 8 years ago
Sam Blackshear ea8826599f [thread-safety] track protected writes 8 years ago
Jeremy Dubreil 08980b57e5 [infer][ondemand] make the Procname API more robust by using Typename.t for the class name part of a method name 8 years ago
Peter O'Hearn f7f30045cb [infer][threadsafety] Dedup, chapter 2. 8 years ago
Martino Luca 3eecb243e6 Customize tests output via InferPrint's command-line 8 years ago
Jeremy Dubreil b63a656dc4 [infer][tests] cleanup of the Cursor NPE test file 8 years ago
Sam Blackshear 69df171632 [thread-safety] unify @AssumeThreadSafe and @ThreadSafeMethod into @ThreadSafe(enableChecks = ...) 8 years ago
Peter O'Hearn 1580e5b3bb [infer][thread-safety] Better error message for container writes 8 years ago
Peter O'Hearn c080cbb60f [threadsafety] De-duplicate the reports 8 years ago
Sam Blackshear 040140ba52 [thread-safety] model SynchronizedPool.acquire as acquiring ownership 8 years ago
Peter O'Hearn df154b4135 [threadsafety] read/write races 8 years ago
Sam Blackshear 5c2ee8d85f [thread-safety] model ThreadLocal.get() as acquiring ownership 8 years ago
Sam Blackshear b229b39a1b [thread-safety] Add @ReturnsOwnership annotation for methods and handle it in the thread-safety analysis 8 years ago
Sam Blackshear 919b35f50a [quandary] better taint propagation for Intent's 8 years ago
Sam Blackshear e15121c928 [thread-safety] model DI via Provider.get as acquiring ownership 8 years ago
Sam Blackshear 5cdee51ed5 [checkers] allow custom sources and sinks in annotation reachability 8 years ago
Sam Blackshear 61e4e6e1ed [thread-safety] propagate attributes across binary/unary expressions 8 years ago
Jules Villard 105b8f83d3 [tests] disregard traces in Java harness test 8 years ago
Sam Blackshear f085023aff [thread-safety] model certain methods of Resources as @Functional 8 years ago
Sam Blackshear b8f9c774f3 [thread-safety] support conditional writes to containers 8 years ago
Jeremy Dubreil 61b49553b5 [infer][java] Add @SuppressLint as part of the Infer annotations 8 years ago
Jeremy Dubreil 2ded1d7a0c [infer][java] Simplify some of the models of Java resources [3/n] 8 years ago
Jeremy Dubreil 266686457a [infer][java] Simplify some of the models of Java resources [2/n] 8 years ago
Jeremy Dubreil 574d640af0 [infer][java] Simplify some of the models of Java resources [1/n] 8 years ago
Sam Blackshear c67de3e827 [thread-safety] add string parameter to @ThreadConfined 8 years ago
Sam Blackshear a3e3fdb781 [quandary] fix bug in summary application 8 years ago
Jeremy Dubreil 0139ca211b [infer][java] Add an example of dynamic dispatch handling on fields 8 years ago
Sam Blackshear c4fbf4e3fb [thread-safety] propagate attributes across casts 8 years ago
Sam Blackshear 42188eb105 [thread-safety] add understanding of conditional ownership 8 years ago
Jeremy Dubreil 13cdff1532 [infer][java] Dynamic dispatch: fix wrong level of indirection on pointers when specialzing methods 8 years ago
Cristiano Calcagno 319e3ed271 [Eradicate] Change Eradicate's join to forget values not present on both paths 8 years ago
Sam Blackshear 9ed282b28b [thread-safety] handle constructors by understanding that a constructor owns `this` 8 years ago
Jeremy Dubreil a416b7c90d [infer][java] Add a model for Process.destroyForcibly() 8 years ago
Sam Blackshear 0e77e36235 [thread-safety] propagate @Functional attribute across boxing of primitive types 8 years ago
Sam Blackshear 6338997cf5 [quandary] don't clobber existing taint on receiver when propagating taint from unknown call 8 years ago
Sam Blackshear d41b500659 [thread-safety] treat constants as owned 8 years ago
Jeremy Dubreil c2b967d27b [infer] Dynamic dispatch: use the OCaml type system to implement the invariant that the method specialization should only happen on object types 8 years ago
Sam Blackshear 6c0c3b44b4 [annotations] make override_exists recursive 8 years ago
Sam Blackshear f6e8bf0f3f [thread-safety] don't warn on external accesses to fields of ThreadConfined classes 8 years ago
Jeremy Dubreil c5e962e231 [infer][test] The buck integration BUCK file for the integration test was refering to a file built by make 8 years ago
Jeremy Dubreil 4e02b3c525 [infer][tests] rescue ghost file for Cursor NPE test 8 years ago
Jeremy Dubreil b6fae5cd46 [infer][eradicate] Consider junit.framework.TestCase.setUp as an initializer 8 years ago
Jeremy Dubreil 90f4c83ef2 [infer][java] Add some more test cases for dynamic dispatch 8 years ago
Sam Blackshear f9280b682f [thread-safety] don't warn on accesses to fields assigned to @Functional calls 8 years ago
Sam Blackshear 70df06a596 [thread-safety] don't consider VisibleForTesting methods as public 8 years ago
Sam Blackshear cc8ffd9d1e [quandary] allow regexes in defining quandary sources/sinks in inferconfig 8 years ago
Sam Blackshear 3ee349ee23 [thread-safety] warn on unsafe accesses to lists 8 years ago
Jeremy Dubreil 5322c71063 [infer][backend] find a better trade-off for the value of the SymOps timeout 8 years ago
Sam Blackshear b227ee58a6 [thread-safety] handle some annotations as aliases of ThreadConfined 8 years ago
Sam Blackshear 369feb4149 [thread-safety] allow ownership to be transferred via return 8 years ago
Sam Blackshear f372b6cb2f [quandary] allow sinks to be specified in inferconfig 8 years ago
Sam Blackshear 5bddb1e548 [quandary] allow sources to be specified in inferconfig 8 years ago
Sam Blackshear e132188361 [thread-safety] warn on unsafe accesses in overrides of methods annotated with @ThreadSafeMethod 8 years ago
Cristiano Calcagno 3f8ee7df49 [Eradicate] Fix issue in Eradicate's check for field initialization 8 years ago
Sam Blackshear f79a53e1c8 [thread-safety] add string param to AssumeThreadSafe 8 years ago
Sam Blackshear c19bee7772 [quandary] for instance methods with no return value, propagate the taint to the receiver 8 years ago
Sam Blackshear b9694ef086 [thread-safety] warn on unsafe writes in constructors 8 years ago
Sam Blackshear c4c495fbe5 [thread-safety] propagate conditional writes to callers 8 years ago
Sam Blackshear 4373945e74 [thread-safety] don't warn on writes rooted in a parameter owned by the callee 8 years ago
Sam Blackshear e565010cf3 [thread-safety] don't warn on writes to volatile fields 8 years ago
Jules Villard ca784cdb41 [cli] warn about deprecated options, clean up infer repo 8 years ago
Sam Blackshear 618e9c9338 [thread-safety] add @AssumeThreadSafe annotation to assume thread-safety of a method without checking it 8 years ago
Sam Blackshear f4b1af6f91 [thread-safety] allow @ThreadConfined annotation on methods 8 years ago
Sam Blackshear d39d4cfa20 [thread-safety] use jsr-305 versions of ThreadSafe/NotThreadSafe rather than defining custom annotations 8 years ago
Sam Blackshear 72e17403fa [thread-safety] add and support @ThreadSafeMethod annotation 8 years ago
Sam Blackshear 1891a16f8f [thread-safety] suppress warnings on methods annotated with @OnEvent 8 years ago
Sam Blackshear 8b57278c70 [thread-safety] support fields annotated with @ThreadConfined 8 years ago
Sam Blackshear e5ef592f11 [quandary] add a few missing Intent sinks 8 years ago
Sam Blackshear ee2d0c9226 [quandary] add Intent's passed to onActivityResult/onNewIntent as sources 8 years ago
Sam Blackshear 4cb03f4670 [checkers] add ui-thread/non-ui thread reasoning to annotation reachability checker 8 years ago
Sam Blackshear 73f219560d [thread-safety] warn on unsafe accesses to maps 8 years ago
Sam Blackshear 2a4b29fedb [quandary] Warn on reusing result returned from getIntent 8 years ago
Sam Blackshear d86f777132 [quandary] considering methods of subclasses of Activity, SharedPreferences etc. as sources/sinks too 8 years ago
Sam Blackshear 504735e548 [java] update android.jar version to 23 8 years ago
Sam Blackshear 9c48178e4a [quandary] model some formals of Webview methods as tainted 8 years ago
Peter O'Hearn 7bcc7e421d [threadsafety] don't warn on methods from classes annotated ThreadConfined 8 years ago
Sam Blackshear 68c0705f26 [thread-safety] don't warn on methods annotated with UiThread 8 years ago
Sam Blackshear 1403e9c898 [quandary][java] Intent.parseIntent/Intent.parseUri should propagate taint, not create it 8 years ago
Josh Berdine 142494e7ae Add missing dir to java test clean 8 years ago
Jeremy Dubreil 4a3573b60e [infer][java] Use lazy dynamic dispatch by default 8 years ago
Jules Villard 72d065017b [tests] run "diff" from infer/tests 8 years ago
Sam Blackshear 06e0f6fbc9 [quandary] support tainted formals 8 years ago
Josh Berdine 1a5ac9e62b Use natural order on hpred, optionally ignoring instrumentation 8 years ago
Peter O'Hearn 4057ffadcf [threadsafety] Change THREAD_SAFETY_ERROR to THREAD_SAFETY_VIOLATION 8 years ago
Sam Blackshear 2a567d3abe [quandary] summaries are access trees too 8 years ago
Sam Blackshear cd1c9750f4 [infer] models for common types of Java Lists 8 years ago
Peter O'Hearn 23a0a611dc [threadsafety] Fix situation where @NotThreadSafe is reported on, when super is @ThreadSafe 8 years ago
Josh Berdine 3dfaa9ed7b Remove support for SuppressWarnings annotations 8 years ago
Cristiano Calcagno d670bdd61a [eradicate] Add support for methods that don't return (System.exit) 8 years ago
Sam Blackshear ee90e10491 [thread-safety] don't report on fields of immutable collections 8 years ago
Sam Blackshear 79154adf9e [thread-safety] use ownership info to avoid false alarms 8 years ago
Josh Berdine 178451e117 Disable timeouts during model analysis 8 years ago
Sam Blackshear 7682017f93 [quandary] only show relevant passthroughs in trace 8 years ago
Jules Villard 902a0cd001 [make] make crashcontext tests replace-proof 8 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 8 years ago
Sam Blackshear 901786e0c5 [quandary] detect intents configured with external values 8 years ago
Jeremy Dubreil 027bdc32e8 [infer][genrule] Add example of Buck DEFS macro to generate Infer analysis targets 8 years ago
Sam Blackshear 831786240a [quandary] ignore null assignments to return value in void functions 8 years ago
Sam Blackshear e212183e7e [thread-safety] don't count accesses in methods of builder classes 8 years ago
Sam Blackshear 4b98543d35 [traces] don't hang when unrolling a mutually recursive trace 8 years ago
Jeremy Dubreil 532621def1 [infer][tests] No longer rely on Infer being in the PATH for the genrule integration test 8 years ago
Sam Blackshear c1205c1453 [thread-safety] model ReadLock/WriteLock 8 years ago
Sam Blackshear 5743351906 [thread-safety] don't report thread safety violations due to calls to constructors 8 years ago
Jeremy Dubreil 7b884144b5 [infer][tests] More complete test cases for the models of the Java Integer class 8 years ago
Sam Blackshear 0972c8d262 [quandary] don't report FP's due to flow-insensitive traces 8 years ago
Sam Blackshear 3b161a3737 [thread-safety] interprocedural traces for thread safety checker 8 years ago
Sam Blackshear 579b982359 [thread-safety] Lay the groundwork for interprocedural trace-based reporting 8 years ago
Cristiano Calcagno 827d7c3d9c [backend][perf] Address top performance bottleneck from profiling the backend. 8 years ago
Sam Blackshear 01136cc326 [thread-safety] interprocedural analysis 8 years ago
Sam Blackshear 937ae12f29 [thread-safety] adding models for lock methods 8 years ago
Jeremy Dubreil e269f2a3fd [infer][java] basic support to run Infer using Buck genrules 8 years ago
Andrzej Kotulski 6192cb98b4 [DB] Use realpath when calling source_file_from_abs_path 8 years ago
Sam Blackshear 9e9ca333f9 [thread-safety] use boolean domain to track locks 8 years ago
Sam Blackshear ad5ff00dcd [quandary] making it easier to specify behavior for unknown functions 8 years ago
Andrzej Kotulski b6b7593cf6 [tests] Make project root infer/test/ for java tests 8 years ago
Andrzej Kotulski b0a0fbcc35 [tests] fix tests for open source 8 years ago
Sam Blackshear 935018ae9e [quandary] cheaper handling of unknown code 8 years ago
Dulma Churchill 8415b6c38b [backend] do not log analysis_stops in debug_exceptions mode 8 years ago
Sam Blackshear a6121a9fb0 [guarded-by] support `Classname.fieldname` syntax 8 years ago
Peter O'Hearn f2d86cb90c [GuardedBy] Model of trylock in ReentrantLock.java 8 years ago
Peter O'Hearn 733646ba09 [GuardedBy] Fix Subclassing False positive 8 years ago
Sam Blackshear adacee51e2 [quandary] switch to --issues-tests printing 8 years ago
Jules Villard 15d80e04df [tests] record summary of bug traces 8 years ago
Jules Villard 281d5b49fe [tests] sort bugs in InferPrint 8 years ago
Jules Villard 70720798d8 [tests] share javac.make more broadly 8 years ago
Peter O'Hearn 171d1d6d43 [threadsafety] run thread safety checker on its own 8 years ago
Sam Blackshear 75d6fb30e4 [frontend] support Java 8 8 years ago
Jeremy Dubreil 21a568aba8 [infer][java] Fix spurious class cast excpetion reports when casting arrays of primitive types 8 years ago
Sam Blackshear e8b61f6dbb [quandary] fix false positives from procedures that are both sources and sinks 8 years ago
Sam Blackshear 4b4e4e6f4d [quandary] understand that parameters are passed by value in Java 8 years ago
Jeremy Dubreil eb197a1cd4 [infer][tests] Make was always exiting with exit code 0 even in the case of test failures 8 years ago
Jeremy Dubreil 274851fc53 [infer][java] mark all methods as defined 8 years ago
Sam Blackshear 8784b9b946 [backend] fix cursor leak FPs 8 years ago
Sam Blackshear ba7cef4657 [backend] differentiate unknown methods and methods with empty summaries 8 years ago
Peter O'Hearn be977e7318 Turn GuardedBy Reporting on by default 8 years ago
Jules Villard d5e7ee0d82 [tests] run tests using report.json and record all bugs + exceptions 8 years ago
Sam Blackshear 0b9727214d [quandary] support `StringBuilder`'s and other methods for propagating `String` taint 8 years ago
Sam Blackshear fde7a6ecf3 [quandary] support for full interprocedural traces 8 years ago
Josh Berdine 32a60e05f4 Unbreak master 8 years ago
Sam Blackshear 768a60caca [quandary] support for full interprocedural traces 8 years ago
Peter O'Hearn 2d424b7779 skipping ReadWrite Locks 8 years ago
Sam Blackshear 874e7f000d [quandary] functions that transitively return sources are sources, not passthroughs 8 years ago
Sam Blackshear d76a7ef43a [quandary] functions that transitively call sinks are sinks, not passthroughs 8 years ago
Peter O'Hearn e91742afea Support @SuppressLint("InvalidAccessToGuardedField") 8 years ago
Sam Blackshear d7ae77c7c2 [quandary] make intent/logging private data tests intraprocedural 8 years ago
Sam Blackshear 678d0ff4e9 [quandary] don't double-report when applying summaries 8 years ago
Sam Blackshear 21f9bd1ed6 [quandary] fix crash from returning exceptions that read from the environment 8 years ago
Sam Blackshear 7ae58d78c3 [infer] fix .class synchronization false-positive in guarded-by check 8 years ago
Sam Blackshear 8f68f61ec9 [quandary] remove stripped logging sinks 8 years ago
Jules Villard bc6226942e fix tests 8 years ago
Peter O'Hearn ec45b44dfd [threadsafety] Better error message when warning on subclasses of @ThreadSafe classes 8 years ago
Sam Blackshear 3ba67bac1a [quandary] more privacy sources 8 years ago
Josh Berdine 175e85525d [tests] Convert java tests to avoid phony targets 8 years ago
Sam Blackshear 319463b3bc [quandary] propagating taint from unknown procedures and constructors 8 years ago
Josh Berdine a9192cffd6 [config] Eliminate ad hoc environment variables 8 years ago
Sam Blackshear 6fc1a7e20f [quandary] reporting on array passed to sink when contents of array are tainted 8 years ago
Peter O'Hearn 2601af5ade [threadsafety] don't report on class initializers 8 years ago
Peter O'Hearn 69f7ed5f6d [threadsafe] fix the code for recognizing constructors 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
Peter O'Hearn 07da8f36d1 don't warn on GuardedBy self reference 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
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
Jeremy Dubreil e38e16c948 [infer][java] Remove the deprecated genrule from the BUCK files 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
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
Cristiano Calcagno 717b61192e [tests] Convert java harness and crashcontext tests to new direct format. 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
Sam Blackshear e4beca3779 [quandary] using summaries part 1: return 9 years ago
Sam Blackshear cf8c957483 [quandary] use preanalysis for abstract GC 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
Sam Blackshear f2487513c5 adding tests for basic var stuff, casts 9 years ago
Sam Blackshear 3ff6622c9c setup e2e test skeleton 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
Sam Blackshear c5088f44a7 adding tests for context leaks via weak reference 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
Sam Blackshear 4490d9b033 fix recognition of inner class this guarded-by strings 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 6469a6c37b Implement '-a crashcontext' and '-st trace' options to invoke BoundedCallTree.ml from the command line. 9 years ago
Sam Blackshear d6149c7741 switching to by-ref semantics 9 years ago
Lázaro Clapp Jiménez Labora 95a12d9706 model String.equals(...) as '==' 9 years ago
Peter O'Hearn 1edb492b70 One step closer to shipping initial GUARDEDBY 9 years ago
Sam Blackshear 9d95a3a199 don't warn if procedure is marked VisibleForTesting 9 years ago
Sam Blackshear 03df3a0c47 supporting guarding on outer-class this in inner class 9 years ago
Sam Blackshear 7ae14d0bdf don't report on compiler-generated access$ methods 9 years ago
Sam Blackshear df257da918 supporting @GuardedBy(MyClass.class) idiom 9 years ago
Sam Blackshear 6304e30f5a don't warn on read-write locks 9 years ago
Sam Blackshear b940c4dfac warning on guarded-by writes 9 years ago
Peter O'Hearn 508d6a3ae7 optional model 9 years ago
Peter O'Hearn 8613f16c19 drop GuardedBy ui_thread warnings 9 years ago
Jeremy Dubreil 17da853fa8 Do not angelically remove the file attribute on the reciever for virtual calls 9 years ago
Sam Blackshear 7ec8f59998 adding find_in_node_or_preds to clean up errdesc 9 years ago
Cristiano Calcagno 56cfac14da Fix issue in join where the origin of a variable would be lost in a loop. 9 years ago
Sam Blackshear e3e80dd2f0 don't report on private unguarded accesses 9 years ago