7925 Commits (6b9d68a267d65c44bc023db2a970a4dc0c4ab643)

Author SHA1 Message Date
Jules Villard 2a191060b2 [taskbar] print proc name earlier
4 years ago
Jules Villard c47911359a [preanalysis] more conservative and efficient devirtualizers
4 years ago
Sungkeun Cho cd27695524 [cost] Add model: NSFileManager.contentsOfDirectoryAtURL
4 years ago
Sungkeun Cho dbc33aa427 [cost] Add model: NSKeyedUnarchiver.decodeObjectForKey:
4 years ago
Sungkeun Cho b3c74c4152 [cost] Add models: NSURL.getResourceValue, path
4 years ago
Sungkeun Cho 0f22f1bd95 [cost] Add models: NSOrderedSet.orderedSet, orderedSetWithArray
4 years ago
Ezgi Çiçek 2679bb0b61 [inferbo] Add model for `String.valueOf(char[])`
4 years ago
Ezgi Çiçek 2a28ebfeb4 [inferbo] Remove unused model
4 years ago
Sungkeun Cho 0f44f39b41 [cost] Support closure symbols in operation/allocation cost kinds
4 years ago
Sungkeun Cho 075581ec8d [cost] Extend the polynomial domain for closure field
4 years ago
Nikos Gorogiannis 8ddc9ee48b [starvation] reroute access to set of critical pairs of summary through a fold
4 years ago
Ezgi Çiçek ae3f1d79c9 [inferbo] Replace call to clone with equivalent call to id
4 years ago
Nikos Gorogiannis 2da86aada6 [starvation] push thread into Event type
4 years ago
Mitya Lyubarskiy d0f39f3ce7 [nullsafe] boolean arguments in Preconditions methods are non-nullable
4 years ago
Ezgi Çiçek cbe796e541 [preanalysis] Add a new preanalysis for ObjC's copy and mutableCopy
4 years ago
Nikos Gorogiannis 84e9bea312 [starvation] improve handling of @NonBlocking annotation
4 years ago
Ezgi Çiçek ebee6fd7ba [IR] Track objC protocols in each class
4 years ago
Ezgi Çiçek 8da46d0f0d [inferbo] Add naive models for mutableCopy and copy
4 years ago
Jules Villard 79c6cd37eb [website] misc. minor improvements
4 years ago
Jules Villard ea4f7cf35a [scheduler] document option
4 years ago
Ezgi Çiçek f7fed13d0c [inferbo] Model NSSet/NSOrderedSet as collections
4 years ago
Mitya Lyubarskiy e18c396626 [nullsafe] Register Uri.EMPTY as a known non-nullable field
4 years ago
Ezgi Çiçek f5c2be5543 [frontend] Treat allocWithZone: same as alloc
4 years ago
Ezgi Çiçek ec88edd564 [inferbo] Add model for NSDictionary.initWithDictionary
4 years ago
Sungkeun Cho fb080ac0cc [cost] Extend the polynomial domain (preparation)
4 years ago
Nikos Gorogiannis d36dbca2fd [starvation] refactor event type with records
4 years ago
Nikos Gorogiannis 8df1f12213 [starvation] make simultaneous lock acquisition an atomic event
4 years ago
Sungkeun Cho 5ec6bc7a09 [cost] Refactoring: Avoid using functors that are used only once
4 years ago
Sungkeun Cho 1154a2673a [inferbo] Introduce closure value
4 years ago
Ezgi Çiçek eb0fe0f995 [cost] Refactor dispatch mechanism to be uniform across cost kinds
4 years ago
Jules Villard 0b7e2fb7c7 [pulse] more type-safety around summary and latent issues creation
4 years ago
Jules Villard 7fdb33b710 [pulse] report errors only when the PRUNE nodes along the path are true
4 years ago
Ezgi Çiçek 980f110156 [cost] Add naive model for forEach
4 years ago
Nikos Gorogiannis d2fc917ef9 [gradle] parallelize capture
4 years ago
Sungkeun Cho 4e7fc51ad2 [cost] Add FN tests on enumerator
4 years ago
Mitya Lyubarskiy 506907568b [nullsafe] Store information about nullable method calls as part of issue json
4 years ago
Nikos Gorogiannis b516290b77 [dbwriter] exponential backoff wait for server start
4 years ago
David Pichardie 2c6fd7a617 Running Java source parser from command line
4 years ago
Nikos Gorogiannis 8f13e6ecb3 Fix CPU core calculation
4 years ago
Daiva Naudziuniene 22d317c940 [pulse] Move pulse model flags to .inferconfig for pulse tests
4 years ago
Sungkeun Cho a9e2322bda [closure] Keep closure parameter in specialized procedure
4 years ago
Martin Trojer 26dcd63a25 Revert "upgrade to clang10"
4 years ago
Nikos Gorogiannis 63586d98df [starvation] make analysis work with sil instead of hil
4 years ago
Sungkeun Cho 3dc96deea5 [cost] Fix test: field of object
4 years ago
Mitya Lyubarskiy b019143577 [nullsafe] Record relevant third party method in case of bad param passed.
4 years ago
Sungkeun Cho 03b330214f [cost] Add FN test: saving lambda in object field
4 years ago
Ezgi Çiçek 68597c5908 [cost] Remove --perf-profiler-data-file option and loom_test.json
4 years ago
Sungkeun Cho ead975f193 [closure] Substitute closure parameter when given via variable
4 years ago
Ezgi Çiçek 6678455838 [cost] Rename test files to enable arc lint & editor highlighting
4 years ago
Martin Trojer 15786e8f09 upgrade to clang10
4 years ago
Sungkeun Cho 8222d5fa1f [cost] Ignore tagged pointers in autoreleasepool size
4 years ago
Sungkeun Cho 498b49769c [cost] Add model of NSArray.index_of_object_passing_test
4 years ago
Sungkeun Cho 336e1c7b99 [cost] Refactoring: autorelease size models
4 years ago
Sungkeun Cho ecb409504d [SIL] Change WithBlockParameters to have Block.t
4 years ago
Ezgi Çiçek ee5ccfeb9b [cost] Add differential test for unreachable cost issue type
4 years ago
Jules Villard 6c8fc85e22 [preanalysis] do not nullify vars captured by ref
4 years ago
Sungkeun Cho 6ebc5033a8 [cost] Add model of CFAutorelease
4 years ago
Sungkeun Cho 4aa3338947 [cost] Add autorelease models: some methods of NSKeyedUnarchiver
4 years ago
Sungkeun Cho 83641788d1 [cost] Use prefix convention not returning autoreleased object
4 years ago
Sungkeun Cho 76ad9915a1 [cost] Increase autoreleasepool size when non-ARC call ARC
4 years ago
Ezgi Çiçek e1806cbbb2 [cost] Don't compare callsite location for symbols
4 years ago
Mitya Lyubarskiy 190216ca3a [nullsafe][refactor] More functional-style code for building errors
4 years ago
Daiva Naudziuniene 91a33f6edc [frontend] Captured struct variables in cpp lambdas
4 years ago
Daiva Naudziuniene 857daf63c9 [frontend] Capture reference variables
4 years ago
Daiva Naudziuniene 42abe5b277 [frontend] Fix type of captured vars in lambda's body
4 years ago
Daiva Naudziuniene ff7cd86140 [frontend] Rearrange translation of lambda's body
4 years ago
Daiva Naudziuniene 996c1b63e0 [frontend] Check if a method is a cpp lambda call operator
4 years ago
Daiva Naudziuniene d0cb245303 [frontend] Fix capture init for cpp lambdas
4 years ago
Sungkeun Cho d13ae13a71 [pulse] Fix linting issue
4 years ago
Qianyi Shu 88eb380cc3 [cost] fix objc block name comparison
4 years ago
Qianyi Shu 8a844ab67f [cost] add differential cost test for objc
4 years ago
Mitya Lyubarskiy bc4b1882dc [nullsafe] Add a field to jsonbug_t: unvetted third party methods
4 years ago
Mitya Lyubarskiy ee0b62b958 [nullsafe] Always output `nullsafe_extra` to the result json
4 years ago
Mitya Lyubarskiy 58e897edd0 [nullsafe][refactor] Consolidate information about the issue to be reported
4 years ago
Jules Villard 931cf2d72b [pulse][minor] resolve mysterious 'a in .mli
4 years ago
Jules Villard 03bc3f31c8 [pulse] add option to skip functions/classes
4 years ago
Sungkeun Cho cebf95afc4 [cost] Select autorelease trace with bigger polynomial
4 years ago
Sungkeun Cho 9f43c88565 [cost] Add a FN test using block (autoreleasepool)
4 years ago
Sungkeun Cho a40ad1c733 [cost] Report with relative paths on xcode_isysroot in tests
4 years ago
Nikos Gorogiannis 3f737cbd49 [biabduction][models] delete objcpp copy
4 years ago
Ezgi Çiçek 22e25fda76 [inferbo] Ignore symbolic values in ranges when upper bound is constant
4 years ago
Nikos Gorogiannis 49765274b5 Revert "[sqlite] enforce attribute.is_defined iff procdesc is not NULL"
4 years ago
Sungkeun Cho 6dc4612363 [cost] Add trace for autoreleasepool size
4 years ago
Ezgi Çiçek dcad238f11 [cost] Include the previous cost's trace in differential traces
4 years ago
Josh Berdine cd1cfe3487 Adjust Gc control parameters to use best-fit allocator with overhead 120
4 years ago
Nikos Gorogiannis 84ff14f2e7 [sqlite] enforce attribute.is_defined iff procdesc is not NULL
4 years ago
Nikos Gorogiannis d35a4f6f2e [debug] deterministically order procedures when printing
4 years ago
Josh Berdine 7a416739d6 [ocaml] Upgrade to OCaml 4.11.1 and dune 2.7.1
4 years ago
Mitya Lyubarskiy d4e46239b9 [nullsafe][EASY] Whitelist static fields from `java.nio.charset.StandardCharsets`
4 years ago
Ezgi Çiçek 9b84af1813 [cost] Replace polynomial category zero with unreachable
4 years ago
Nikos Gorogiannis 386f303b1d [scheduler][restart] use proc_uids instead of serialised procnames as targets
4 years ago
Sungkeun Cho 4d3c22e167 [cost] Fix cost-issues.exp in autoreleasepool
4 years ago
Jules Villard 7eba62c9ed [doc] update documentation on building checkers
4 years ago
Sungkeun Cho 8fde3f2479 [cost] Revise CostDomain.plus functionality: zero+unreachable
4 years ago
Sungkeun Cho 18baa1f126 [cost] Enable top_and_unreachable issues of autoreleasepool size
4 years ago
Sungkeun Cho 6ff1a42b6a [cost] Add tests run with ARC/non-ARC sources
4 years ago
Jules Villard b62c3f55b9 [pulse] fix fuel debug message
4 years ago
Sungkeun Cho cb4cf115e1 [cost] Autoreleasepool size analysis
4 years ago
Sungkeun Cho 4dbfb72260 [cost] Extend cost_item json format to print autoreleasepool_size
4 years ago
Nikos Gorogiannis 5406fa3224 [scheduler][restart] use filenames instead of procnames for dependencies
4 years ago
Nikos Gorogiannis 30fcdc7d29 [attributes] request attributes only when procdesc isn't required
4 years ago
Ezgi Çiçek 9681317f57 [preanalysis] Add mli file and documentation for the preanalysis about specializing methods with blocks
4 years ago
Nikos Gorogiannis db9828809e [sourcefiles] use custom serializer
4 years ago
Nikos Gorogiannis a2c1aa79c8 [procname] preserve sharing when serialising
4 years ago
Nikos Gorogiannis 1db53f43b5 [biabduction][models] move to sqlite
4 years ago
Nikos Gorogiannis cb2243741c [sqlite] remove proc_name_hum field
4 years ago
Nikos Gorogiannis e9a6195b52 [sqlite] index on proc_uid
4 years ago
Nikos Gorogiannis 343d6b1bea [preanal] do not rewrite capture db
4 years ago
Sungkeun Cho 65dd303415 [cost] Add new experimental cost kind
4 years ago
Ezgi Çiçek dab523f7eb [cost] Remove unused IO Cost kind
4 years ago
Qianyi Shu c3909c0434 [cost] add iterator model for NSOrderedSet
4 years ago
Qianyi Shu 5ed04a8e9a [frontend] Add translation of dictionaryWithObjects:forKeys:count:
4 years ago
Daiva Naudziuniene 20a8890fd5 [frontend] Clean up method creation
4 years ago
Sungkeun Cho 44ff6df1d6 [frontend] Add autoreleasepool code block
4 years ago
Qianyi Shu d908accd0c [cost] add inferbo model for NSArray.arrayByAddingObjectsFromArray, NSMutableArray.initWithCapacity
4 years ago
Daiva Naudziuniene 4401701578 [pulse] Model for std::function copy constructor
4 years ago
Ezgi Çiçek 2b1e036a15 [inferbo] Add model for NSDictionary.dictionary
4 years ago
Nikos Gorogiannis 1d908ff327 [sqlite] localise statements to where they are used
4 years ago
Ezgi Çiçek 06489dced0 [cost] Add FP test for NSDictionary initialization
4 years ago
Ezgi Çiçek 7cb8145ef6 [litho] Fix FN caused by special treatment of ResType suffixes
4 years ago
Dulma Churchill fdb1640e12 [closures preanalysis] [3/n] Adding models to dispatch functions and remove code for previous specialization and dispatch models
4 years ago
Dulma Churchill 2e66bf6b8f [closures preanalysis][2/n] Add second preanalysis that fills the body of the specialized methods with blocks
4 years ago
Dulma Churchill 892b16b8c0 [closures preanalysis] [1/n] Adding first step of preanalysis to specialize methods with concrete closures they are called with
4 years ago
Daiva Naudziuniene 0a4af7754d [pulse] Fix std::function::operator()
4 years ago
Qianyi Shu bb828a92af [cost] refactor cost model and add NSArray.sort cost model.
4 years ago
Qianyi Shu b71521a90a [cost] add iterator support for nsdictionary
4 years ago
Ezgi Çiçek 8447aa3fac [inferbo] Generalize init's model to NSObject
4 years ago
Dulma Churchill 6e67a6a569 [biabduction] Comment out resource leak test that is currently being flaky in the CI
4 years ago
Daiva Naudziuniene 29fd9e13d1 [pulse] Understand captured variables in cpp lambdas
4 years ago
Radu Grigore 9591276541 [topl] Cheap port to Pulse.
4 years ago
Qianyi Shu debeba5860 [cost] make the size of collection more accurate when modifying in loop
4 years ago
Ezgi Çiçek f02f7b379e [cost] Add FN test for functions that take blocks as arguments
4 years ago
Sungkeun Cho 4c2d5a4c49 [reanalyze] Fix reanalyze option
4 years ago
Radu Grigore 5f2849bf01 [topl] Atomic prunes.
4 years ago
Qianyi Shu 41f2533ff8 [cost] fix enumerator when not used in for-each loop in ObjC
4 years ago
Daiva Naudziuniene 87ff05c9b8 [pulse] Add a new test for npe in objc blocks
4 years ago
Jules Villard 5cceead7ae [pulse] normalize again when we discover new linear eqs
4 years ago
Jules Villard 50b94dbbd6 [pulse] cleanup arithmetic
4 years ago
Jules Villard 8b23fee8f8 [pulse] refactor Atom.eval_atom
4 years ago
Jules Villard ecdb153579 [pulse] streamline atom normalization
4 years ago
Jules Villard 7df30b0c4e [pulse] preserve physical equality on var subst in LinArith
4 years ago
Jules Villard eb37d2ced5 [pulse] substitute entire linear expressions
4 years ago
Jules Villard 36af901d79 [pulse] normalize any linear atom
4 years ago
Jules Villard 69995cebb6 [pulse] add a Linear variant to terms
4 years ago
Jules Villard 45894a7dd9 [pulse] move LinArith before Term
4 years ago
Jules Villard 1d56705cd4 [pulse] evaluate all constant expressions
4 years ago
Jules Villard bcba7c8475 [pulse][minor] moving some arithmetic stuff around
4 years ago
Jules Villard 5278cb7374 [pulse] `delete nullptr` is a no-op
4 years ago
Jules Villard af64d5dafe [pulse] detect when atoms become linear arithmetic
4 years ago
Qianyi Shu 9a3bfa67c7 [cost] fix iterator for constant array
4 years ago
Qianyi Shu b4f23ab599 [cost] add NSArray iterator
4 years ago
Nikos Gorogiannis 06f5eee680 [merge] measure tenv size only in debug mode
4 years ago
Nikos Gorogiannis 3133c18908 [dbwriter] mild refactor
4 years ago
Ezgi Çiçek c449f6e727 [pulse] Tweak error message for Memory Leak
4 years ago
Sungkeun Cho 5d23fb59aa [cost] Add FP test that has two control variables, but linear
4 years ago
Sungkeun Cho 88d5f4b9ad [Cost] Add cost model of binary search
4 years ago
Jules Villard 3e7bf4343b [pulse] make unit tests more robust to adding more tests
4 years ago
Jules Villard 1825b3779c [nullsafe] migrate 3rd-party methodes unit tests to ppx_expect
4 years ago
Jules Villard beca699bc4 [build] swap the build defaults to dev-with-errors
4 years ago
Nikos Gorogiannis dc29f8eeca [specs] fix reanalysis
4 years ago
Jules Villard 6fae5f641e [pulse] change constants to be rationals
4 years ago
Ezgi Çiçek 3fdf66dd11 [models] Refactor hardcoded infer models to use Builtin definitions
4 years ago
Daiva Naudziuniene dcc12d0a42 [closuressubstitution] Flip order of captured variables and actual parameters
4 years ago
Jules Villard 2caaa97d2a [minor] fix doc comment in cTrans.ml
4 years ago
Qianyi Shu 4683076ea6 [cost] add NSMutableArray's add and remove function model
4 years ago
Jules Villard 0433e9592e [pulse] new new arithmetic
4 years ago
Sungkeun Cho 6e0dc774a6 [purity][refactor] Add purityDomain.mli
4 years ago
Sungkeun Cho 55ecfd8811 [purity][refactor] Open AbstractDomain.Types
4 years ago
Qianyi Shu a7ff42069c [cost] write ObjC's NSCollection model separately and refactor
4 years ago
Nikos Gorogiannis 12189f4c4e [specs] remove sharding infra
4 years ago
Mitya Lyubarskiy 7635bb0414 [nullsafe] @Initializer annotation is inherited from parent signatures
4 years ago
Mitya Lyubarskiy 937d5386d1 [nullsafe][refactor] Migrate Overannotated rule to Procname.Java.t
4 years ago
Mitya Lyubarskiy 7d0671910a [nullsafe][easy] Add interface file for models.ml
4 years ago
Daiva Naudziuniene 69e0dce0ed [pulse] fix end() iterator false positive
4 years ago
Nikos Gorogiannis c98783a45a [specs] store analysis and report artefacts separately
4 years ago
Nikos Gorogiannis a9c9d97fb6 [specs] index by procname
4 years ago
Nikos Gorogiannis b763a9dd7e [specs] store in db
4 years ago
Artem Pianykh 16b2b2621d [java][tests] Compile with -g to make javac produce more debug info
4 years ago
Jules Villard 7b743ceb1a [pulse][formula] forget dead facts
4 years ago
Jules Villard bf40a9119e [pulse][formula] print readable variable names in unit tests
4 years ago
Jules Villard 6f5b125aa0 [pulse][formula] improve printing
4 years ago
Jules Villard 934a13a134 [pulse][minor] name ~callee argument for readability
4 years ago
Jules Villard 62e84185b1 [pulse] a few more unit tests
4 years ago
Jules Villard 97fcc3b0ad [pulse] apply equality relation to terms to be added to the equality relation
4 years ago
Jules Villard 2eb6eb3655 [pulse] skeleton for unit testing pulse
4 years ago
Jules Villard 7ccec3fd99 [build] make dune format files when testing
4 years ago
Jules Villard a64f311ea8 [formula] remember results of normalization
4 years ago
Jules Villard cfa81d168d [pulse] check formula unsat more often
4 years ago
Jules Villard f1e9e28f73 [pudge] delete
4 years ago
Jules Villard 5a39c158c5 [pulse] arithmetic domain: take 4!
4 years ago
Artem Pianykh e4a7d1f19d [nullsafe] Add tests around support for Java Lambdas
4 years ago
Artem Pianykh 570191741a [java][tests] Add kotlin-annotatins to classpath to fix warnings
4 years ago
Mitya Lyubarskiy 3fa8c56ce2 [nullsafe][refactor] Convert models.ml to Procname.Java.t
4 years ago
Mitya Lyubarskiy 8d4e9bf26e [nullsafe] Add "Fragment.onViewCreated()" to a list of known initializers
4 years ago
Sungkeun Cho 6d9a620aa1 [cost] Enable purity by default in cost
4 years ago
Ezgi Çiçek fef89019b0 [cost] Enable inferbo issues for java tests
4 years ago
Sungkeun Cho 761d2c56af [cost] Separate purity analysis and reporting
4 years ago
Ezgi Çiçek dc0d761929 [nullsafe] Fix unused sig
4 years ago
Ezgi Çiçek e6211679a0 [cost][loop-invariance] Do not invalidate pure functions
4 years ago
Nikos Gorogiannis e606b0e4fe [sqlite] always enable the write daemon
4 years ago
Mitya Lyubarskiy 1e9f5f1bd3 [nullsafe] Convert InheritanceRule to Procname.Java.t
4 years ago
Mitya Lyubarskiy 94f7d6aeeb [nullsafe][refactor] Migrate TypeOrigin.t to Procname.Java.t
4 years ago
Mitya Lyubarskiy 4bc4376c85 [nullsafe][refactor] Migrate parts of Nullsafe to Procname.Java.t
4 years ago
Mitya Lyubarskiy d4bea60440 [nullsafe][refactor] Migrate DereferenceRule to Procname.Java.t
4 years ago
Sungkeun Cho 80c31ab8da [cost] Add a FP test due to imprecise loop invariant
4 years ago
Daiva Naudziuniene 35de604422 [frontend] Record attribute unused in local variable data
4 years ago
Mitya Lyubarskiy 59592a60e4 [nullsafe][refactor] AnnotatedSignature distincs between first- and third-party
4 years ago
Daiva Naudziuniene c0152f2278 [frontend] Remove duplicate variable declaration
4 years ago
Artem Pianykh 5bd78660ea [nullsafe] Suppress _some_ errors related to synthetic/autogenerated code
4 years ago
Nikos Gorogiannis cf29bc7aa2 [java][procname] params are Typ.t
4 years ago
Nikos Gorogiannis d718c04816 [java][procname] enforce types for java
4 years ago
Nikos Gorogiannis 3ddf77f0f1 [java] make return type in procname a Typ.t
4 years ago
Sungkeun Cho 6c035e3988 [infer] Add max-jobs option
4 years ago
Mitya Lyubarskiy 014f330037 [nullsafe][refactor] Introduce ThirdPartyMethod.t
4 years ago
Nikos Gorogiannis fe617afa49 [specs] move specs file functionality into summary
4 years ago
Nikos Gorogiannis 0475e79d0e [buck-java-flavor] filter out targets with no java sources
4 years ago
Nikos Gorogiannis 697f9c0a47 [buck-java-flavor] integrate with buck using java flavor
4 years ago
Sungkeun Cho 270918fea7 [cost] Remove dead field Struct.subs
4 years ago
Mitya Lyubarskiy 3573e0d202 [nullsafe][refactor] Make DereferenceViolation depend on InferredNullability instead of Nullability
4 years ago
Mitya Lyubarskiy 81951edf55 [nullsafe][refactor] Make AssignmentViolation depend on AnnotatedNullability and InferredNullability instead of Nullability
4 years ago
Qianyi Shu b66b3d3ea5 [cost] add inferbo model for init function of NSString and NSArray
4 years ago
Qianyi Shu d087de8ad6 [cost] adapt NSCollection to behave like Collection model for java
4 years ago
Sungkeun Cho 161b3484f9 [cost] Revert subclass lookup heuristics
4 years ago
Ezgi Çiçek 19799336d4 [inferbo] Add naive models for Java's Buffer
4 years ago
Ezgi Çiçek 745c6577d8 [inferbo] Add Typ Models for Map
4 years ago
Qianyi Shu 3d561ca1db [cost] add alloc for NSObject and NSString.init as an example function using alloc
4 years ago
Sungkeun Cho 54c89408c2 [frontend] Fix translation of for-in block in objc
4 years ago
Artem Pianykh ea8f9c9e91 [java][frontend] Skip concrete method capture in Kotlin classes
4 years ago
Mitya Lyubarskiy 72d45672d8 [nullsafe] Add a test for @SuppressFieldNotInitialized
4 years ago
Ezgi Çiçek 774f972eb7 [inferbo] revise NSArray alloc and init model
4 years ago
Jules Villard c7305245c5 [istd][minor] no need to name ~fold in fold_of_pervasives_map_fold
4 years ago
Ezgi Çiçek d719a1e176 [inferbo] Move model out of Collection
4 years ago
Artem Pianykh 089589d3da [nullsafe] Handle intermediate typecasts in assignment expressions
4 years ago
Artem Pianykh 07887ad30f [nullsafe] Add FP tests for typecasts and generics use
4 years ago
Ezgi Çiçek aa2f420ac8 [inferbo][cost] Check supertype in ObjC models
4 years ago
Sungkeun Cho 0012b1edcc [specs] Add an option to shard spec files
4 years ago
Ezgi Çiçek 444ccc4940 Fix leftover NeverJoin
4 years ago
Ezgi Çiçek 577d4679da [absint][pulse] Remove NeverJoin
4 years ago
Ezgi Çiçek feefda3e59 Wrap Java's PatternMatch into its own module
4 years ago
Jules Villard 86f550317f [pulse] avoid explosion of disjuncts in large nodes
4 years ago
Radu Grigore 9784ee0858 [topl] Prepare cheap port to pulse.
4 years ago
Mitya Lyubarskiy 4d09c54e29 [nullsafe] Model Field nullability for Boolean.TRUE and Boolean.FALSE
4 years ago
Ezgi Çiçek 5a71583c72 [inferbo] Remove symbols on functions returning only exception
4 years ago
Jules Villard 0aeb33947a [debug] add --procedures-cfg
4 years ago
Daiva Naudziuniene 221d0b62ab [pulse] Model builtin __new as returning non-null
4 years ago
Jules Villard 3505e85bfc [biabd] delete model of gettimeofday()
4 years ago
Jules Villard 660eceb20f [pulse] log summary creation
4 years ago
Jules Villard 2dc830735e [istd] refactor of ImperativeUnionFind to expose [find_opt] later
4 years ago
Jules Villard 9578ec74c9 [pulse] model operator== and operator!= for iterators
4 years ago
David Pichardie f6b125c928 Fixing unsound old devirtualization performed in Java frontend
4 years ago
Qianyi Shu 2547a75b8b [cost] add more inferbo and cost analysis models for NSString
4 years ago
Qianyi Shu 829c5da6b2 [cost] add inferbo model for most common function of NSDictionary
4 years ago
Qianyi Shu 6ec7d578cb [cost] Add NSArray.arrayWithObjects: and array access function
4 years ago
Nikos Gorogiannis 41b4e39817 [devirtualizer][java] do not assume first super is a class
4 years ago
Dulma Churchill bd9880569f [biabduction] Remove the model of nsArray_arrayWithObjectsCount as it's no longer compatible with the frontend translation
4 years ago
Nikos Gorogiannis c8a4cfdb95 [tenv][merge][java] intelligently merge type definitions for the same typename
4 years ago
Sungkeun Cho 928137fb34 [frontend] Add translation of arrayWithObjects:count:
4 years ago
Jules Villard 9690dba871 [pulse] a slow example for pudge
4 years ago
Jules Villard ae57f217d2 [pulse] don't always mistake equality for aliasing
4 years ago
Dulma Churchill d2f8028e77 [preanalysis] Adding a preanalysis to resolve local closures
4 years ago
Daiva Naudziuniene 1c5e47d91e [frontend] Record lambda's captured variables in `operator()` procdesc
4 years ago
Sungkeun Cho 831741c5eb [inferbo] Fix a bug in eval_arr
4 years ago
Qianyi Shu 8d648b9c5a [cost] add cost model for most common NSString functions
4 years ago
Ezgi Çiçek e6ed605d67 [cost] Fix unreachable node Top poisoning
4 years ago
Daiva Naudziuniene 50d659b750 Update type of procdesc and closure expression to contain information about capture variable mode
4 years ago
Sungkeun Cho 9b5820bf32 [CCBM] Add semantics of return
4 years ago
Sungkeun Cho 549bd43ef8 [cost] Print where cost become top
4 years ago
Dulma Churchill 795ceadb46 [clang] Remove protocols from the list of superclasses of ObjC classes
4 years ago
Sungkeun Cho 2e319e7a16 [CCBM] Extend the value domain to express multiple markers
4 years ago
Sungkeun Cho 9c33957d7e [CCBM] Rename MarkerSet/InvMarkerSet
4 years ago
Sungkeun Cho 8e264fd669 [CCBM] Add semantics of assigning marker to local variable
4 years ago
Sungkeun Cho 095b946a13 [CCBM] Support another QE check form
4 years ago
Nikos Gorogiannis 2821cf8fdd [buck-clang] revert 500c1b12c95cbf38d45c1eb4a51c47247cf076ec
4 years ago
Qianyi Shu dc502676ea [cost] add model for NSString.string_with_utf8_string_linear and NSString.length
4 years ago
Qianyi Shu 75e5e94f2c [cost] add inferbo model for NSNumber
4 years ago
Qianyi Shu 1c39d7768f [cost] add inferbo model for NSArray
4 years ago
Josh Berdine 7e77bad4d2 [sledge] Change: Implement Fol using a solver-independent intermediate type
4 years ago
Josh Berdine eca73cf39b [sledge] Build: Move sledge equality solver to separate lib
4 years ago
Ezgi Çiçek ebc9f58f6f [cost] Add back the UI thread message
4 years ago
Daiva Naudziuniene 35011757dc [pulse] Add a flag to pass functions that we want to model as returning non-null
4 years ago
Nikos Gorogiannis 34f7741ad9 [java][2/n] refactor classpath
4 years ago
Nikos Gorogiannis d35807223b [java][1/n] split classpath and program modules
4 years ago
Sungkeun Cho cbfb9612e5 [CCBM] Support marker value as object field in Java
4 years ago
Sungkeun Cho 45f00681b1 [CCBM] Extend domain to have this.field values
4 years ago
Ezgi Çiçek be590bcd4c [cost] Add model for ImmutableSet.of
4 years ago
Ezgi Çiçek 05f1d1676e [litho] Tweak the error message
4 years ago
Ezgi Çiçek 5c2f44cbeb [cost] Add cost models for Collection.addAll
4 years ago
Sungkeun Cho 4ef0a787db [cost] Do not print loop line number in trace message
4 years ago
David Pichardie 9d8fe72213 Improving tests about interface default methods (and virtual calls)
4 years ago
Sungkeun Cho d2f3f81826 [cost] Add model of `google::StrLen`
4 years ago
Jules Villard a89d3db364 [pulse] change recency maps to be backed by lists
4 years ago
Jules Villard da3561a533 [log] fix gc stats merging
4 years ago
Daiva Naudziuniene 0ab3689f1f [infer] NULLPTR_DEREFERENCE false positive caused by thread_local variable
4 years ago
Sungkeun Cho 70233b55f1 [cost] Log unknown functions to scuba only with an option
4 years ago
Qianyi Shu 2756189175 [cost] add test for unmodeled inferbo functions that acts as control variable
4 years ago
Qianyi Shu 149e1879ce [cost] add objc test for customized_class and blocks
4 years ago
GaloisNeko dd2222b861 [infer][PR] typo in TopLifted from infer lab
4 years ago
Sungkeun Cho 1745bf9dd0 [cost] Add model of File.listFiles
4 years ago
Ezgi Çiçek 83a83ce9e0 [litho] Add support for Sections
4 years ago
Qianyi Shu bfe2caf92d [cost] log top cost function
4 years ago
Nikos Gorogiannis ba2bad25aa [debug] new command
4 years ago
Jules Villard 727cc8ce6d [log] add mem usage statistics
4 years ago
Sungkeun Cho 5df13f69e7 [inferbo] Add some models of linked list next methods
4 years ago
Artem Pianykh 0f7b6db07c [nullsafe] Fix handling of assignment expressions in prune
4 years ago
Dulma Churchill 85ee958bf9 [pulse] Add model for NSObject.init
4 years ago
Daiva Naudziuniene 2c48e61031 [pulse] A new issue type OPTIONAL_EMPTY_ACCESS for trying to access folly::Optional when it is folly::none
4 years ago
Dulma Churchill 0887b28a65 [linters] Delete unused linters about ComponentKit
4 years ago
Dulma Churchill 622f0fb6f2 [linters] Remove the linters UNAVAILABLE_API_IN_SUPPORTED_IOS_SDK and REGISTERED_OBSERVER_BEING_DEALLOCATED
4 years ago
Qianyi Shu fc6cd0cb28 [cost] extend BasicCost to BasicCostWithReason
4 years ago
Sungkeun Cho b48534c640 [cost] Support a specific form of linked list iteration
4 years ago
Qianyi Shu 3a338e6960 [cost] log unmodeled function in cost analysis
4 years ago
Dulma Churchill 2d4b3c9acd [builtins] Change the name of __free_cf to the more appropriate _objc_bridge_transfer and delete the biabduction implementation
4 years ago
Dulma Churchill fc7437abb0 [biabduction] Delete Core Foundation models for Memory Leaks
4 years ago
Dulma Churchill 61ae2d1e1b [clang] Add implicit implementations for ObjC getters and setters as a preanalysis
4 years ago
Artem Pianykh bc9c2440df [java] Add an option to log JBir translation
4 years ago
Artem Pianykh 96291c0fdd [nullsafe][tests] Rename package name from nullsafe_default to nullsafe
4 years ago
Nikos Gorogiannis 0255765a54 [starvation] document false positive
4 years ago
Ezgi Çiçek a54de2e0dd [litho] Refactor and remove duplicated code
5 years ago
Dulma Churchill b888e33e1f [biabduction] Delete UNARY_MINUS_APPLIED_TO_UNSIGNED_EXPRESSION
5 years ago
Dulma Churchill a7cca8a734 [biabduction] Delete SKIP_POINTER_DEREFERENCE issue type
5 years ago
Nikos Gorogiannis 6a74b967ac [buck-clang] don't special case for targets
5 years ago
Sungkeun Cho 70a432e795 [CCBM] Support Clang target
5 years ago
Sungkeun Cho ce7317e5cd [CCBM] Support more config format (GK)
5 years ago
Sungkeun Cho f43901bc69 [CCBM] Revise assignment semantics
5 years ago
Dulma Churchill c000fae947 [biabduction] Delete POINTER_SIZE_MISMATCH
5 years ago
Artem Pianykh 9af4fe0b8e [nullsafe] Add a FP test for null-checking assignment result
5 years ago
Qianyi Shu 5d82bf37ce [cost] log unmodeled function
5 years ago
Jules Villard f5993b7254 [website] add remaining issue types
5 years ago
Jules Villard 3846fbd3ee delete unused issue ERADICATE_CONDITION_REDUNDANT_NONNULL
5 years ago
Jules Villard c4e3f51d83 [website] make docs URLs absolute
5 years ago
Sungkeun Cho a49b094e0c [inferbo] Remove unused issue types
5 years ago
Ezgi Çiçek a173320627 [doc] Add documentation for litho required props
5 years ago
Ezgi Çiçek 0c365136b1 [doc] Add documentation for hoisting and invariant calls
5 years ago
Dulma Churchill 219cc64cb6 [biabduction] Delete null_test_after_dereference check
5 years ago
Ezgi Çiçek 64ba97a3e3 [doc] Add documentation for (im)purity
5 years ago
Nikos Gorogiannis 78e6072f49 [buck-clang] don't force number of buck threads
5 years ago
Dulma Churchill 24ec6e9f90 [biabduction] Delete condition always true/false in the biabduction checker
5 years ago
Andrew V. Jones 566c650087 [infer][PR] Correct spelling mistake (hmtl -> html)
5 years ago
Qianyi Shu 9e0d5de91d [cost] add objc test for NSDictionary and NSMutableDictionary
5 years ago
Jules Villard 6e37247b7b make doc-publish
5 years ago
Dulma Churchill 2e7848b179 [biabduction] Delete deallocate_stack_variable and deallocate_static_memory
5 years ago
Ezgi Çiçek b491492796 [inefficient-keyset-iterator] Add documentation
5 years ago
Qianyi Shu fecf954c6e [cost] add objc test for NSArray and NSMutableArray
5 years ago
Sungkeun Cho 33dab9c32d [CCBM] Add reporting with examples (3/3)
5 years ago
Sungkeun Cho 5fed80dd97 [CCBM] Add trace info (2/3)
5 years ago
Sungkeun Cho 960d7fb561 [CCBM] Add a new checker config-checks-beween-markers (1/3)
5 years ago
Jules Villard aa3586b855 document uninit issue
5 years ago
Jules Villard b90f0a0182 document Quandary issue types
5 years ago
Dulma Churchill b6c8e52e8c [biabduction] Delete use after free
5 years ago
Nikos Gorogiannis 75302f2de8 [test determinator] avoid exceptions
5 years ago
Ezgi Çiçek 753b909bfa [cost][doc] Add documentation for cost analysis
5 years ago
Dulma Churchill 415824ac0e [biabduction] Delete deallocation_mismatch
5 years ago
Nikos Gorogiannis ec7930be20 [annotreach] document issues
5 years ago
Sungkeun Cho 788a600ed9 [inferbo] Add documentation of issues
5 years ago
Dulma Churchill b6fc605c5a [biabdcution] Delete BIABD_REGISTERED_OBSERVER_BEING_DEALLOCATED
5 years ago
Jules Villard 5f6280bd1d document pulse issue types
5 years ago
Jules Villard bb6b998473 [biabd] remove BIABD_STACK_VARIABLE_ADDRESS_ESCAPE
5 years ago
Qianyi Shu cb805882c2 [cost] add objc test case for NSInteger and NSString
5 years ago
Daiva Naudziuniene 412d2777eb [pulse] Add a flag to pass functions that we want to model as abort
5 years ago
Nikos Gorogiannis ed97456a2b [printf] document CHECKERS_PRINTF_ARGS
5 years ago
Nikos Gorogiannis 301580a819 [starvation] document LOCKLESS_VIOLATION
5 years ago
Nikos Gorogiannis 23c1b4f960 [classloads] remove dead analyser
5 years ago
Nikos Gorogiannis 4bbe5a064b [racerd] document GuardedBy issue
5 years ago
Dulma Churchill 11c6e3e0ee [pulse] Enable pulse memory leaks and disable biabduction one
5 years ago
Jules Villard 97feb81c3b revive --pmd-xml
5 years ago
Qianyi Shu 525bd35370 [cost] import c performance test to objc
5 years ago
Dulma Churchill 61d5fde7c4 [clang] Adding implicit implementation of dealloc methods to ObjC classes
5 years ago
Sungkeun Cho 2707ee8f4e [cost] Add .PHONY in cost.make
5 years ago
Sungkeun Cho 25825e77d4 [cost] Revise cost.make not to run infer parallel
5 years ago
Ezgi Çiçek bb6cc0e6be [cost] Remove unused inferconfig
5 years ago
Jules Villard 5b399178ee [help] implement `--help-checker` and `--list-checkers`
5 years ago
Jules Villard a1b7016e11 [help] implement `--write-website`
5 years ago
Jules Villard 0bf23c66fd [help] document checkers
5 years ago
Jules Villard f34bd2b069 [help] import issue types documentation from website
5 years ago
Jules Villard bc24cacd3a [help] scaffolding to start documenting issue types
5 years ago
Jules Villard 1c0f242e8b [help] implement "--list-issue-types"
5 years ago
Jules Villard 7ba6e015a8 skeleton new `infer help` command
5 years ago
Jules Villard 7310726155 Checker.name -> Checker.id
5 years ago
Sungkeun Cho e86ea5ca7f [infer] Fix tracebugs test Makefile
5 years ago
Ezgi Çiçek 5de191a50d [inferbo] Fix repeated code
5 years ago
Ezgi Çiçek 6d7df79573 [cost] Brush up tests (4)
5 years ago
Ezgi Çiçek c23e0044fc [infer] Remove ppx_compare workaround for nonrec types (2)
5 years ago
Josh Berdine a383f2afd2 [infer] Remove ppx_compare workaround for nonrec types
5 years ago
Josh Berdine 9c8f2e4a5c [sledge] Build: Move Timer to Nonstdlib
5 years ago
Josh Berdine 5e90bc61b7 [infer] Update to core 0.14
5 years ago
Qianyi Shu 09b54e7858 [cost] suppress check is_on_ui_thread for ObjC method
5 years ago
Artem Pyanykh af18770146 [infer][PR] Release infer-annotation 0.18.0
5 years ago
Ezgi Çiçek a8625d5e68 [cost] Brush up tests (3)
5 years ago
Sungkeun Cho e611f0e8b3 [infer] Fix empty `issues.exp.test` on Ant build test
5 years ago
Sungkeun Cho a681036c01 [infer] Fix a typo in Makefile of build test
5 years ago
Jules Villard 4f79585eb0 record objc tests
5 years ago
Ezgi Çiçek ab08d6cfff [cost] Brush up tests (2)
5 years ago
Jules Villard 358c8b34ac stop going through Exceptions for non-biabduction issues
5 years ago
Jules Villard 8a1c10f8a1 remove dynamic severity: Reporting.log_{error,warning} -> log_issue
5 years ago
Jules Villard 682f932150 get rid of most dynamic severity changes
5 years ago
Jules Villard c9fc41f97c move visibility into IssueType and make it static, move severity but keep it dynamic
5 years ago
Nikos Gorogiannis 341e719fd4 [starvation][whole-program] add model for `Main`
5 years ago
Nikos Gorogiannis 428c18e619 [starvation] fix static field printing
5 years ago
Dulma Churchill aa6fe7963c [pulse] Add dealloc calls for ObjC objects that are about to become unreachable
5 years ago
Dulma Churchill f638e741ae [pulse] Add DynamicType attribute and use it in the model of ObjC alloc
5 years ago
Ezgi Çiçek 2d6d4f7db9 [cost] Brush up tests (1)
5 years ago
David Pichardie dbdd4413a7 Java8 invokevirtual resolution should search into super interfaces
5 years ago
Ezgi Çiçek a090551d69 [cost] Remove EXPENSIVE_EXECUTION_TIME issue type
5 years ago
Ezgi Çiçek 289d64260e [cost] Record cost traces in cost-report.json
5 years ago
Ezgi Çiçek 2b40497e88 [cost] Remove cost threshold from tests
5 years ago
Sungkeun Cho 64354bbdde [inferbo] Add model of class.getEnumConstants
5 years ago
Sungkeun Cho 5190f12cc1 [inferbo] Add model of class.getFields
5 years ago
Ezgi Çiçek 8b1310bb31 [json] Remove unused type
5 years ago
Ezgi Çiçek 9e44bc3687 [cost] Add ability to test costs-report.json (part 2)
5 years ago
Ezgi Çiçek 964388f56c [pulse] Brush up Collection/List add and remove models
5 years ago
Ezgi Çiçek 4858d29147 [cost] Add ability to test costs-report.json
5 years ago
Nikos Gorogiannis bad9ab08e7 [starvation][global] add android View models
5 years ago
Sungkeun Cho 7e902f241d [infer] Explicitly exit when SIGINT is given
5 years ago
Jules Villard 1d2f00faea [IR] move out modules unrelated to IR
5 years ago
Nikos Gorogiannis 881d617284 [concurrency] android methods starting with "on" are on UI thread
5 years ago
Sungkeun Cho 10a111d41b [inferbo] Refactor domain constructors for field
5 years ago
Jules Villard 97ad5b9c96 [nullsafe][easy] use `lazy` instead of `fetcher ()`
5 years ago
Jules Villard 0c9cc9f791 kill Exceptions.Eradicate
5 years ago
Jules Villard 4bb836b2c3 [Config] pull some options out of the big group of debug
5 years ago
Jules Villard 163f3c687d kill Exceptions.Dummy_exception
5 years ago
Jules Villard c61d2ba32f kill Config.analysis_stops
5 years ago
Jules Villard bc669c6c9f no dynamic visibility
5 years ago
Jules Villard 94fbd3977e [issues] make sure the immutable parts of issues are always the same
5 years ago
Daiva Naudziuniene 98092481d4 [pulse] Special case for std::function:operator=( nullptr )
5 years ago
Jules Villard 244384f605 [labs] brush up labs
5 years ago
Jules Villard 64f18f0933 [Exceptions] kill `category`
5 years ago
Jules Villard 5572484eea [AL] monomorphise CIssue.t
5 years ago
Jules Villard b61f921572 [errlog][minor] rename "name" and "err_name" to "issue_type"
5 years ago
Jules Villard b02d8e9b22 [UI] use human-readable issue type in console reporting
5 years ago
Jules Villard eab7e9aeb7 minor readability improvement in IssueType.ml
5 years ago
Jules Villard f616da42f1 [docs] only one checker allowed per issue type
5 years ago
Ezgi Çiçek 92dcbdc202 [control] Fix dangling node
5 years ago
Nikos Gorogiannis 2e9c1bd81f [buck] further remove dead arguments and code
5 years ago
Nikos Gorogiannis 2b19166c70 [buck] kill some dead arguments and code
5 years ago
Sungkeun Cho 719b72cb4f [pulse] Avoid partitioning abstract values
5 years ago
Sungkeun Cho fd28651563 [infer] Get the list of source files lazily
5 years ago
Dulma Churchill 61869b8edb Revert "[frontend][clang][RFC] fix translation of enum constant"
5 years ago
Ezgi Çiçek b394ed0400 [lab] Update README with classpath warning
5 years ago
Ezgi Çiçek 7b75ee7f5a [objc][blocks] Load block instruction
5 years ago
Sungkeun Cho 7abc631c71 [pulse] Fix a bug in merge recency maps
5 years ago
Jules Villard 4e28980c8e [errlog] reporting asserts checker matches issue-type
5 years ago
Jules Villard 248eaf87c7 explicit inter-checker dependencies
5 years ago
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