2429 Commits (987347ceca51a707054bc4ece38d312df856434a)

Author SHA1 Message Date
Jules Villard b50f9f2695 [police] open IStd everywhere
9 years ago
Jules Villard a121e4bb01 [oops] do not report in analysis sub-processes
9 years ago
Jules Villard 6f0911c157 [CLI] do not generate --command options by default
9 years ago
Peter O'Hearn ddcbb419be [threadsafety] Thumbs up step 1
9 years ago
Jules Villard 644066f4be [driver] make clear when the results dir becomes available
9 years ago
Jules Villard 5fae8ca712 [CLI] deprecate `-a capture/compile` and `-- analyze`
9 years ago
Jules Villard 1727bd4125 [clang] clang pointer map becomes a clang pointer hashtbl
9 years ago
Sam Blackshear aa50d90a7d [quandary] get rid of report_reachable bool in taint specifications
9 years ago
Sam Blackshear 3e45a249d5 [thread-safety] fix infinite loop in quotient_access_map
9 years ago
Mehdi Bouaziz ec7b096ff6 [inferbo] Add warnings and errors for unreachable code
9 years ago
Kyriakos Nikolaos Gkorogiannis 7be1bfa89f [threadsafety] Fix some FPs added by may-alias analysis.
9 years ago
Jia Chen c0e20e0880 Propagate C++ noexcept annotation from frontend to backend
9 years ago
Jia Chen 2720716b95 Prettier error message for NullabilitySuggest
9 years ago
Sam Blackshear 7d828fff93 [quandary] make it possible to specify code that should be modeled even if we have a summary
9 years ago
Jules Villard 84b9901b22 [driver] run analysis and reporting for "analyze" commands
9 years ago
Dulma Churchill 03bdf0fe2c [linters] Cast from pointer to integer
9 years ago
Jules Villard 2608ec67c3 [CLOpt] add option `f` argument to a bunch more `mk_*` functions
9 years ago
Jules Villard 0404641ab3 [utils] move parts of utils into their own submodules to avoid future dependency cycle
9 years ago
Daiva Naudziuniene f4b9bb3e3b [ThreadSafety] Do not report unprotected writes for c++.
9 years ago
Mehdi Bouaziz 5bed343280 [commandline] Fix error option '' expects one of
9 years ago
Jia Chen 6fc287656f Transitively track null assignment in NullabliltySuggest
9 years ago
Martino Luca 2e8e5733f6 [AL] Load AL files from a directory
9 years ago
Jules Villard f9c146ced1 [log] pardon my french
9 years ago
Dino Distefano 0809279b3b Extending type parser to deal with typedefs
9 years ago
Sam Blackshear 4ef487928c [quandary] make passthroughs optional
9 years ago
Sam Blackshear 38d3946c71 [quandary] support for basic return value sanitizers
9 years ago
Andrzej Kotulski 5522365479 [IR] Add Typ.TVar variant to Typ.desc
9 years ago
Mehdi Bouaziz 2d73c71845 [debug] Links to non-visited nodes
9 years ago
Dulma Churchill 46a539df82 [linters] Specify path in linters
9 years ago
Kihong Heo 485814a75a [Inferbo] remove redundant alarm message
9 years ago
Mehdi Bouaziz cc6b0f1e0b [inferbo] Print skipped warnings only with bo_debug >= 4
9 years ago
Mehdi Bouaziz 8dd041c5af [inferbo] Moving stuff
9 years ago
Mehdi Bouaziz 5d9291b911 [inferbo] Some more debug
9 years ago
Mehdi Bouaziz f521e5fbc0 [inferbo] Models for exit, fgetc
9 years ago
Josh Berdine bf504c5b70 Minimal thread safety analysis for C++
9 years ago
Josh Berdine b4b45236fd [threadsafety] Relax javaism of may_alias
9 years ago
Jia Chen 07c6fbef81 Added an initial implementation of a checker that suggest the use of @Nullable
9 years ago
Sam Blackshear 1d9d7a3ee0 [guarded-by] fix error message
9 years ago
Dulma Churchill 470a409d76 [clang] Blacklist retain cycles for now
9 years ago
Peter O'Hearn 34ae89cf35 [threadsafety] Model more xThreadUtil methods
9 years ago
Kihong Heo de32a6728e [inferbo] remove bottoms in pointer arithmetic
9 years ago
Don Stewart 1a41d9dc89 Add location information to boolean conditions in paths. Improves comprehension a little
9 years ago
Kyriakos Nikolaos Gkorogiannis 750cc65092 [threadsafety] fix false negative on locations that may alias.
9 years ago
Mehdi Bouaziz 1486b92084 [inferbo] Renamed a few Itv values
9 years ago
Dulma Churchill 43d7428e8f [linters] Linters options in the help
9 years ago
Peter O'Hearn 0c8222cb2f [threadsafety] Model isMainThread()
9 years ago
Dulma Churchill f5d3870485 [linters] Adding a new error type like
9 years ago
Sam Blackshear 927b08346e [SRI summer school] skeleton code for lab
9 years ago
Jia Chen c8cad5b0f1 remove TODO file
9 years ago
Peter O'Hearn 0abceb730b [threadsafety] record threaded information alongside accesses and use disjunction for thread join
9 years ago
Martino Luca d5fbb298eb Skip compilation of certain source files, if desired
9 years ago
Jules Villard 71f20908a1 [logging] revert to using `assert false` since we catch `Assert_failure` in some places
9 years ago
Jules Villard bee1bbc26b [build] clean out stale binaries
9 years ago
Dulma Churchill a7cff528fa [linters] Disable components factory function rule
9 years ago
Jeremy Dubreil 16b87a3675 [infer] more cleanup for the tracing mode options
9 years ago
Sam Blackshear 6af61d099e [HIL] Print HIL instructions in the debug HTML
9 years ago
Mehdi Bouaziz b8c677497a [checkers] Kill Localise.checkers_dead_code
9 years ago
Sam Blackshear 54f1122bc0 [quandary] allowing specification of C++ endpoints
9 years ago
Martino Luca 34a0efd626 Add optional field in serialized output
9 years ago
Dino Distefano 4e7c7f30c1 Extended transitions to universal quantified operators
9 years ago
Dulma Churchill 31f189532c [buck capture] Remove the argument keep-going from the buck targets command
9 years ago
Jules Villard 741e527826 [console] print progress-like messages on stderr
9 years ago
Jules Villard b964f6ab74 [CLI] options to unset default checkers and to print active checkers
9 years ago
Jeremy Dubreil 441bf7131a [infer][CLI] remove the Tracing analyzer option and only rely on the --tracing option for the biabduction analysis
9 years ago
Jules Villard 500f0fd5d5 [analyze] same parallelisation for `infer-analyze` and `infer -- analyze`
9 years ago
Dino Distefano bdd2395be6 Adding ability to get type of paramters.
9 years ago
Sam Blackshear 45aaa4da93 [quandary] gflag globals as source
9 years ago
Sam Blackshear 32ead76a3b [absint] make Set and Map functors take an ordered type
9 years ago
Dino Distefano cfd0a9b038 Extending type parser to parse ObjC classes.
9 years ago
Jeremy Dubreil 11ebad7cea [infer][checkers] finaly remove the unecessary 'checkers' flag
9 years ago
Jeremy Dubreil 5b495c6a38 [infer][absint] Functor to create a domain with Top
9 years ago
Sam Blackshear abc5642c83 [quandary] tests for string functionality
9 years ago
Jules Villard 4266360606 [build] taking the .mli into account actually broke the build
9 years ago
Jules Villard 8dacc2df94 [build] move ctl_parse_types.mli to the right place
9 years ago
Jules Villard 9c3e92d9fd [toplevel] small changes in the stdout output
9 years ago
Jules Villard 252c78bb0e [clang] initialize dynamically-size stack-allocated arrays
9 years ago
Sam Blackshear d5f4784e61 [quandary] add more exec sinks
9 years ago
Jeremy Dubreil 73e9963b76 Revert "[infer][checkers] remove the unecessary 'checkers' flag"
9 years ago
Jeremy Dubreil 7d0375d9ee [infer][checkers] add missing command line flags to enable/disable the checkers enabled by default
9 years ago
Jeremy Dubreil 5773a903c6 [infer][checkers] remove the unecessary 'checkers' flag
9 years ago
Jeremy Dubreil f43e18b7b6 [infer][checkers] add an option to enable the Fragment View Checker
9 years ago
Kihong Heo 984a81413a [inferbo] Top for unanalyzed variables (e.g., global variables)
9 years ago
Sam Blackshear d446f0f800 [quandary] clipboard as a source
9 years ago
Jeremy Dubreil 3b9aa9ad15 [infer][checkers] filter out the experimental issues instead of using a whitelist
9 years ago
Jules Villard 93ec47a5f4 [IR] add stride to array type
9 years ago
Sam Blackshear 9910391144 [quandary] improved handling of unknown code in C++
9 years ago
Sam Blackshear b7afa4727d [hil] fix crash when translating C code that indexes string literals like arrays or does pointer arithmetic
9 years ago
Sam Blackshear 4e97d1e991 [quandary] add support for C++ parameter passing modes that differ from Java
9 years ago
Sam Blackshear 30e629c319 [hil] rename Write to Assign
9 years ago
Mehdi Bouaziz 491cc2587b [infer] More mutex models
9 years ago
Jules Villard 801c605c26 [CLI] switch to infer-<command> (symlinks) executables
9 years ago
Jules Villard 81177dc711 [CLI] skip anon args for `infer clang ...`
9 years ago
Jules Villard 5881b676a2 [CLI] parse contents of @argfiles
9 years ago
Jules Villard 6c3845257f [manual] list all supported options in `infer --help` and `infer --help-full`
9 years ago
Jules Villard d508b0880d [manual] add --help-format option
9 years ago
Jules Villard 709376945f [config] migrate help to use man pages
9 years ago
Jules Villard ebd5ec0013 [archeology] remove infer/src/checkers/sql_examples/
9 years ago
Dino Distefano 99552edd7b Extending type parser to parse pointer types.
9 years ago
Jeremy Dubreil 8de5b7b85c [infer][checkers] fix performance issue when running the biabduction analysis as a checker
9 years ago
Jeremy Dubreil b5b12ba9ff [infer][checkers] add the option to run the biabduction analysis as a checker for Java
9 years ago
Dulma Churchill 68f957ac97 [linters] Print name and type of the node in the debugging
9 years ago
Dulma Churchill d04a03b8e3 [linters] Remove redundant predicate
9 years ago
Dulma Churchill c9670d215d [linters] Add new predicate has_type and check for implicit cast
9 years ago
Sam Blackshear 30b3075d11 [quandary] allow specification of parameter sources via JSON
9 years ago
Sam Blackshear 6c8f3fe618 [quandary] allocation as a sink
9 years ago
Martino Luca 6d1d78bb60 Change invariant to compute differential of reports
9 years ago
Martino Luca 30bcc6b5ce Simple refactoring of Localise
9 years ago
Sam Blackshear 9c5bf9bba5 [quandary] run Quandary on Java when -a checkers is passed
9 years ago
Jeremy Dubreil 7e12885f98 [infer][checkers] remove the quandary analyzer option and rely on the --quandary flag only
9 years ago
Jeremy Dubreil 6f85980e6e [infer][ondemand] try to load the summary when the procedure description cannot be found
9 years ago
Jeremy Dubreil be0cd4fa73 [infer][ondemand] use the attributes from the procedure description without filesystem lookup
9 years ago
Dino Distefano c6a29e5e8a Adding more builtin type to parser
9 years ago
Sam Blackshear 9157f42b7c [test] diagnose invalid source file issue
9 years ago
Sam Blackshear 6af6ef35ec [quandary] support sources that taint a pointer arg or arg passed by ref rather than the return value
9 years ago
Sam Blackshear 52ed886886 [quandary] log error to summary instead of pdesc
9 years ago
Jeremy Dubreil 7bc2d6de12 [infer][ondemand] confine the concept of currently analyzed method to the Ondemand module
9 years ago
Jeremy Dubreil 9e4cbc919b [infer][checkers] Using the same filtering mechanisim for the biabduction analysis for the main Infer analysis and when using the checkers framework
9 years ago
Sam Blackshear a0377fe8c9 [quandary] treat call to unknown operator= as assignment
9 years ago
Sam Blackshear 9dc7e3d66f [quandary] handle return value passed by reference in sources
9 years ago
Jules Villard 29f7967f26 [build] remove unused values
9 years ago
Mehdi Bouaziz 37896ff435 [inferbo] More errors on symbolic intervals
9 years ago
Mehdi Bouaziz 5a57be9003 [infer][checkers] remove the bufferoverrun analyzer option and rely on the --bufferoverrun flag only
9 years ago
Jeremy Dubreil 8064ac2614 [infer][checkers] remove the siof analyzer option and rely on the --siof flag only
9 years ago
Jeremy Dubreil 62be37f163 [infer] parse the classpath information from the javac command line
9 years ago
Sam Blackshear 6f33fa4089 [cli] parse classpath from argfiles
9 years ago
Jeremy Dubreil ef354e6e2b [infer][checkers] remove the threadsafey as analyzer option and rely on the --threadsafety flag only
9 years ago
Jeremy Dubreil d5e9b22e41 [infer][checkers] remove the code for the checkers that are not being run in prod
9 years ago
Sam Blackshear 4425f0908c [thread-safety] understand custom Buck locks
9 years ago
Mehdi Bouaziz 174c0091ae [inferbo] std::vector model for inferbo
9 years ago
Jeremy Dubreil 0097d8a5cb [infer] First step to the biabduction analysis using the checkers framework
9 years ago
Ryan Rhee 62e4364085 [componentkit] Whitelist CKComponentKey
9 years ago
Ryan Rhee 9f65b0d3fa [componentkit] Whitelist CKComponentContext
9 years ago
Sam Blackshear 6680126af9 [cleanup] replace Location.dummy with Location.none where acceptable
9 years ago
Sam Blackshear 19da59cf19 [hil] functor for easily creating HIL analyses
9 years ago
Dulma Churchill 1a141eddca [ObjC capture] Model functions related to dispatch sources
9 years ago
Dulma Churchill 6097c05d88 [clang] Add a preanalysis to compute nullability annotations
9 years ago
Mehdi Bouaziz 7b8dc59386 [inferbo] Always use strong update
9 years ago
Dino Distefano 5bb41cc18c Removing predicates _strict
9 years ago
Dino Distefano 3c6f53c896 Adding predicate to get return type of a method and start a new parser for types
9 years ago
Sam Blackshear a02b37a03c [quandary] allow custom sources/sinks in C++
9 years ago
Jeremy Dubreil 548a36d71f [infer][backend] some more non-functional cleanup
9 years ago
Sam Blackshear 3258bc2ec4 [quandary] delegate handling of call to HIL
9 years ago
Sam Blackshear 80030c8de7 [quandary] delegate handling of assignment to HIL
9 years ago
Andrzej Kotulski c1147710ba [C++] Store class template name without its template arguments
9 years ago
Jeremy Dubreil b3af2ad4b6 [infer][ondemand] The source parameter from the analysis callback was never used
9 years ago
Jeremy Dubreil 224c1fea86 [infer][backend] remove the unecessary parameter source when printing node data
9 years ago
Sam Blackshear d248780645 [quandary] delegate cast handling to HIL
9 years ago
Sam Blackshear 8f10cae4b3 [quandary] delegate id map management to HIL
9 years ago
Jeremy Dubreil 33f9a2f864 [infer][backend] remove the unsafe function Specs.get_specs
9 years ago
Jeremy Dubreil 250d9cb8b3 [infer] the function to pretty-print the call graph does not need to access the analysis summaries
9 years ago