Commit Graph

3450 Commits (b1841c669993f1cceb39b6770ea7d6fe56bff705)

Author SHA1 Message Date
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 ca3e454481 [reporting] aggregate issues from all procedures before reporting 8 years ago
Dulma Churchill 59be79a81e [linters] Improve the linters-doc-url flag, by splitting the url from the left, so we allow urls with colons 8 years ago
Jules Villard 2fff3b0733 [clang] distinguish genuine internal failures from unimplemented features 8 years ago
Sam Blackshear faf04af1f4 [cleanup] kill some debug code 8 years ago
Sam Blackshear 6533aa65c6 [quandary] deserialization as sink 8 years ago
Daiva Naudziuniene 81c0fe6754 [clangplugin] Updating infer to work with the latest clang plugin version 8 years ago
Dulma Churchill d8765d1d44 [linters] Include only base name of ObjC methods in the linters bug hash 8 years ago
Dulma Churchill b99b653ffa [linters] Fix the computing of the successors of method declarations 8 years ago
Jules Villard d7057ece2b [log] disable --keep-going in strict mode 8 years ago
Jules Villard 0cc371d0a2 [driver] remove infer-clang fake command 8 years ago
Jeremy Dubreil bb85b24f0a [infer][java] simplify the process of java.lang.Process 8 years ago
Dulma Churchill 5f176f40e3 [linters] Add linters_doc_url flag for custom doc_urls for linters 8 years ago
Daiva Naudziuniene e78dc91f34 [destructors] Destroy fields after continue. 8 years ago
Jules Villard b740533945 [pp] refactor Pp functions and make them more flexible 8 years ago
Jules Villard b3b4e42067 [threadsafety] watch out for non-Java pnames 8 years ago
Dino Distefano 8cad1b5e69 Remove ETX operator from AL 8 years ago
Sam Blackshear 375b808394 [access tries] max width config 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
Josh Berdine 0da92c24ea [thread-safety][c++] Add models for some std::map operations 8 years ago
Jules Villard c07cd81392 [log] better exception reraising 8 years ago
Jules Villard 24a9e44dd1 [log] log to toplevel log file in infer subprocesses 8 years ago
Daiva Naudziuniene c6c7411e05 [destructors] Destroy fields after break. 8 years ago
Daiva Naudziuniene 822ffc6f62 [frontend] Fix continue inside do while. 8 years ago
Dulma Churchill 7e3298711c [AL] Compute a witness child node when computing formulas to be used for more precise bug hashing 8 years ago
Sungkeun Cho e5ee27af20 [Inferbo] Bugfix: incorrect pruning for unary negation 8 years ago
Sam Blackshear fd105802db [thread-safety] don't use Map.choose or Set.choose 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 84f7732b21 [infer][java] fix inconsistent treatment of the --skip-implementation option 8 years ago
Jules Villard 5b3c2c0901 [clang] fix evaluation order bug discovered by building with OCaml 4.05.0 8 years ago
Martino Luca 740e9973d6 Replace existing calls to `exit` with InferExit exceptions to better control flow of executions 8 years ago
Martino Luca e247492901 [AL] Validate AST node names in AL source files 8 years ago
Jeremy Dubreil dd51a2e22b [infer][java] the skip-implementation option should preserve the line number information, which is not the case when translated those methods as native methods 8 years ago
Jules Villard adca07d815 [make] fix issues with `make clean && make -j test-replace` 8 years ago
Sam Blackshear 14aef012f6 [quandary] allow specifying globals as sources 8 years ago
Jules Villard 003777fa44 simpler logic for determining if an attribute is "fresher" than another 8 years ago
Dulma Churchill 5f9c020570 [buck integration] Support passing targets by file to buck in both the compilation database integration and the flavors integration 8 years ago
Jeremy Dubreil 8cee4fefd5 [infer][biabduction] remove unused skip flag 8 years ago
Jeremy Dubreil d0d78aae7b [infer][biabduction] no longer exchange the expressions associated to an attribute 8 years ago
Jeremy Dubreil 9a3ab41371 [infer][java] the translation was no adding the fields from the implemented interfaces 8 years ago
Jules Villard b5ff17825f [log] print sensible backtrace and message on `Logging.die` 8 years ago
Sam Blackshear b2edf17b21 [quandary] better logging 8 years ago
Sam Blackshear 81c68a34cd [infer] python integration: parser, cfg support 8 years ago
Sam Blackshear 4065b1d120 [dead stores] recognize lambdas with `auto` parameter 8 years ago
Sam Blackshear 14fa4aa7d9 [clang][dead stores] translate init-capture expressions 8 years ago
Sam Blackshear 9ab89025a8 [utils] only make copies of strings that need to be escaped 8 years ago
Jules Villard c42431115f [make] clean more 8 years ago
Jules Villard 62853bbd72 [config] make --<checker>-only actually work 8 years ago
Daiva Naudziuniene 879891a3af [destructors] Injecting destructor calls of base classes 8 years ago
Daiva Naudziuniene 5ee61a4019 [destructors] Refactoring destructor translation. 8 years ago
Dulma Churchill d5be23f1b6 [backend] Do not add return annotations to parameters of functions that are skipped 8 years ago
Sam Blackshear 9772b2299d [clang] translate user-defined literals 8 years ago
Sam Blackshear de9d8f45ff [clang] partial translation of vector instructions 8 years ago
Sam Blackshear b4c0ddcff3 [cleanup] kill `Config.frontend_debug` 8 years ago
Dulma Churchill 47221ab273 [linters] Add support for Cxx structs when querying types 8 years ago
Dulma Churchill ecd79a56d3 [linters] Support transition Parameters also by ObjC method calls 8 years ago
Dulma Churchill 47088e078e [linters] Use the sdk version by path in the error message of unavailable api check 8 years ago
Jeremy Dubreil 32d462b778 [infer][java] add an option to only translate the signature of the methods and skip the body 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 a03f765d8f [infer][biabduction] no longer drop the atoms that are referring to footprint variables 8 years ago
Jules Villard 1c375a17ac [log] die more appropriately 8 years ago
Daiva Naudziuniene 3e660b05ee [destructors] Injecting destructors of fields to destructor bodies. 8 years ago
Daiva Naudziuniene 19d1b25919 Adding changes to objc issues to fix tests. 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
Jeremy Dubreil f814eb40b8 [infer][java] add more example of inter-target NPEs for the Buck integration 8 years ago
Sam Blackshear 81fbcf7501 [access trie] make max depth configurable 8 years ago
Jeremy Dubreil 04d3142f6b [infer][java] translate the unsingned shift operator as standard shift operator 8 years ago
Jeremy Dubreil 1d8d6e3ceb [infer][java] remove the hack around virtual calls on arrays 8 years ago
Dulma Churchill 5ead13a225 Fixing crash that happened when reporting a lint issue in a templated method. 8 years ago
Daiva Naudziuniene 02c2e2b5bf Added a function to test if procdesc is a destructor. 8 years ago
Dulma Churchill 9f19f12a1b [linters] Fix incorrect assert false in Component linters 8 years ago
Daiva Naudziuniene a2c67afe6c [threadsafety] Testing if a race that happened in a private method is reported in a caller public method. 8 years ago
Dulma Churchill acbf6c90fe [linters] Add example of checking whether a parameter passed to a function is initialized with a selector only 8 years ago
Dulma Churchill 0b5c992a93 [linters] Add an example of checking for an empty map in the argument of a method call 8 years ago
Sam Blackshear b15e4846c3 [quandary] only enable expensive buffer/allocation sinks in developer mode 8 years ago
Roy Li 76bc7d686c Add predicate for enum constants of a particular enum 8 years ago
Sam Blackshear 028a28752b [access trees] function for computing depth 8 years ago
Jules Villard 56b4348970 [jbuild] keep beta11 for now 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 b1b7cc0b9d [make] better way of limiting concurrency and better jbuilder concurrency 8 years ago
Jules Villard c16884b97f [jbuilder] turn I{Std,List} and atd-generated files into libraries 8 years ago
Martino Luca e8a0599850 [AL] add `--linters-validate-syntax-only` to check whether there are any syntax errors in AL files 8 years ago
Martino Luca 3576f2f7cc [AL] New exception ALFileException with source-location info 8 years ago
Martino Luca 98b1f74071 Refactor AL parser's exception into a separate module 8 years ago
Sam Blackshear f821d8948f [quandary] add memcpy, memset, and similar as sinks 8 years ago
Sam Blackshear 3b56b93ae5 [quandary] apply summary for sinks 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
Dulma Churchill df1063b9eb [linters] Adding example of checking a parameter for empty struct 8 years ago
Jules Villard a34fcebc59 [models] avoid race conditions when building and installing the models 8 years ago
Dulma Churchill 30d2822846 [linters] Restrict the remove observer check to when target ios sdk version is greater or equal than 9.0 8 years ago
Dulma Churchill a3309926b3 [linters] Add transition parameter with label for ObjC method declarations or method calls 8 years ago
Daiva Naudziuniene 29aea2d61d Do not show internal SIL variable name in the error message of temporary address escape 8 years ago
Dulma Churchill 673f2b6917 [linters] Add option to specify iphone sdk version by path 8 years ago
Jeremy Dubreil 9e217ea1b1 [infer][java] add mli for the JConfig module to automatically remove dead code 8 years ago
Dulma Churchill a6f8850617 [linters] Provide predicate for checking the current method in the context 8 years ago
Jules Villard 8fd9d40ca8 [cleanup] use constant strings in `Config` for dir names 8 years ago
Dulma Churchill 3da5908728 [linters] Remove unavailable api class false positives and turn it on 8 years ago
Jeremy Dubreil 9d67b6c07d [infer][java] make the code more consistent to detect that constructor is a creating a resource 8 years ago
Greg Nisbet 7fc5cb7930 exinferbo] check end of procedure for unreachability 8 years ago
Jules Villard 7847c154d8 [merlin] use `S **` instead of listing each directory 8 years ago
Jeremy Dubreil 02ec9c6571 [infer][build] detect unused code at compile time 8 years ago
Sam Blackshear 2876f50703 [quandary] popen as sink 8 years ago
Sam Blackshear e0ad650dcd [thread-safety][cleanup] use record for summary type 8 years ago
Dulma Churchill 336f6f8dff [linters] Support reference types in the linters type parser 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
Jules Villard 117a7364be [merlin] disable warning 60 (unused module declaration) 8 years ago
Jules Villard 4bc6fd92ba [jbuild] avoid paths mentioning "." needlessly 8 years ago
Jules Villard 888ca46371 [make] fix issue that breaks build incrementality 8 years ago
Martino Luca 17cc5ec7be Remove unsupported `index-store-path` argument from clang commands 8 years ago
Jia Chen 674068996b Add model for <atomic> 8 years ago
Jia Chen 3e82890d6d Teach the prover and the normalizer aliasing rules between pointers and integers 8 years ago
Jules Villard d6ab087a4a [make] ignore files in _build for mod_dep 8 years ago
Dulma Churchill 3589773bf7 [buck integration] Add a dependency depth option 8 years ago
Dulma Churchill 79105952d6 [linters] Avoid a perdiod in mid sentence in the error messages 8 years ago
Jules Villard ebbc202342 [help] in infer --help, show in which manual each option can be found 8 years ago
Dulma Churchill cb4cf39d49 [buck integration] Pass targets to buck in a file 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 f738a7186a [quandary] fix assertion failure due to unexpected operator= 8 years ago
Jules Villard 52746fd9eb [checkers] add --<checker>-only options 8 years ago
Jules Villard 6505fa694d [help] add --long-reset for list and optional options 8 years ago
Meng Zhang cdc54563d4 [Infer] Write a has_visibility_attribute predicate for AL 8 years ago
Jules Villard 8de2b88783 [make] s/ocamlbuild/jbuilder/g 8 years ago
Jia Chen 4733f878a4 [infer][backend] Extend the scope of NULL_TEST_AFTER_DEREFERENCE check 8 years ago
Jules Villard 5074388e25 [buck] always create multilinks for attribute files 8 years ago
Dulma Churchill 931d4442c8 [buck integration] Add buck flavor option to use for getting dependencies 8 years ago
Andrzej Kotulski de6c396800 [docs] Extend src/clang/README.md with info about AST 8 years ago
Andrzej Kotulski 8523577bae [C++] update fcp to deal with template specializations 8 years ago
Jules Villard f5ee50e7b5 [graphql] kill unused files 8 years ago
Alexander Slesarev a3452e5119 [infer][PR] Updated fix for the gradle capture issue regarding projects with space-containing paths 8 years ago
Sam Blackshear 1157364a09 [preanalysis] kill copy-propagation code 8 years ago
Sam Blackshear 557faa4a46 [bi-abduction] use ProcCfg instead of file CFG 8 years ago
Andrzej Kotulski 6ca447fa6a [C] Fix issue with enum initialization lists 8 years ago
Andrzej Kotulski 88b74d524d [C++] Rewrite initListExpr_trans 8 years ago
Andrzej Kotulski 5847dd3fe9 [C++] Fix model of std::vector::size 8 years ago
Dulma Churchill c435ba2c76 [linters] Add a reset option for linters-def-folder 8 years ago
Sam Blackshear 7be5df384e [quandary] stack allocation of array as sink 8 years ago
Sam Blackshear ccdf15a1ca [quandary] vector and array access as sink 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 d850492ffe [cleanup] kill condition_is_assignment check 8 years ago
Jules Villard 679b125ac4 [trace] infer subcommand for inferTraceBugs 8 years ago
Jules Villard b2ee1152fe [prover] do destructive normalization to prove more 8 years ago
Sam Blackshear 91d518979b [quandary] log internal error when taint sink index doesn't match 8 years ago
Sam Blackshear 4b8a5683aa [java] fix noexcept hack 8 years ago
Dulma Churchill 76629ee9a4 [buck integration] Implement a way of getting the compilation database for dependencies of given targets 8 years ago
Jules Villard de86c12a9a [diff] suppress console output in report called from diff analysis 8 years ago
Jules Villard 6a4e4d4b6a [diff] support for --gen-previous-build-command-script 8 years ago
Jeremy Dubreil 34d10fdede [infer][cleanup] remove some left-over use of the Eradicate analyzer entry 8 years ago
Sam Blackshear 73dba57e45 [cleanup] remove useless append_instrs on empty instruction list 8 years ago
Jia Chen b68770d592 [infer][backend] Teach the biabduction analysis more simplification rules 8 years ago
Sam Blackshear 6d001ee566 [access paths] optional index expression for arrays 8 years ago
Sam Blackshear b61a68e859 [quandary] HTML creation as a sink 8 years ago
Jia Chen 5deffbce24 Teach the prover more simplification rules 8 years ago
Jia Chen a718ebe8ec [frontend] Additional information for the backend to distinguish between pass-by-val args and pass-by-ref args 8 years ago
Jules Villard 766a73d80c [buck flavors] make `infer run ...` use #infer-capture-all 8 years ago
Andrzej Kotulski c473f21f81 [C++] fix std::vector::empty model 8 years ago
Daiva Naudziuniene 7a3decf7f7 [ThreadSafety] Treating lock_guard destructor as Unlock. 8 years ago
Jeremy Dubreil 93ad3773fc [infer][biabduction] no longer catch the Unix errors during the symbolic execution 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
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
Sam Blackshear 36ea71a983 [HIL] add function for getting type of HIL expression 8 years ago
Jeremy Dubreil 15a8848502 [infer][biabduction] always reuse the same abduced return variable for unknown methods in Java 8 years ago
Jules Villard 4958130297 [reportdiff] take key into account for file renamings 8 years ago
Daiva Naudziuniene f12616cea5 [destructors] Add scope management to clang frontend 8 years ago
Jules Villard 6f3cdd462d [report] make --report-hook show up in `infer --help` 8 years ago
Dulma Churchill 00c1b354e1 [linters] Improve to_string method for boxed values 8 years ago
Dulma Churchill d0858c7770 [linters] Improve the to_string method for string constants 8 years ago
Jeremy Dubreil a292620a69 [infer][backend] No longer swallow the process failures unless --keep-going is passed from the command line 8 years ago
Mehdi Bouaziz 5ea80fdb82 [inferbo] Remove temporary logical variables 8 years ago
Jeremy Dubreil 53278f780c [infer][biabduction] simplify the symbolic execution of the execute load instruction 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
Jules Villard 854b8f30bd [CLI] always pass --issues-txt to the report hook script 8 years ago
Jules Villard fe01f47e41 [clang] correct sizeof info 8 years ago
Jules Villard 0793e0ff40 [make] move inferTraceBugs tests to build systems, hide more output 8 years ago
Sam Blackshear 6b792e0015 [thread-safety] track container reads and report read/write races 8 years ago
Jules Villard 0bd5ef8d0f [report-hook] take location of bugs.txt from the command line 8 years ago
Jules Villard cfecff03c3 [reportdiff] allow "current" and "previous" to be specified in any order and among other fields in file_renamings.json 8 years ago
Jules Villard 0c7f08d29d [wibble] `driver_mode` -> `mode` in `Driver` module 8 years ago
Jules Villard 833b093174 [diff] make use of --changed-file-index 8 years ago
Jules Villard a5393e9a37 [diff] set reactive when `infer-diff` is invoked 8 years ago
Jules Villard 3c215b8484 [diff] run driver prologue and epilogue before diff analysis 8 years ago
Jeremy Dubreil e0ad3a9d75 [infer][differential] remove the option to prevent the conflicts between Eradicate and Biabduction 8 years ago
Jeremy Dubreil f2cb85e3ab [infer][backend] remove unused code 8 years ago
Sam Blackshear 8fde27014a [absint] add widening threshold to crash hard in the face of likely divergence 8 years ago
Josh Berdine b36eaa2618 [clang] Disable -fembed-bitcode 8 years ago
Jules Villard 4792e37a73 [make] kill PATH hack 8 years ago
Sam Blackshear c2acc670ef [cleanup] remove unused param from supertype_find_map_opt 8 years ago
Jia Chen f658690846 Whitelist more iterator-related functions and classes 8 years ago