3934 Commits (eef8774aa268934806bdee2eda97cff0bd301dbd)

Author SHA1 Message Date
Dulma Churchill 4218142a84 [retain cycles] Implement dotty files for retain cycles new
7 years ago
Varun Arora 97c36448b6 [reporting] add additional fields to AnalysisStats event
7 years ago
Varun Arora ad10435b58 [IR] combine is_objc_instance_method and is_cpp_instance_method fields in ProcAttributes into method_kind
7 years ago
Jeremy Dubreil 06406eae4e [infer][backend] simplify the resolution of the attributes
7 years ago
Jeremy Dubreil 5f3c3ee3f9 [infer][genrule] use Eradicate for the genrule test
7 years ago
Dulma Churchill 91fbe68cc9 [retain cycles] Do not report when the captured variable is weak
7 years ago
Mehdi Bouaziz d61c4927c1 [ProcnameDispatcher] Optimization and do not crash with Java
7 years ago
Jeremy Dubreil 3be3ca427f [infer][cleanup] minor code simplication
7 years ago
Jeremy Dubreil 5ed234ccd0 [infer][checkers] remove leftover debugging code
7 years ago
Jules Villard ab9c18b85d [clang] echo clang stdout when running non-plugin commands
7 years ago
Jules Villard 70c2a50b4e [db] record symbolic capture timestamps for source files
7 years ago
Jeremy Dubreil 2228f7448d [infer][nullable checker] add tests for the early return
7 years ago
Sam Blackshear 584b10647d [racerd] new lock domain
7 years ago
Varun Arora 315db072ac [clang] change CTrans_utils.Self.SelfClassException to use new CFrontend_config.ocaml_pos type instead of raw tuple
7 years ago
Dulma Churchill 8053734563 [linters] Add logging and caught exceptions to the linters
7 years ago
Jeremy Dubreil 47b5104892 [infer][clang] convert assert false to incorrect_assumption in CProcname
7 years ago
Sam Blackshear 82d033c970 [clang] convert some assert false's to structured fails
7 years ago
Sam Blackshear 71a3843746 Revert occurence counting change
7 years ago
Varun Arora cbe6ea4456 [reporting] Added logging of procedures analysis stats to backend
7 years ago
Sam Blackshear 37ab9ec391 [quandary] ProcessBuilder as sink
7 years ago
Sam Blackshear ab77cfe803 [quandary] thrift services as sources in Java
7 years ago
Sam Blackshear 27172f7f8a [quandary] java shell exec as sink
7 years ago
Sam Blackshear 268e0b9b5f [racerd] generalize access preconditions
7 years ago
Dulma Churchill 8a9fcdc43f [retain cycles] Find cycles about blocks
7 years ago
Varun Arora 440040ada9 [clang] make ast_node argument optional in Unimplemented and IncorrectAssumption exception raising functions
7 years ago
Sam Blackshear 80b3d080ce [cleanup] sunset Context leaks
7 years ago
Jeremy Dubreil e90e6c8bf0 [infer][build] fix the OCaml dead code detection on macOS
7 years ago
Sam Blackshear bc8fe4fb97 [java] don't warn on unclosed subclasses of non-resource types
7 years ago
Mehdi Bouaziz 4fdaf257ae [inferbo/unreachable] Fix FPs with exit at end of block/procedure
7 years ago
Mehdi Bouaziz dbaf9e459d [Inferbo] Do not use deprecated API to log issues
7 years ago
Jules Villard 586582c311 [buck] delete results dir inside buck-out in infer children processes
7 years ago
Mehdi Bouaziz 59edaf4670 [Inferbo][Itv] Some rewrites
7 years ago
Mehdi Bouaziz 653f212023 Disable Inferbo for Java
7 years ago
Sam Blackshear 08f21959ce [racerd] add missing match case
7 years ago
Jules Villard 4a71067c68 [tests] kill some new dead code
7 years ago
Jeremy Dubreil fa840ad1e4 [infer][java] log the error message for JBasics.Class_structure_error
7 years ago
Daiva Naudziuniene ec263afe58 [clang frontend] placement new
7 years ago
Jeremy Dubreil db078459b4 [infer][ondemand] also cache the result of analyzing a procedure description
7 years ago
Jeremy Dubreil 96ca6b6f02 [infer][bug hash] take the number of occurences of a report into account
7 years ago
Jeremy Dubreil bbca94569c [infer][scheduler] use the on-demand analysis when retrieving the procedure description for a given procedure name to make sure the summary exsits
7 years ago
Tony Hu c1fd661648 [infer][genrule] Added command-line option --check-version
7 years ago
Jeremy Dubreil 432ba7f447 [infer][buck] remove the "captured" subdirectory for Java projects
7 years ago
Sam Blackshear 30112cbcb0 [litho] organize functions for GraphQL getters and required props into separate modules
7 years ago
Sam Blackshear ebfe8d1e72 [litho] move reporting of missing required props out of transfer functions
7 years ago
Dulma Churchill f5e89797a8 [backend] Fix consistency of closures after bi-abduction and other executions.
7 years ago
Jules Villard 6b5390fe79 [cfg] rename iCFG to cfg in dotty files
7 years ago
Jules Villard ec118e62a7 [cleanup] make caller pdesc an optional argument of `Ondemand.analyze_proc_desc`
7 years ago
Jules Villard 58e0cbe6ee [base] move `Config.language` to its own `Language` module
7 years ago
Jules Villard f999f2ebb7 [cleanup] remove unused `ProcessPool.Execution_error`
7 years ago
Jules Villard 7396a613bb [tenv] change interface to take `SourceFile.t` instead of `DB.filename`
7 years ago
Jules Villard ac92e13292 [cleanup] delete useless `Driver.Infer_error` exception
7 years ago
Jules Villard daa5154399 [capture] get rid of call graphs
7 years ago
Jules Villard f2029af50a [exe_env] do not record the call graph in the execution environment
7 years ago
Jules Villard 1d3e0741ac [cfg] get defined procs of file from cfg db
7 years ago
Sam Blackshear 2c6fb16636 [litho] support optional Prop's
7 years ago
Sam Blackshear 4545f36875 [litho] prototype of required `@Prop` checker
7 years ago
Sam Blackshear c98bc53ede [racerd] move de-duplication back to the backend
7 years ago
Jules Villard 66ad5c3018 [driver] persist some global state across infer runs
7 years ago
Jules Villard 0c9b025857 [clopt] move command datatype to new InferCommand
7 years ago
Jules Villard 337fb9bcdd [al] import files relatively to the current al file
7 years ago
Jules Villard 6d908adf14 [al] use "quotes" for user imports
7 years ago
Jules Villard 7fc7511238 [clang] blacklist `--expt-relaxed-constexpr`
7 years ago
Varun Arora b97ba077ad [clang] Added logging of caught exceptions of type SelfClassException to clang frontend
7 years ago
Varun Arora 773b43d94e [clang] Added logging of caught exceptions of type IncorrectAssumption to clang frontend
7 years ago
Martino Luca 5b04b1ce89 Add CLI argument to Config
7 years ago
Jules Villard c0d578323e [config] make subprocesses read the same .inferconfig as toplevel infer invocation
7 years ago
Varun Arora 2ede6c1ac4 [clang] Added logging of caught exceptions of type Unimplemented to clang frontend
7 years ago
Sam Blackshear 360151eb10 [litho] utility function for iterating over all call chains encoded in the domain
7 years ago
Dulma Churchill 4ad80615ef [retain cycles] Do not check twice for cycles, once in abs and once in the retain cycles module
7 years ago
Sam Blackshear f7c415f7ae [cleanup] restrict Java-specific utility functions to Typ.Procname.Java.t's
7 years ago
Tony Hu 55ecd9b0a4 [infer][bucklib] Removing INFER_ANALYSIS flag
7 years ago
Jules Villard 52c4c4c767 [log] let early logging fall through instead of double-printing
7 years ago
Jules Villard 1d4128e0c0 [clang] blacklist some flags at the -### level
7 years ago
Tony Hu 26d1bb0ff4 [infer][bucklib] Prepare bucklib for removal of INFER_ANALYSIS env flag
7 years ago
Sam Blackshear 04d2882a6b [cleanup] organize Java-specific functions on types
7 years ago
Jules Villard 1a5ba13778 [cfg][minor] do not duplicate the Hashtbl API
7 years ago
Jeremy Dubreil dbdfb24be4 [infer] fix build
7 years ago
Mehdi Bouaziz 7b3bf7b4b5 [dispatcher] Match all suffixes
7 years ago
Mehdi Bouaziz 4ed3be9f00 [inferbo] First models for std::array
7 years ago
Sam Blackshear fb7556816f [quandary] report gflags to shell exec, but not file or url creation
7 years ago
Mehdi Bouaziz d0a30d61c4 [buck] Closed regexes to filter target kinds
7 years ago
Jules Villard 34862f8d77 [dead] script to detect dead code
7 years ago
Jules Villard 4b1a7b1771 [cleanup] remove dead code
7 years ago
Jules Villard 92e3d56f2e [cleanup] add missing `open! IStd`
7 years ago
Varun Arora 0003c3acc9 change procedures_translated logging to use eventlogger framework
7 years ago
Varun Arora cd02014209 [clang] Added logging of attempted and completed procedure translations to clang frontend
7 years ago
Tony Hu d62b046f52 [infer][genrule] create_genrules in DEFS now only creates Buck rule for "checkers" analyzer
7 years ago
Radu Grigore eb91d59e40 [infer][PR] Fixed namespace for Java globals.
7 years ago
Tony Hu 39564905f2 Removed GENERATE_INFER_GENRULES flag
7 years ago
Sam Blackshear f5e7a6e6d7 [quandary] print index(es) of tainted parameters at each call
7 years ago
Jeremy Dubreil 7bbb615740 [infer][ondemand] minor simplification of the top-level iteration
7 years ago
Jules Villard 5b95f51b52 [make] refactor common atd generation
7 years ago
Jules Villard 8fe2d793b9 [db] name tables with respect to their keys
7 years ago
Jules Villard 3d7878ef25 [make] make sure we always read from the right infer-out/
7 years ago
Dulma Churchill 66b1956e9a [debug] Adding the captured variable to the printing of the closures
7 years ago
Mehdi Bouaziz d71d759344 [inferbo] Fix division by constant
7 years ago
Tony Hu 2faaa1a5ab [infer][genrule] Rename javac_config to buck_config in bucklib.py
7 years ago
Jules Villard 52f7253d61 [java] get rid of unused models tenv
7 years ago
Vladimir Silyaev a0dfd699a8 [infer][PR] Clean temporary files created by the clang frontend
7 years ago
Jules Villard b71d567157 [exe_env] replace set of sources by singleton
7 years ago
Jules Villard 764224139c [backend] change cluster type to source files and read list from cfg db
7 years ago
Jules Villard d3c6543cc8 [sqlite] more info on error
7 years ago
Jules Villard 7a37d5914d [sqlite] use `Sqlite3.exec` directly when possible
7 years ago
Jules Villard 54c1976945 [sqlite] reset prepared statement eagerly
7 years ago
Dulma Churchill ebd58cbfc0 [retain cycles] Remove false positive retain cycles
7 years ago
Sam Blackshear 7f62154318 [quandary] separate sanitizers for different kinds of escaping
7 years ago
Sam Blackshear b3992cbab8 [liveness] add CKComponentKey to whitelist
7 years ago
Jeremy Dubreil 6e1979a3e0 [infer][IR] introduce a fold function over the procedure descriptions in a file to avoid make copies of mutable data-structures
7 years ago
Jeremy Dubreil b089486b5a [infer][nullable checker] take subtyping into account when detecting pointer assignment
7 years ago
Jeremy Dubreil 73b4409e6f [infer][nullable checker] no longer propagate the nullability when the lhs is not a pointer type
7 years ago
Jeremy Dubreil c6a6087ed1 [infer][IR] factor the test for pointer type
7 years ago
Jeremy Dubreil f50c7b469e [infer][nullable checkers] move the tests for the nullable checker in a dedicated subdirectory
7 years ago
Sam Blackshear a50433f87f [cleanup] remove unused java dependencies
7 years ago
Jeremy Dubreil 1db403c51d [infer][scheduler] no need to filter the defined procedures when running the checkers
7 years ago
Sam Blackshear b06676f309 [quandary] only use gflag sources in developer mode
7 years ago
Josh Berdine 63439ecc02 [ocamlformat] Upgrade base and ocamlformat
7 years ago
Jules Villard 7032bca1d5 [tests] fix `make clean`
7 years ago
Dino Distefano d83a9445f1 First extension to uninit inter-procedural analysis
7 years ago
Jeremy Dubreil 4795139459 [infer][java] skip the transformation to JBir when skipping the translation of the implementation
7 years ago
Sam Blackshear ab3da5b1d1 [cleanup] remove unused dynamic dispatch modes
7 years ago
Jeremy Dubreil 5ce859c774 [infer][java] compute the start and exit node location from the bytecode instead of from the JBir representation
7 years ago
Jeremy Dubreil 3fb25e2a74 [infer][java] removing dead code
7 years ago
Martino Luca e950103428 Add the --log-events flag to turn on events logging
7 years ago
Mehdi Bouaziz d8bd7b7deb [inferbo] Only use inferbo models when biabduction is off
7 years ago
Jeremy Dubreil 93b9f2c488 [infer][java] catch Invalid_argument exception when translating the bytecode to the Sawja JBir representation
7 years ago
Sam Blackshear 8732c7d7a1 [quandary] add curl_easy_setop with CURLOPT_POSTFIELDS as sink
7 years ago
Martino Luca 7d78588f49 Emit log identifier in stderr, when Infer is launched
7 years ago
Mehdi Bouaziz 3fc41af811 [inferbo] Model for folly::split
7 years ago
Dino Distefano e3e2fb22a1 Change pattern-matching order
7 years ago
Sam Blackshear 82a3b2649e [quandary] only warn on shell/sql injection from stringy gflag sources
7 years ago
Sam Blackshear afb04cf459 [thread-safety][experimental] switch access path may-alias condition to syntactic equality
7 years ago
Jeremy Dubreil 71cf1760c5 [infer][nullable checker] find the nullable violation involving annotated protocol methods
7 years ago
Martino Luca 67142e7478 Log events in machine-readable format, and dump them via `infer events` command
7 years ago
Mehdi Bouaziz 96face188a [dispatcher] Uncouple function argument matching and capturing
7 years ago
Jeremy Dubreil 32deab86bd [infer][nullable checker] avoid reporting the nullable violations that are already reported by the biabduction analysis
7 years ago
Sam Blackshear d6ed9e3bbe [liveness] remove special-casing for destructor reads
7 years ago
Sam Blackshear f37344358b [experimental] interprocedural should_update analysis
7 years ago
Jules Villard 303b79b6ae [sqlite] create `SQLite` serialization/deserialization modules where needed
7 years ago
Jules Villard a91e7dda50 [cfg] move cfgs to sqlite
7 years ago
Dulma Churchill 4db780d364 [retain cycles] Enable retain cycles, quality and message are better now
7 years ago
Martino Luca cd49acc1cf Refactor directory traversal into its own utility function
7 years ago
Jeremy Dubreil f283416fa1 [infer] no longer print the list of Eradicate warnings to standard output
7 years ago
Jeremy Dubreil 1f6d73269e [infer] simplify the API to report errors
7 years ago
Jeremy Dubreil c62dd2a0c2 [infer][nullable checker] add models for mutations of mutable dictionaries and mutable arrays
7 years ago
Sam Blackshear b23e967f1b [liveness] print type of unused var
7 years ago
Sam Blackshear 41129087e4 [quandary] only Intents created from Uris should be sources
7 years ago
Sam Blackshear 32675a7b02 [quandary] improve curl_easy_setopt sink
7 years ago
Sam Blackshear 156ea2f759 [racerd] use a record instead of ginormous tuple in reporting code
7 years ago
Dulma Churchill 5b5b72f983 [retain cycles] Improve the message by adding info about when each of the objects involved was last updated.
7 years ago
Jules Villard 5ce024bf6e [clang] do not error on bogus arguments to `fsanitize`
7 years ago