718 Commits (c4949f372ec92f2fbbd44b0921de33fc98605c80)

Author SHA1 Message Date
Jeremy Dubreil 4ec5440692 [infer][clang] port the nullable suggestion on fields on C++
8 years ago
Sam Blackshear b61a34007a [thread-safety] re-enable check for calling non-threadsafe interface
8 years ago
Jules Villard b3b4e42067 [threadsafety] watch out for non-Java pnames
8 years ago
Sam Blackshear 375b808394 [access tries] max width config
8 years ago
Josh Berdine 0da92c24ea [thread-safety][c++] Add models for some std::map operations
8 years ago
Sam Blackshear fd105802db [thread-safety] don't use Map.choose or Set.choose
8 years ago
Sam Blackshear 14aef012f6 [quandary] allow specifying globals as sources
8 years ago
Sam Blackshear 4065b1d120 [dead stores] recognize lambdas with `auto` parameter
8 years ago
Jules Villard 1c375a17ac [log] die more appropriately
8 years ago
Sam Blackshear 81fbcf7501 [access trie] make max depth configurable
8 years ago
Sam Blackshear 028a28752b [access trees] function for computing depth
8 years ago
Sam Blackshear 76b2fece85 [quandary] better printing of sources
8 years ago
Sam Blackshear a207243a3c [quandary] better printing for access trees
8 years ago
Sam Blackshear 5d578cf196 [quandary] make it possible to report taint errors on footprint sources again
8 years ago
Jules Villard c16884b97f [jbuilder] turn I{Std,List} and atd-generated files into libraries
8 years ago
Sam Blackshear fc828640ea [quandary] remove concept of a footprint source
8 years ago
Sam Blackshear 94ceebfef8 [quandary] represent footprint as unified set of access path rather than conjunction of special sources
8 years ago
Sam Blackshear 3e6e76a2b2 [quandary] fix widening bug
8 years ago
Sam Blackshear e0ad650dcd [thread-safety][cleanup] use record for summary type
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 d0ee36b3a8 [thread-safety] add ownership domain: map of access paths to a lattice of ownership predicates
8 years ago
Sam Blackshear 41fb45f388 [thread-safety] add OwnedIf attribute to all formals at the beginning
8 years ago
Sam Blackshear 1157364a09 [preanalysis] kill copy-propagation code
8 years ago
Sam Blackshear ccdf15a1ca [quandary] vector and array access as sink
8 years ago
Sam Blackshear 6d001ee566 [access paths] optional index expression for arrays
8 years ago
Daiva Naudziuniene 7a3decf7f7 [ThreadSafety] Treating lock_guard destructor as Unlock.
8 years ago
Sam Blackshear f83284ad7c [access paths] make raw access paths the default, move abstraction into AccessPath.Abs module
8 years ago
Sam Blackshear 25d9f940fe [dead stores] fix FPs due to capture by ref
8 years ago
Jeremy Dubreil 7680c83f45 [infer][build] enable the OCaml compiler unused value declaration warning
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 c2acc670ef [cleanup] remove unused param from supertype_find_map_opt
8 years ago
Sam Blackshear 1b35411a5f [thread-safety] fix understanding of non-atomic writes to doubles/longs
8 years ago
Sam Blackshear e43090bdc2 [java] translate `final` keyword as annotation
8 years ago
Sam Blackshear df3590c407 [thread-safety] refactoring to make it easier to add container reads
8 years ago
Sam Blackshear 2dcde3a812 [thread-safety] make a distinguished access kind for container writes
8 years ago
Sam Blackshear 9246d1357c [thread-safety] temporarily disable non-threadsafe interface checks
8 years ago
Sam Blackshear 853d476f13 [liveness] fix bug in usage of OneInstrPerNode CFG
8 years ago
Sam Blackshear ecf9c1b402 [quandary] expose actuals to Source.get
8 years ago
Sam Blackshear 73f3eee9cd [checkers] use liveness analysis to create dead store checker
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 03120a337e [thread-safety] refactor ThreadSafetyDomain.Access to make it easier to add new access kinds
8 years ago
Sam Blackshear 5784357322 [thread-safety] make Pool subclasses return ownership
8 years ago
Kyriakos Nikolaos Gkorogiannis 410728d18f [thread-safety] Interprocedural escape analysis for formals/locals (essentially step (3) in Sam's list).
8 years ago
Jeremy Dubreil bafd1cf412 [infer][java] Infer should not suggest @Nullable on captured parameters
8 years ago
Jeremy Dubreil ad54126dab [infer][ondemand] add a `--keep-going` command line option to specify when to catch the exceptions raised during the analysis
8 years ago
Josh Berdine bab3d81cb0 Convert Reason to OCaml, and auto-format OCaml
8 years ago
Mehdi Bouaziz 7411298def [cleanup] Killed Const.Cptr_to_fld and Binop.PtrFld
8 years ago
Josh Berdine f07de2d9c9 Replace long structured string literals with 'quoted strings'
8 years ago
Josh Berdine 926c6fee97 [threadsafety] Skip indirect calls in C++
8 years ago
Jia Chen 257e684392 [infer][checker] Put AnnotationSpec.sink_predicate and AnnotationSpec.sanitizer_predicate into actual use for annotation reachability checker
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
Daiva Naudziuniene 8e91932be2 [ThreadSafety] Do not report on private C++ methods
8 years ago
Daiva Naudziuniene 250449e08a [ThreadSafety] Treating unique_lock.
8 years ago
Josh Berdine e04dd37df3 update opam deps
8 years ago
Andrzej Kotulski 61aa7aaae5 Move Fieldname module inside Typ
8 years ago
Sam Blackshear 4f54fabf4f [absint] move the framework bits/utilities of Infer.AI to a separate directory from the clients (checkers ~= transfer functions + domains)
8 years ago
Kyriakos Nikolaos Gkorogiannis b4f6308495 [thread-safety] Restrict propagation of attributes in an assignment; treat ownership propagation more strictly.
8 years ago
Daiva Naudziuniene 0a786e9019 [ThreadSafety] Do not report if all accesses are unprotected.
8 years ago
Jia Chen 108c865b20 [infer][checker] Put AnnotationSpec.report into actual use for annotation reachability checker
8 years ago
Daiva Naudziuniene 336b7182c3 [ThreadSafety] Releasing lock at the end of the procedure if it has a lock_guard field.
8 years ago
Jules Villard e87e2b007d [AI] escape html output
8 years ago
Sam Blackshear 1f153d3e3f [absint] kill `AbstractInterpreter.Interprocedural` module
8 years ago
Sam Blackshear 2a3032d0e3 [absint] rename confusing compute_and_store_post function
8 years ago
Sam Blackshear 03703e316c [thread-safety] understand that Pools.Pool.acquire returns ownership
8 years ago
Daiva Naudziuniene 5938c6331d [ThreadSafety] Extending lock model with lock_quard.
8 years ago
Kyriakos Nikolaos Gkorogiannis cfe79cf1ca [thread-safety] Add SimplePool as container, mild refactoring of container handling.
8 years ago
Josh Berdine fdad9f552b [threadsafety] Check @ThreadSafe annotation per class instead of per file
8 years ago
Jeremy Dubreil c51458f7a8 [infer][ondemand] no longer use deprecated reporting function for the suggest nullable checker
8 years ago
Jeremy Dubreil cddd1b4ca2 [infer][ondemand] rename the logging functions to outline the deprecated ones
8 years ago
Sam Blackshear 7b8eef52f8 [thread-safety] fix bad read/write race traces
8 years ago
Jia Chen 73aa7fe212 [infer] Initial attempt to cleanup and generalize the annotation reachability checker
8 years ago
Sam Blackshear 08586f3e81 [checkers] logging to summary in printf args checker
8 years ago
Sam Blackshear d4ee640dd6 [thread-safety] better error messages
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
Daiva Naudziuniene 093a00af9b [ThreadSafety] Do not report for c++ classes that do not have mutex member.
8 years ago
Jia Chen bbed46de47 [infer][java] Suggest @Nullable on fields that are compared to null
8 years ago
Sam Blackshear 24d541d403 [quandary] move some utility functions for manipulating footprint vars/access paths into appropriate modules
8 years ago
Sam Blackshear 97bf3324c8 [quandary] add indexes to sinks
8 years ago
Sam Blackshear 2089cd8a34 [thread-safety] container models for SparseArray/SparseArrayCompat
8 years ago
Sam Blackshear 56201964ca [cleanup] make `PatternMatch.is_subtype` reflexive
8 years ago
Jules Villard 93cc3266e8 [log] log to a single file with different categories and debug levels
8 years ago
Jules Villard 03bd3f1df1 [log] append ERROR in front of `failwith` toplevel messages
8 years ago
Jules Villard b50f9f2695 [police] open IStd everywhere
8 years ago
Peter O'Hearn ddcbb419be [threadsafety] Thumbs up step 1
8 years ago
Sam Blackshear aa50d90a7d [quandary] get rid of report_reachable bool in taint specifications
8 years ago
Sam Blackshear 3e45a249d5 [thread-safety] fix infinite loop in quotient_access_map
8 years ago
Kyriakos Nikolaos Gkorogiannis 7be1bfa89f [threadsafety] Fix some FPs added by may-alias analysis.
8 years ago
Jia Chen 2720716b95 Prettier error message for NullabilitySuggest
8 years ago
Daiva Naudziuniene f4b9bb3e3b [ThreadSafety] Do not report unprotected writes for c++.
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
Josh Berdine bf504c5b70 Minimal thread safety analysis for C++
8 years ago
Josh Berdine b4b45236fd [threadsafety] Relax javaism of may_alias
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