1616 Commits (e5863f542026e51c0d59bce0c3c8ef9f94f13e44)

Author SHA1 Message Date
Peter O'Hearn 47588027eb [threadsafety] analyze all the files and methods
8 years ago
Ryan Rhee 28b741e62c [componentkit] Compute Cyclomatic Complexity
8 years ago
Andrzej Kotulski 7a5e53262a [DB] kill abs_source_file_from_path
8 years ago
Andrzej Kotulski 7d22130deb [clang] Refactor CompilationDatabase modules
8 years ago
Andrzej Kotulski 7a0a89e567 [DB.source_file] Explicitly specify what path is relative to, keep cpp model paths relative
8 years ago
Ryan Rhee ccb51912e1 [componentkit] Compute line count for main file
8 years ago
Cristiano Calcagno 31e6f19ab2 [debug] Don't keep a copy of source files in the results directory
8 years ago
Ryan Rhee 661de290e7 [componentkit] Gate analytics behind flag
8 years ago
Martino Luca 7c9612b06b [CTL] Add support for is_unop_with_kind/is_binop_with_kind predicates to check correctness of their inputs
9 years ago
Andrzej Kotulski cd6e9e8b21 [InferPrint] Kill --source-file-copy option
9 years ago
Dulma Churchill e8085d5996 [linters] Fix perf problem in the linters, added tests
9 years ago
Andrzej Kotulski 338a8563a1 [clang] Don't filter entries when populating compilation database
9 years ago
Jeremy Dubreil 3299f74068 [infer][java] removing Thread.start() special treatment
9 years ago
Ryan Rhee a2c8c94a3b [componentkit] Move is_in_main_file check to CTL
9 years ago
Andrzej Kotulski b2cef3e0b2 [DB] Alawys use DB.source_file_to_abs_path to do actual filesystem operations
9 years ago
Andrzej Kotulski 548918e524 [tests] extend compilation database test with changed-files-index options
9 years ago
Josh Berdine 34739522c0 [utils] Add CTypes binding of fts and implement remove_directory_tree
9 years ago
Sam Blackshear 8d427cfda6 [reporting] add space to context leak error message
9 years ago
Sam Blackshear a6121a9fb0 [guarded-by] support `Classname.fieldname` syntax
9 years ago
Jules Villard 86cb2f4938 [toplevel] fix various things
9 years ago
Josh Berdine 1bbbf658de [report] Fix report script and inherit std file descriptors when invoking
9 years ago
Sam Blackshear 708c0bf1f8 [backend] eliminate phantom spaces in printing of types
9 years ago
Josh Berdine 9bf0360eca [linter] Remove dependency on core_extended
9 years ago
Josh Berdine d808baba1a [driver] Make analysis of non-java and buck cdb build modes python-clean
9 years ago
Josh Berdine cb412826c3 [driver] Make `infer -- analyze` almost python-clean
9 years ago
Peter O'Hearn 733646ba09 [GuardedBy] Fix Subclassing False positive
9 years ago
Sam Blackshear adacee51e2 [quandary] switch to --issues-tests printing
9 years ago
Sam Blackshear 37610b5180 [quandary] faster access list comparisons
9 years ago
Sam Blackshear b320714edd [quandary] optimizing Quandary compare functions
9 years ago
Jules Villard 17179d4275 [siof] take POD into account
9 years ago
Jules Villard 05c72f510a delete llvm/ directory checked in by error
9 years ago
Jules Villard 15d80e04df [tests] record summary of bug traces
9 years ago
Jules Villard 68332a16a0 [clang] always print clang errors on stderr
9 years ago
Dino Distefano 0ed033a32e Removing the dispatcher for linters.
9 years ago
Andrzej Kotulski 4512fcd8ef [tests] Create integration tests for clang translation logic
9 years ago
Sam Blackshear 8d48c108ca [quandary] add Errlog traces
9 years ago
Jeremy Dubreil ba62932760 [infer][java] Translate the local variables directly from the bytecode
9 years ago
Andrzej Kotulski 90f3712555 add reactive capture flag
9 years ago
Sam Blackshear 5c2666a07c [quandary] filter the footprint sources in Trace.should_report
9 years ago
Josh Berdine a739931c92 [config] Remove unnecessary -classpath option
9 years ago
Peter O'Hearn 7a04ed32f5 [threadsafety] interprocedural
9 years ago
Jules Villard 281d5b49fe [tests] sort bugs in InferPrint
9 years ago
Peter O'Hearn 171d1d6d43 [threadsafety] run thread safety checker on its own
9 years ago
Jeremy Dubreil 2320ed8af3 [infer][java] Infer does not really rely on having compliant bytecode to run the analysis
9 years ago
Jeremy Dubreil 02ce9a909a [infer][java] only skip the classes where Javalib raises an exception instead of skipping all the classes
9 years ago
Sam Blackshear 75d6fb30e4 [frontend] support Java 8
9 years ago
Dulma Churchill b792d04fbd [clang] Integration with xcpretty and compilation database
9 years ago
Jeremy Dubreil 21a568aba8 [infer][java] Fix spurious class cast excpetion reports when casting arrays of primitive types
9 years ago
Andrzej Kotulski 1a4d165d44 [utils] Cache results of realpath
9 years ago
Dino Distefano 6ffaded4be Modified the hardcoded CTL formulas in preparation to dispatcher removal
9 years ago
Jules Villard 0085417e0d [siof] better error reports using `Errlog.loc_trace`s
9 years ago
Jules Villard 25759199cf [make] use install instead of cp when appropriate
9 years ago
Jules Villard 5bd8b7fa95 [make] compatibility with Debian testing
9 years ago
Jules Villard 7705ffbc31 [checkers] rename to_callee -> with_callsite
9 years ago
Jules Villard caf9537305 [refactoring] add make_trace_element to Errlog
9 years ago
Josh Berdine 25c9d8ae49 [logging] Delay re-creation of log dir until log files created
9 years ago
Andrzej Kotulski 9fb8931990 don't create infer-out/build_output directory
9 years ago
Cristiano Calcagno c5159bae1c [IR] Move Procdesc module to a separate file.
9 years ago
Sam Blackshear e8b61f6dbb [quandary] fix false positives from procedures that are both sources and sinks
9 years ago
Sam Blackshear 4b4e4e6f4d [quandary] understand that parameters are passed by value in Java
9 years ago
Josh Berdine dcf67c455f [linter] Make checkCopyright indep of Utils, and fix build
9 years ago
Jeremy Dubreil 274851fc53 [infer][java] mark all methods as defined
9 years ago
Sam Blackshear 8784b9b946 [backend] fix cursor leak FPs
9 years ago
Jules Villard 54c3ac41f2 [inferprint] do not print all specs when passed individual specs files
9 years ago
Josh Berdine 3021394a10 [config] Remove unnecessary --models
9 years ago
Josh Berdine 16010adab4 [refactor] InferAnalyze init code to InferAnalyzeExe
9 years ago
Josh Berdine b2680d72d0 [config] Make Config.analyzer non-optional, with None = Some Infer
9 years ago
Josh Berdine f22d03903a [logging] Delay creation of log files until they are used
9 years ago
Josh Berdine 426f29fb3c [make] Silence expected warnings and other spew from tests
9 years ago
Cristiano Calcagno 7e4710004e [perf] Use load average limit only during buck analysis
9 years ago
Sam Blackshear ba7cef4657 [backend] differentiate unknown methods and methods with empty summaries
9 years ago
Andrzej Kotulski 459ec32081 kill Location.nLOC
9 years ago
Sam Blackshear f35a969def [context leaks] don't report context leak if reachable context type is null
9 years ago
Jules Villard cbe15b3b5a [build] move not-clang-only modules to a new (old) integration/ directory
9 years ago
Andrzej Kotulski 1cbc812502 System calls to filesystem are expensive, call them with care
9 years ago
Peter O'Hearn be977e7318 Turn GuardedBy Reporting on by default
9 years ago
Sam Blackshear fcf57c6e09 [siof] add fancy interprocedural reporting
9 years ago
Jeremy Dubreil 3b997e4882 [infer][java] Isolate the call to the JBir transformation to a single place
9 years ago
Cristiano Calcagno 1b07f78e32 [backend] Fix back-end issue where summaries are modified before saving to disk, but not in the table in memory.
9 years ago
Jeremy Dubreil 2e16920f5a [infer][java] Skip the translation of modeled methods earlier
9 years ago
Jules Villard d5e7ee0d82 [tests] run tests using report.json and record all bugs + exceptions
9 years ago
Andrzej Kotulski 4d43f0e5d8 [clang] Remove CLocation.curr_file
9 years ago
Dulma Churchill bf14034289 [clang] Do compilation database capture in OCaml directly
9 years ago
Sam Blackshear a8129be763 [traces] expose source-sink paths so users of traces can custom-print them
9 years ago
Jeremy Dubreil b3e406ddf3 [infer][java] Simplify the API to translate Java method names into SIL procedure names
9 years ago
Jules Villard e757d92e72 [print] print tests results from result.json, not the specs
9 years ago
Jules Villard 2cd0151e30 [python] restore project_root option and use it to find source files
9 years ago
Jules Villard 2f5d132734 [config] normalize all paths options
9 years ago
Jeremy Dubreil 15ddf8b921 [infer][backend] More functions from the Specs module taking a summary as parameter
9 years ago
Cristiano Calcagno af54b5da4b [backend] Change path iteration to get shorter error traces.
9 years ago
Josh Berdine 3ae2b41241 [refactor] Call StatsAggregator from Infer instead of from python
9 years ago
Josh Berdine 3af3ed3dfd [config] Remove unused --absolute-paths
9 years ago
Jeremy Dubreil 9baea70548 [infer][backend] More consistent API to check if a procedure is currently being analyzed
9 years ago
Sam Blackshear 5358646c6f [siof] convert domain to sink trace of pvar's
9 years ago
Andrzej Kotulski 80f25d17fd [tests] Create simple compilation database integration test
9 years ago
Sam Blackshear 0b9727214d [quandary] support `StringBuilder`'s and other methods for propagating `String` taint
9 years ago
Sam Blackshear ae5f8eff0d [traces] Move all trace-related files to checkers
9 years ago
Jules Villard 8c481d2d9f [clang] pass -fno-cxx-modules to clang -### instead of the clang -cc1 commands
9 years ago
Sam Blackshear fde7a6ecf3 [quandary] support for full interprocedural traces
9 years ago
Cristiano Calcagno e933ee958a [IR] Rearrange the cfg module to make nodes, procd descs, and cfgs independent types.
9 years ago
Josh Berdine 7c4c40b6b0 [refactor] Move StatsAggregator from scripts to backend
9 years ago
Josh Berdine 9f42c047fe [refactor] InferAnalyze initialization code into separate Exe module
9 years ago
Josh Berdine e9654ca51d [refactor] Separate InferPrint initialization code into separate Exe module
9 years ago
Josh Berdine bf40ff99e7 [reporting] Create report files from InferPrint not Config
9 years ago
Josh Berdine 216812a615 [driver] Add skeleton capture and analysis driver to infer.ml
9 years ago
Josh Berdine 7fc5b4d55d [siof] Make siof reporting closer to other checkers
9 years ago
Josh Berdine ae7979b416 [multicore] Use Config.bin_dir to find InferAnalyze
9 years ago
Josh Berdine 6b0abe3b57 [config] Do not pass options to clusters via INFER_OPTIONS
9 years ago
Josh Berdine cf657b0e53 [config] Pass classpath via CLOpt.args_env_var
9 years ago
Josh Berdine b7675dd2a2 [config] Remove unused --absolute-paths option
9 years ago
Josh Berdine a11910d535 [config] Remove unused --objc-arc option
9 years ago
Josh Berdine 4869715168 [config] Remove unnecessary --java option
9 years ago
Josh Berdine 2ce94632d2 [config] Default project_root to initial working dir
9 years ago
Josh Berdine ea696ff96d [config] Set checkers flags based on analyzer in Config
9 years ago
Josh Berdine c8a77b0ae2 [config] Set debug child options in Config
9 years ago
Josh Berdine 6aca954e72 [config] Do not pass --inferconfig-home from python
9 years ago
Josh Berdine c729d26386 [config] Default to --allow-specs-cleanup
9 years ago
Josh Berdine 32a60e05f4 Unbreak master
9 years ago
Andrzej Kotulski 76d336dba7 [clang capture] Exit clang capture when clang fails
9 years ago
Sam Blackshear ea26d6f179 [siof] convert domain to sink trace of pvar's
9 years ago
Sam Blackshear 31093801d4 [traces] Move all trace-related files to checkers
9 years ago
Sam Blackshear 768a60caca [quandary] support for full interprocedural traces
9 years ago
Andrzej Kotulski 28827b461a [clang] Get translation unit language from AST dump
9 years ago
Jules Villard c93bbbbbc5 [clang] run assembly commands with the fcp clang
9 years ago
Cristiano Calcagno a71902355f [debug][dotty] Fix issue in dotty output where overloaded functions were conflated
9 years ago
Josh Berdine e747d21e0c [refactor] Rename CTypes and CTypes_decl modules
9 years ago
Sam Blackshear 9968245a43 [quandary] move source and sink kinds into their own modules
9 years ago
Cristiano Calcagno d1f8894a9a [debug][html] Distinguish debug html files for same node in different procedures
9 years ago
Andrzej Kotulski aa3ebf117c [clang] Kill CFrontend_config.json field
9 years ago
Peter O'Hearn 2d424b7779 skipping ReadWrite Locks
9 years ago
Sam Blackshear 874e7f000d [quandary] functions that transitively return sources are sources, not passthroughs
9 years ago
Dulma Churchill 6b793a34b5 [clang] Fix crash in analysis of ios apps with json
9 years ago
Cristiano Calcagno 73c5dfdfa4 [IR] Remove use of Cfg.Node.get_proc_desc
9 years ago
Josh Berdine 1bd6615abc [config] Treat default models_jar in ZipLib instead of analyze.py
9 years ago
Sam Blackshear d76a7ef43a [quandary] functions that transitively call sinks are sinks, not passthroughs
9 years ago
Peter O'Hearn e91742afea Support @SuppressLint("InvalidAccessToGuardedField")
9 years ago
Josh Berdine 4422893bbd [RFC] Remove CSV and JSON munging python code
9 years ago
Josh Berdine 849799246b [config] Clean up spec library options
9 years ago
Sam Blackshear 678d0ff4e9 [quandary] don't double-report when applying summaries
9 years ago
Andrzej Kotulski e9ccdb7d50 [clang capture] Make sure to always run clang from facebook-clang-plugins
9 years ago
Yunxing Dai 35d24c6504 Remove a test call to Core
9 years ago
Yunxing Dai db08df930a Add tuareg and core as dependencies
9 years ago
Sam Blackshear 21f9bd1ed6 [quandary] fix crash from returning exceptions that read from the environment
9 years ago
Andrzej Kotulski 08d4465e1d [refactor] Refactor SymExec Sil.Call pattern match
9 years ago
Andrzej Kotulski 46592ffdd9 [backend] Split construction of builtin pnames and builtin registration
9 years ago
Josh Berdine eee940b2a1 [config] Convert FCP env vars to Config options
9 years ago
Sam Blackshear 7ae58d78c3 [infer] fix .class synchronization false-positive in guarded-by check
9 years ago
Jules Villard a9f3a70b93 [checkers] print checkers summary in InferPrint
9 years ago
Andrzej Kotulski ed29bfef52 [logging] Provide binary type to logging module
9 years ago
Josh Berdine 698ebe8049 [clang] Remove INFER_XX environment variable
9 years ago