7283 Commits (5a71583c72f672f3d0c801623d1f64fd71dba313)

Author SHA1 Message Date
Nikos Gorogiannis 2bbd25087c [buck] java & clang combined capture
5 years ago
Jules Villard 090ce4edb9 [IR] delete unused Issue types
5 years ago
Jules Villard a5203ced4e [docs] add checker to issue types
5 years ago
Jules Villard f8e71ceb1e [topl] make TOPL its own checker
5 years ago
Nikos Gorogiannis 624e5598ff [nullsafe] fix unused variable
5 years ago
Nikos Gorogiannis 863b4160fc [buck] move config flags to Buck module
5 years ago
David Pichardie 8c82072cb0 First version of a devirtualization pre-analysis (Java frontend)
5 years ago
Mitya Lyubarskiy a148812ac8 [nullsafe] Recommend only `LOCAL` mode for promotion.
5 years ago
Martin Trojer 89dbb41ca8 Change parsing of buck output for infer-deps.txt
5 years ago
Sungkeun Cho d5b7130eb5 [pulse] Fix limitation of disjuncts
5 years ago
Josh Berdine 61566caddf [ocamlformat] Set break-sequences = true
5 years ago
Josh Berdine 65f369cf35 [ocamlformat] Reformat repo with new version
5 years ago
Josh Berdine cfc861a186 [ocamlformat] Bump version of ocamlformat to 0.14.2+8
5 years ago
Josh Berdine f15939ecdc [ocamlformat] Fix accumulated missed formatting
5 years ago
Ezgi Çiçek 4f97296e55 [cost] Remove cold-start issues
5 years ago
Jules Villard 8a0d584121 [java] ability to call directly into the Java source parser for debug
5 years ago
Jules Villard bf97abfbd3 [pulse] add Java tests
5 years ago
Jules Villard 65d2bc692d [pulse] enable for Java
5 years ago
Nikos Gorogiannis 4af4cdfbdb [buck] split flavor handling/capture into own module
5 years ago
Jules Villard e9118afccd [junk] delete infer/src/java/doc.odocl
5 years ago
Dulma Churchill 3cdb9f322e [IR] Fix the function hashable_name for ObjC methods
5 years ago
Daiva Naudziuniene b25d3e39ef [uninit] Use type information from locals if argument is a pointer in function signature
5 years ago
Jules Villard e29a9033bb documentation for new libraries
5 years ago
Sungkeun Cho 4e64657d50 [frontend][clang][RFC] fix translation of enum constant
5 years ago
Dulma Churchill ef7bc324e3 [pulse] Add a flag to model methods for memory ownership transfer
5 years ago
Jules Villard aad4f581e8 [deadcode] create deadcode/dune only when needed
5 years ago
Jules Villard f6a11df9e0 [checkCopyright] detect language of dune files
5 years ago
Daiva Naudziuniene ca2ec281c7 [pulse] Model for iterator operator--
5 years ago
Daiva Naudziuniene eaf95951f5 [pulse] Modeling std::vector::end()
5 years ago
Ezgi Çiçek faceece120 [pulse] Brush up List.set() model
5 years ago
Mitya Lyubarskiy bb37447bd5 [nullsafe] Log class hierarchy for file level analysis
5 years ago
Sungkeun Cho b3770d0f17 [litho] Add sematics of assume null
5 years ago
Ezgi Çiçek 5ff6fc93a0 [pulse] Brush up Java iterator models
5 years ago
Mitya Lyubarskiy 2decf834ed [nullsafe] Model nullability of special enum methods
5 years ago
Nikos Gorogiannis 8d83fc3969 [config] remove noop option --procedures-per-proc
5 years ago
Jules Villard b8c5192ea1 remove unused accessPathDomains
5 years ago
Jules Villard a515d1f4b0 finish dune-ification with tests and main binaries
5 years ago
Jules Villard 041ecc5b43 rename most libraries to be more consistent
5 years ago
Jules Villard 0b4254caa2 integration/dune
5 years ago
Jules Villard 6e68448e3b clang/dune, al/dune, test_determinator/dune
5 years ago
Jules Villard c661baffe7 java/dune
5 years ago
Dulma Churchill 40143ab01c [pulse] Model CFRelease as removing the Allocated attribute rather than as free
5 years ago
Sungkeun Cho 2674631e59 [inferbo] Suppress internal error
5 years ago
Jules Villard 4b06996805 [dune] accomodate osx stupidity
5 years ago
Jules Villard 3bc350331d backend/dune
5 years ago
Jules Villard 0f95d16ac1 labs/dune
5 years ago
Jules Villard efd8e767cb concurrency/dune
5 years ago
Jules Villard 0e40c62a7e turn racerd and starvation into `interprocedural` and `file` checkers
5 years ago
Jules Villard 3e76e48657 [starvation] make `reporting` a `Interprocedural.file_t`
5 years ago
Jules Villard 40a8b9544c [starvation] move global analysis to backend/
5 years ago
Jules Villard e06487868b make Reporting take a Procdesc instead of attributes
5 years ago
Jules Villard 15a85a1734 rename analysis_data.analysis_data to analysis_data.interproc
5 years ago
Jules Villard cacbd09910 [istd] delete unused [is_singleton]
5 years ago
Jules Villard bcb5b8356f topl/dune
5 years ago
Jules Villard 2ac24f67e2 quandary/dune
5 years ago
Mitya Lyubarskiy c0b9617db3 [nullsafe] More consistent version of anonymous classes in JavaClassName
5 years ago
Mitya Lyubarskiy 6305bc9e47 [nullsafe] Improve diagnostic message
5 years ago
Sungkeun Cho d373a81b73 [pulse] Keep only one disjunct from blacklisted function
5 years ago
Jules Villard 0d3150d217 cost/dune
5 years ago
Jules Villard 92f258c8fe checkers/dune
5 years ago
Jules Villard 221e7bd6b4 make uninit an `interprocedural`
5 years ago
Jules Villard 2fee63ef75 make printfArgs an `intraprocedural`
5 years ago
Jules Villard 1de6dac41a make liveness an `intraprocedural`
5 years ago
Jules Villard e3300230cc make InefficientKeysetIterator an `intraprocedural`
5 years ago
Jules Villard 2a696e6fb4 make impurity an `intraprocedural_with_field_dependency`
5 years ago
Jules Villard dd71a5a7e4 make FragmentRetainsView an `intraprocedural`
5 years ago
Jules Villard 74497ea7df make ClassLoads an `interprocedural`
5 years ago
Jules Villard 34ae47a1b3 make annot reach an `interprocedural`
5 years ago
Jules Villard 87f031ec38 make SelfInBlock an `intraprocedural`
5 years ago
Jules Villard b6a7120b5f make RequiredProps an `interprocedural`
5 years ago
Jules Villard 7e5dba718a pulse/dune
5 years ago
Jules Villard a34e1a8759 bufferoverrun/dune
5 years ago
Jules Villard 9c84d34569 making inferbo and its many friends an Interprocedural.t
5 years ago
Jules Villard f41575411c make pulse take an `InterproceduralAnalysis.t`
5 years ago
Jules Villard c8882e308c make Siof take an Interprocedural.t
5 years ago
Jules Villard bafb74ffcc extract functionality in new module for documentation
5 years ago
Jules Villard 9882be35f1 move registerCheckers to backend/
5 years ago
Nikos Gorogiannis deee3ef284 [process] redirect desired output stream to file, while logging the other one
5 years ago
Jules Villard 139098551a nullsafe/dune
5 years ago
Jules Villard 3e3b5b1f1d move Printer.LineReader to its own file in base/
5 years ago
Jules Villard c0440f29ae [nullsafe] remove unused `tenv` argument from dataflow framework
5 years ago
Jules Villard f86d9193a9 [nullsafe] stop using SummaryReporting
5 years ago
Sungkeun Cho 1ed9f2f9b6 [cost] Add model for IntHashMap.keys
5 years ago
Nikos Gorogiannis 91e0b4c7a0 [racerd] fix bug in c++ mode
5 years ago
Nikos Gorogiannis 2fefe5ac91 [racerd] decouple deduplication logic from reporting function
5 years ago
Mitya Lyubarskiy 045649abaf [nullsafe] Aggregate meta-issues for top-level classes
5 years ago
Jules Villard 57fce4315a [nullsafe] kill Summary.OnDisk.proc_is_library
5 years ago
Jules Villard d369eba15e [nullsafe] get rid of Ondemand dependency
5 years ago
Jules Villard 895811cc97 [nullsafe] make eradicate file analysis an Interprocedural.file_t
5 years ago
Jules Villard d8d38655b1 [nullsafe] make eradicate an Intraprocedural.t
5 years ago
Jules Villard a11791d5fc [nullsafe] the analysis should not depend on inter-procedural summaries
5 years ago
Nikos Gorogiannis 54669287c0 [buck-java] sort infer-deps before merge
5 years ago
Nikos Gorogiannis 2973828675 [buck-compdb] use wrapper that protects from SIGQUIT
5 years ago
Nikos Gorogiannis 8843bb00a8 [buck-java] use buck wrapper that protects from SIGQUIT
5 years ago
Jules Villard de47214bcd [absint] do not log restart scheduler exceptions
5 years ago
Nikos Gorogiannis c07e578539 [buck] protect from sigquit and standardise
5 years ago
Jules Villard d14ff99f45 [pudge] try harder to prove false
5 years ago
Jules Villard 2da04b835d [pulse] require ptr>0 in free()
5 years ago
Jules Villard 385b6fa914 [pulse] revamp arithmetic, put everything in the path condition
5 years ago
Ezgi Çiçek ffde64c0c9 [litho] Don't suppress reports on private methods
5 years ago
Mitya Lyubarskiy b419541af2 [nullsafe] Skip analysis of autogen methods
5 years ago
Jules Villard 5c453393ff [pulse] recency model for memory accesses
5 years ago
Mitya Lyubarskiy d01ada643d [nullsafe][EASY] Logs when we suppress reporting
5 years ago
Artem Pianykh 064b4786f1 [nullsafe] Mark @Nullsafe with @TypeQualifierDefault&Co for Kotlin interop
5 years ago
Jules Villard c2ec55fe37 [pulse] remove traces from interval domain
5 years ago
Dulma Churchill 6c044ba2d4 [pulse] Model Core Foundation create and copy functions
5 years ago
Sungkeun Cho a61965d622 [cost] Revise suppressing cost reports
5 years ago
Nikos Gorogiannis f207b3dfda [racerd] rationalize test suite
5 years ago
Jules Villard 2d8debc562 [pulse] invalidate vector backing array correctly
5 years ago
Jules Villard b94af98936 [nullsafe] move tests nullsafe-default/ -> nullsafe/
5 years ago
Jules Villard b1e35a728d [biabd] rename test directories from {biabduction,errors,infer} to {biabduction}
5 years ago
Jules Villard a26fb42631 [biabd] less aggravating ant test
5 years ago
Jules Villard ae9f0ede41 biabduction/dune
5 years ago
Jules Villard 43586dd8c5 [biabd] stop depending on nullsafe
5 years ago
Jules Villard f519d3e183 Interproc free of SummaryReporting
5 years ago
Jules Villard 30d61f4329 Tabulation free of SummaryReporting
5 years ago
Jules Villard eb336fc4b7 SymExec free of SummaryReporting
5 years ago
Jules Villard a0b237fe06 another one
5 years ago
Jules Villard 8dabbd5eda more of the less SummaryReporting
5 years ago
Jules Villard d5c8a38fc3 one more instance of SummaryReporting gone
5 years ago
Jules Villard 540a2a7749 one instance of SummaryReporting gone
5 years ago
Jules Villard 616a534a44 biabduction is an InterproceduralAnalysis.t
5 years ago
Jules Villard e7ef387dfd add AnalysisCallbacks.proc_resolve_attributes
5 years ago
Jules Villard 0feda26ba1 use NodePrinter in biabduction/
5 years ago
Jules Villard 0d4b57a625 absint/dune
5 years ago
Jules Villard be101b6bb4 split off parts of State unrelated to biabduction
5 years ago
Jules Villard 0859f61695 make AbstractInterpreter agnostic in ProcData
5 years ago
Jules Villard 858fdcf4db move a bunch of files to/from absint/
5 years ago
Jules Villard a144c8e4df split reporting.ml for dependencies
5 years ago
Jules Villard d8e3cea7fd put JProcname in IR/
5 years ago
Jules Villard 7720e5ea3f [callbacks] get_procs_in_file does not need to be a callback arg
5 years ago
Jules Villard c1d603f6b2 add .mli to Scheduler
5 years ago
Jules Villard 3ebca8fd46 [AI] premature exception reraising is premature
5 years ago
Jules Villard 9a6cafe6ec execute checkers in the order they are registered
5 years ago
Jules Villard 5580bc8901 [deadcode] keep intermediate files around on failure
5 years ago
Dulma Churchill 2b0ff5d160 [pulse] Add interproc tests for CFBridgingRelease model
5 years ago
Dulma Churchill f28d75c910 [pulse] Add model for malloc_no_fail
5 years ago
Dulma Churchill fa13577695 [pulse] Model __bridge_transfer
5 years ago
Jules Villard 4ad899b37e [mod_dep] cluster by directory
5 years ago
Jules Villard 44108c2392 delete ondemand capture
5 years ago
Mitya Lyubarskiy 16859e0961 [nullsafe] Don't explicitly recommend annotating a nested class as @Nullsafe
5 years ago
Mitya Lyubarskiy 243564be90 [nullsafe] Recommend adding a class to trust list for @Nullsafe trust some/none modes
5 years ago
Mitya Lyubarskiy bf1c593d07 [nullsafe] Make Trust list a closed type, and expose only emptiness.
5 years ago
Mitya Lyubarskiy d5862b0a22 [nullsafe] Add checks to warn about misuse of nested class @Nullsafe annotations
5 years ago
Sungkeun Cho cba51c6a47 [inferbo] Refactoring model list
5 years ago
Sungkeun Cho 9f81b7c880 [inferbo] Add models of infer annotations
5 years ago
Mitya Lyubarskiy 6790417e82 [nullsafe][EASY] Fix a typo in the name of Nullsafe mode in the error message
5 years ago
Sungkeun Cho 3aaf260b8b [inferbo] Add model of Class.getCanonicalName
5 years ago
Mitya Lyubarskiy 0b6c5172a8 [nullsafe] Nested classes should inherit mode from the outer one
5 years ago
Mitya Lyubarskiy fccf66968f [nullsafe] A helper function to extract outer class.
5 years ago
Mitya Lyubarskiy d3ad7880b2 [nullsafe] Make trust list operate over sets instead of lists
5 years ago
Daiva Naudziuniene 247ecb813d [pulse] Fix traces for iterator invalidation errors
5 years ago
Nikos Gorogiannis ab79b2966a [racerd] refactor transition function
5 years ago
Mitya Lyubarskiy 5d8b4947fe [nullsafe] NullsafeMode operates over JavaClassName
5 years ago
Mitya Lyubarskiy fda7f4aa8c [nullsafe] Anonymous classes should inherit mode from the user-defined nested owner
5 years ago
Mitya Lyubarskiy 47540c9662 [nullsafe][EASY] Add more logs around issue reporting
5 years ago
Nikos Gorogiannis 581af4856e [racerd] fix unknown-returns-owned option to true and remove
5 years ago
Nikos Gorogiannis 07175f163c [racerd] make unknown-returns-owned true by default
5 years ago
Sungkeun Cho 7bf7d24e4b [inferbo] Add model of Enum.name
5 years ago
Sungkeun Cho 7b6ddba689 [inferbo] Revise models of Collection.set and get
5 years ago
Ezgi Çiçek 269cdb80d9 [pulse] Model `StdVector` allocator
5 years ago
Ezgi Çiçek eed39540f3 [frontned][clang] Fix the translation of CXXStdInitializerListExpr
5 years ago
Nikos Gorogiannis 7e34576bcc [racerd] recognise wrappers that make containers thread-safe
5 years ago
Nikos Gorogiannis 8f351669bf [racerd] update synchronized java container class models
5 years ago
Nikos Gorogiannis ad334aef65 [racerd] improve and complete container models
5 years ago
Dulma Churchill c76d59853b [pulse] Model CFBridgingRelease by removing the Allocated attribute
5 years ago
Sungkeun Cho 7fbe04f701 [cost] Suppress cost issues on lambda and auto-generated procedures
5 years ago
Jules Villard 3332dc1a42 [AI] improve disjunctive domain
5 years ago
Jules Villard edba795825 [AI] move disjunctive scheduling to AbstractInterpreter
5 years ago
Jules Villard 60184a5e73 [AI] light internal refactoring of the scheduler
5 years ago
Jules Villard 401ecc2406 [IR] `Instrs.empty` and `Instrs.singleton` have both directions
5 years ago
Ezgi Çiçek b0da1c6837 [frontend][clang] Remove call to skip when translating CXXStdInitializerListExpr
5 years ago
Mitya Lyubarskiy a7e8bb5f4d [reporting] Don't secretly hide `Info` issues
5 years ago
Jules Villard 50feb5481c [pudge] only ask unsat when reporting
5 years ago
Jules Villard 822a78c576 [pudge] lazily compute sledge stuff
5 years ago
Jules Villard 3220804ddb [pulse] add a cache of constants to equate them
5 years ago
Mitya Lyubarskiy 196043ab61 [nullsafe] Don't specify full class name in meta-issue text
5 years ago
Nikos Gorogiannis 73dda893ed [racerd] record dynamic types used in constructors for synchronized containers
5 years ago
Mitya Lyubarskiy 94b75585e5 [nullsafe] x-plat friendly JSON data for nullsafe metainfo
5 years ago
Daiva Naudziuniene dae7f36339 [pulse] Vector iterator model
5 years ago
David Pichardie ccb2d23c5b Make source file baby parser fails silently
5 years ago
Nikos Gorogiannis 72819a3865 [racerd] remove ownership init logic for locals
5 years ago
Jules Villard 36f44f030d [pudge] spit out sledge replay tests
5 years ago
Jules Villard 7a888170e7 [pudge] it's alive!
5 years ago
Jules Villard ab41305509 [pudge] Add a dependency on the sledge lib
5 years ago
Nikos Gorogiannis 3b46c3b4da [racerd] refactor analysis driver function
5 years ago
Sungkeun Cho 572af451a9 [inferbo] Sanity check when constructing a set of known locations
5 years ago
Mitya Lyubarskiy 6a75ba6429 [nullsafe] Take into account Lambda classes in JavaClassName
5 years ago
Sungkeun Cho 2152af123d [inferbo] Remove dead check in appending field to location
5 years ago
Mitya Lyubarskiy 54c4715adc [nullsafe] Specify the right class location in meta-issue info
5 years ago
Sungkeun Cho 30ca51366d [inferbo] Do not append field to the unknown location
5 years ago
Dulma Churchill bdba1db6ef [biabduction] Remove the flags for modelling alloc and release functions that are unused
5 years ago
Dulma Churchill 2d168f75a6 [pulse] Add options for modelling alloc models and free models from user-defined regexes.
5 years ago
David Pichardie b22f7c83d5 Java source baby parser for class declaration locations
5 years ago
Daiva Naudziuniene db965085b9 Fix tests
5 years ago
Mitya Lyubarskiy c4c8c053a1 [nullsafe] Treat not annotated synthetic fields as StrictNonnull
5 years ago
Jules Villard 6247437296 [pulse] unified API for arithmetic
5 years ago
Jules Villard 0a8ad85596 [pulse][minor] rename AbductiveDomain.Domain -> AbductiveDomain.PostDomain
5 years ago
Jules Villard af2aaf2a14 [pulse][minor] remove skipped_calls getter
5 years ago
Jules Villard bb9726bbd7 [pulse] enforce short forms for PulseDomainInterface
5 years ago
Jules Villard 94e3b06900 [pulse] enforce short forms for PulseBasicInterface
5 years ago
Jules Villard a0d1fee1dc [pulse] move SkippedCalls to its own file
5 years ago
Jules Villard c00de7ad27 [pulse] move interproc call to its own file
5 years ago
Jules Villard 9ed10d435b [pulse][minor] simplify rewriting of callee post attributes
5 years ago
Mitya Lyubarskiy 1eb762f935 [nullsafe] Recommend "trust none" as a promotion mode, when it is possible.
5 years ago
Mitya Lyubarskiy 9397b68650 [nullsafe] Introduce LocallyTrustedNonnull nullability
5 years ago
Mitya Lyubarskiy 199d53f748 [nullsafe] Unsync documentation from Nullability.ml and .mli
5 years ago
Mitya Lyubarskiy 3a629e46ce [nullsafe] Mode is unchecked unless it is in explicit trust list
5 years ago
Mitya Lyubarskiy ee9cf15d83 [nullsafe] Treat signatures in the class under analysis differently
5 years ago
Mitya Lyubarskiy c2b512c227 [nullsafe] Properly exclude third party methods from analysis
5 years ago
Mitya Lyubarskiy 8cb7f51d5e [nullsafe] Calculate promotion mode as part of meta-issue payload.
5 years ago
Mitya Lyubarskiy f130e580fa [nullsafe] Model FbInjector special functions
5 years ago
Sungkeun Cho a2d3b6fe19 [infer] Use pretty printable set/map for Typ.Name
5 years ago
Nikos Gorogiannis 93fe38bbc3 [logging] replicate internal errors in scuba
5 years ago
Jules Villard 89fd5db0ae [infer-out][9/9] migrate everything else
5 years ago
Jules Villard 8f74e4a3d8 [infer-out][8/9] kill --test-determinator-output
5 years ago
Jules Villard 7e1f0fdff9 [infer-out][7/9] kill --export-changed-functions-output
5 years ago
Jules Villard 932d3a3f92 [infer-out][6/9] kill --log-file option
5 years ago
Jules Villard cae160cccf [infer-out][5/9] migrate "specs"
5 years ago
Jules Villard b122eaef59 [infer-out][4/9] migrate infer-out/tmp/
5 years ago
Jules Villard 93bce54085 [infer-out][3/9] kill proc_stats.json
5 years ago
Jules Villard b575ad6153 [infer-out][2/9][trivial] unused unused warning
5 years ago
Jules Villard 32565782f4 [infer-out][1/9] move RunState inside ResultsDir
5 years ago
Jules Villard 8d8e0fb9fb [models][easy] cleanup summary loading
5 years ago
Jules Villard 79c5cceecf [java] kill ZipLib (aka specs-in-a-jar)
5 years ago
Jules Villard 224e0b7c52 [java] store specs files same as clang models
5 years ago
Nikos Gorogiannis 4b4caea260 [buck-java] use buck build reports for infer-deps
5 years ago
Dulma Churchill 2382e3d613 [pulse] Model Core Graphics Create and Copy just like malloc
5 years ago
Dulma Churchill 59ea968de8 [pulse] Model the correct CFAutorelease
5 years ago
Jules Villard bf671af2b2 [oss] more flexible way to have opensource stubs
5 years ago
Ezgi Çiçek e1093159b0 [pulse] Distinguish error state at top level
5 years ago
Ezgi Çiçek 8d44265ca1 [impurity] Consider exited functions as impure
5 years ago
Dulma Churchill b29d1a2f5f [pulse] Adding new value history for allocations
5 years ago
Nikos Gorogiannis d8f446a25e [scuba] support string payloads
5 years ago
Sungkeun Cho a152a6131b [inferbo] Give a right location to traces for pruning
5 years ago
Ezgi Çiçek 6105a6ab42 [pulse] Add tests for constant abstract locations
5 years ago
Jules Villard e1d7ce9628 [biabd] cache the list of modelled functions
5 years ago
David Pichardie 50c98db391 Storing class source file locations in Struct (Tenv) records
5 years ago
Mitya Lyubarskiy 3ccacb1f6e [nullsafe] Add nullsafe extras for meta-issues
5 years ago
Sungkeun Cho 2eae5ff88c [inferbo] Find method of interface or abstract class
5 years ago
Sungkeun Cho f0f91b21c6 [inferbo] Distinguish array declaration and size-setting in trace
5 years ago
Jules Villard 7410cebd3b [deadcode] more portable `find` command
5 years ago
Ezgi Çiçek 5a2b285fff [pulse] Distinguish exit state at top level
5 years ago
Nikos Gorogiannis f0afa18cbf [buck] don't die on output parse failures
5 years ago
Dulma Churchill dba4140a7b [pulse] Adding null case to malloc's model
5 years ago
Jules Villard 1cb973b44f [buck] delete infer-out/tmp/ before caching
5 years ago
Jules Villard 44ebe59b99 [config][easy] make Config.temp_file_dir relative and rename
5 years ago
Sungkeun Cho cfe4c62e47 [inferbo] Limit depth of abstract location
5 years ago
Sungkeun Cho d2276c4975 [cost] Re-locate where to print issue with heuristics
5 years ago
Jules Villard 66ed16fd27 [clang] skip initialisation of large compound values
5 years ago