Commit Graph

2755 Commits (f6341977fbf10c231de04fa6b637b2cc9376b0ed)

Author SHA1 Message Date
Dulma Churchill 766fc2c072 [AL] Adding a new transition to siblings 5 years ago
Mitya Lyubarskiy b2910c1336 [nullsafe] More specific error messaging for Null nullability 5 years ago
Mitya Lyubarskiy bd426954a3 [nullsafe][easy][bug fix] Swap over reporting for undeclared and already declared third party 5 years ago
Nikos Gorogiannis 624d7d7930 [starvation][whole-program] more models 5 years ago
Nikos Gorogiannis 404caf3bb4 [starvation][whole-program] track runnables as attributes 5 years ago
Nikos Gorogiannis 20a7e9d75b [starvation][whole-program] add a bit of typestate/dataflow 5 years ago
Nikos Gorogiannis ff819da3c6 [starvation-whole-program] more modeled executors 5 years ago
Jules Villard d79bd90b81 [pdesc] new pre-analysis to diverge after "noreturn" function calls 5 years ago
Jules Villard 78a33acb77 [cfg] run pre-analysis lazily in ondemand 5 years ago
Sungkeun Cho b1698ab0ea [inferbo] Get static value of EMPTY from class initializer in Java 5 years ago
Nikos Gorogiannis 374c09c6c7 [starvation][whole-program] allow scheduled work on unknown threads 5 years ago
Jules Villard de6864a07a [objc] pass SDK config to plugin 5 years ago
Sungkeun Cho 8b959be727 [inferbo] Add size alias when array size is one 5 years ago
Jules Villard b03ca78bf3 [pdesc][refactor] ability to set normal and exceptional succs independently 5 years ago
Nikos Gorogiannis 883044763e [starvation-whole-program] more executor models 5 years ago
Martin Trojer 4817cb4c8e fix genrule test 5 years ago
Nikos Gorogiannis 0d175daddc [starvation] enable some tests 5 years ago
Dulma Churchill e411db6f82 [AL] Make the transition Parameters work with function calls 5 years ago
Mitya Lyubarskiy d5b574dd80 [nullsafe] Render strict mode violations nicely 5 years ago
Mitya Lyubarskiy 1b8305d1e1 [nullsafe] Special error messaging for case when unmodelled third-party signature is called 5 years ago
Mitya Lyubarskiy 48a447d77a [nullsafe] Always specify if the nullability comes from internal models or third party 5 years ago
Mitya Lyubarskiy 108473e97b [nullsafe] Changes in wording of error messages: unified and more clear language 5 years ago
Mitya Lyubarskiy b860336640 [nullsafe] Render origin in a more light weight way 5 years ago
Mitya Lyubarskiy e0b688ceab [nullsafe] Don't render type origin in trivial cases 5 years ago
Nikos Gorogiannis bbb1237e90 [concurrency] add models for Android UI thread callbacks (ServiceConnection) 5 years ago
Nikos Gorogiannis 0c4d2d7a92 [starvation-whole-program] recognize Android callback methods as scheduled work 5 years ago
Nikos Gorogiannis 08df37ef76 [starvation] whole program analysis 5 years ago
Ezgi Çiçek 655096e87c [required-props] Add more tests for casting 5 years ago
Jules Villard f81c9d56e3 [pulse] arithmetic operations 5 years ago
Jules Villard 6ecf4066e8 [pulse] model std::integral_constant 5 years ago
Jules Villard 6df4fb6a9b [pulse] report dereference of NULL and constants 5 years ago
Sungkeun Cho c3186578d6 [cost] Keep excluding unqualified variables by ItvUpdatedBy 5 years ago
Sungkeun Cho 50252d3152 [cost] Exclude bin-op-generated integers from control variables 5 years ago
Dulma Churchill 510a5e2933 [self in block] Adding traces to the Strong_self_not_checked check 5 years ago
Dulma Churchill bf581e0b72 [self in block] Add a check for strongSelf not checked for null 5 years ago
Sungkeun Cho 0aec8a04e9 [inferbo] Substitution of array block of default case in Java 5 years ago
Ezgi Çiçek ddf6254b6f [required-props] Only report when there is a create 5 years ago
Nikos Gorogiannis 243835aca2 [starvation] extend models of scheduled work 5 years ago
Ezgi Çiçek a356ef19d7 [litho] Fix test naming convention and add another FP test 5 years ago
Ezgi Çiçek 9e5307b339 [pulse][impurity] Add Pulse Java models for get and cast 5 years ago
Sungkeun Cho ecc5c80a9b [inferbo] Fix a bug in SafeInvertedMap.join 5 years ago
Sungkeun Cho 7a5ce51901 [inferbo] Revise band semantics 5 years ago
Ezgi Çiçek 94f4ded9b4 [cost] Introduce cost issue types for functions on UI Thread 5 years ago
Sungkeun Cho e66a23a04c [infer] Narrow all loops at least once in the widening phase 5 years ago
Sungkeun Cho 0d700471c0 [inferbo] Add size alias when i=1 5 years ago
Sungkeun Cho 773766e3f7 [inferbo] Function call of Java enum values in class initializer 5 years ago
Sungkeun Cho b50e1cba51 [inferbo] Extend bound to express Min/Max(bound, bound) 5 years ago
Dulma Churchill f303c9fa87 [self in block] Fix error in choosing variables fmor the domain for reporting 5 years ago
Nikos Gorogiannis 5ea35133af [starvation] record scheduling parallel works via executors 5 years ago
Dulma Churchill 41fffa690c [self in block] Adding traces to the mixed self with weakself check 5 years ago
Mitya Lyubarskiy 027ff479d1 [nullsafe] 3rd party annotations from the repo are respected in nullsafe 5 years ago
Mitya Lyubarskiy 3d2df4cc3c [nullsafe] Functionality to load 3rd party info from the storage 5 years ago
Ezgi Çiçek d50091bb17 [inferbo] Add models for Math.min and Math.max 5 years ago
Sungkeun Cho fa571100df [inferbo] Extend alias domain to have multiple aliases on a variable 5 years ago
Dulma Churchill 43823266ec [self in block] Add a new checker to detect correct uses of when ObjC blocks capture self. 5 years ago
Sungkeun Cho 0a8919166f [inferbo] Add a model: Object.clone 5 years ago
Sungkeun Cho 88813fdaa7 [inferbo] Revise division by constant 5 years ago
Nikos Gorogiannis dda0470b05 [starvation] make thread domain more precise 5 years ago
Nikos Gorogiannis d154415cd0 [starvation] add path sensitivity restricted to thread status 5 years ago
Sungkeun Cho 28cc6b33a9 [cost] Set the minimum basic cost of node 5 years ago
Dulma Churchill da5b319e67 [test determinator] Remove .llvm suffixes before matching the names 5 years ago
Jules Villard 2e4fbb7fe5 [pulse] intervals! 5 years ago
Jules Villard b20c22a5ee [pulse] abduce arithmetic facts 5 years ago
Mitya Lyubarskiy f9b0d06826 [nullsafe] Primitive types are always Nonnull 5 years ago
Sungkeun Cho 65c25cff23 [inferbo] Forget size alias when size changed in model 5 years ago
Nikos Gorogiannis 2b27a8ff2b [starvation] push thread status inside critical pairs 5 years ago
Dulma Churchill 4e7c794334 [test determinator] Run test determinator with the buck compilation database flag 5 years ago
Sungkeun Cho 480f99cfc2 [inferbo] Avoid top value on unknown non-static function call 5 years ago
Mitya Lyubarskiy 0f1187a3a3 [nullsafe] Make Strict mode respect static methods 5 years ago
Ezgi Çiçek 6781ba36d3 [impurity] Start checking equivalence at materialized addresses in pre 5 years ago
Dulma Churchill d001db1e94 [test determinator] Merge test determinator results under buck capture all flavours, add test 5 years ago
Ezgi Çiçek 75a18b5027 [required-props] Track create methods 5 years ago
Ezgi Çiçek 02f747abca [required-props] Add new FPs 5 years ago
Dulma Churchill 7565c3baa6 [test determinator] Match Blocks, add test 5 years ago
Mitya Lyubarskiy 6511b2052a [nullsafe] Introduce Strict mode 5 years ago
Mitya Lyubarskiy 4d52e874fc [nullsafe] Introduce DeclaredNonnull 5 years ago
Jules Villard 16c88e282d [pulse] some tests about values 5 years ago
Nikos Gorogiannis 734ae60cb7 [starvation] introduce a proper thread domain 5 years ago
Dulma Churchill 0e116c5557 [test determinator] Match Objective-C methods, add test 5 years ago
Dulma Churchill ef75952223 [test determinator] Pass flag to test determinator for clang, add test 5 years ago
Jules Villard 6a738045fd [pulse] interprocedural histories and traces 5 years ago
Nikos Gorogiannis a9c90368e8 [annotation reachability] fix bug on android annotation check 5 years ago
Nikos Gorogiannis 0a06353bce [starvation] more tests documenting interaction with thread status 5 years ago
Jules Villard 669383d315 [pulse] more details about variable declaration events 5 years ago
Nikos Gorogiannis 0149c3171e [starvation] hide ui-thread trace 5 years ago
Nikos Gorogiannis 31bb9b399a [starvation] add tests documenting path sensitivity FPs and FNs 5 years ago
Sungkeun Cho 5835139860 [cost] Conservative array length evaluation 5 years ago
Ezgi Çiçek 0ac75fdb31 [impurity] Hotfix broken tests 5 years ago
Jules Villard 8182514f35 [impurity] clarify string parameter of `ImpurityDomain.add_to_errlog` 5 years ago
Jules Villard 96c96a8dc6 [pulse] remember equalities found in branches 5 years ago
Jules Villard 3ac8e27062 [pulse] use constant equality to prune unfeasible paths 5 years ago
Ezgi Çiçek 42c4fde720 [impurity] Add initial Java support and don't run pulse twice 5 years ago
Sungkeun Cho fd16cb5985 [inferbo] Inequality for iterator alias target 5 years ago
Ezgi Çiçek 557e2bfa3f [impurity] Consider functions with no pulse summary as impure 5 years ago
Sungkeun Cho 83987fca96 [cost] Revise hasNext model 5 years ago
Nikos Gorogiannis 9dbe55c419 [java tracing] goodbye 5 years ago
Nikos Gorogiannis 11891e8d5b [buck][genrule] fix tests 5 years ago
Ezgi Çiçek 064e211e39 [inefficient-keyset] Add androidx.collections.SimpleArrayMap to eligible maps 5 years ago
Ezgi Çiçek 9882b37c6c [cost][inferbo] Add models for androidx.collection 5 years ago
Mitya Lyubarskiy fcd0efb7ba [nullsafe] Consolidate various things checking dereference and get rid of misleading names 5 years ago
Sungkeun Cho c509f1c178 [cost] Add FB-specific cost models 5 years ago
Ezgi Çiçek 08f9cd4eb8 [required-props] Improve the heuristic to check build() for summaries 5 years ago
Ezgi Çiçek c9f3e20fc4 [required-props] Add more tests showing the ineffectiveness of callee heuristic 5 years ago
Ezgi Çiçek 2e129a5abe [required-props] Add call chain to trace 5 years ago
Ezgi Çiçek 856dfc5b74 [litho] Split into two checkers: litho-required-props and litho-graphql-field-access 5 years ago
Dulma Churchill 6cfbd38355 [AL] Take API_AVAILABLE into account in the Unavailable_Api check 5 years ago
Nikos Gorogiannis e0d7950e07 [concurrency] fix over-eager modeling of thread status 5 years ago
Sungkeun Cho 2d26236bed [infer] Eagerly try narrowing for the outermost loops 5 years ago
Sungkeun Cho 1468dcc1d9 [inferbo] Extend alias for collection iteration loop 5 years ago
Nikos Gorogiannis 36de121dc5 [starvation] change domain to use critical pairs `(set of locks held, event)` 5 years ago
Nikos Gorogiannis fb77efea6a [starvation] add test for master-lock false positive 5 years ago
Nikos Gorogiannis f57bb9be0a [starvation] make deduplication depend on filtering config var 5 years ago
Nikos Gorogiannis 41729410ac [starvation] remove rarely-used logic for identifying locks 5 years ago
Sungkeun Cho 5303177a2d [inferbo] Symbolic value on functions returning only exception 5 years ago
Sungkeun Cho dda1486a67 [inferbo] Introduce inequality for size alias target 5 years ago
Ezgi Çiçek d163be3b87 [required-props] Added tests for Component.Builder prop added in the chain of calls. 5 years ago
Ezgi Çiçek c68dc542b7 [required-props] Refactor tests 5 years ago
Jules Villard 362e9cc622 [pulse] do not print `()` after functions 6 years ago
Ezgi Çiçek 073e4db9d7 [required-props] Add support for checking varArgs 6 years ago
Mitya Lyubarskiy c472e95d72 [nullsafe] Add a test for field-overannotated warning 6 years ago
Sungkeun Cho c5ab00ae82 [cost] Avoid giving top to unknown global in Java 6 years ago
Sungkeun Cho 738a751d17 [cost] Add eval mode for cost substitution 6 years ago
Dulma Churchill 0eccdb25dc [clang] Do not try to store block declarations as methods of a C++ struct. 6 years ago
Mitya Lyubarskiy 361e11b3be [nullsafe] When inferring type based on the formal type, respect NullsafeType instead of reading annotations 6 years ago
Sungkeun Cho 402f3115ea [cost] Strengthen condition for collecting control variables 6 years ago
Ezgi Çiçek f7903007ee [required-props] Extend required prop setting with more custom suffixes 6 years ago
Ezgi Çiçek df712bc629 [required-props] Refine Required Props checker to only check @Prop 6 years ago
Ezgi Çiçek c5ca4db8d0 [pulse][impurity] Use pulse for detecting impurity 6 years ago
Sungkeun Cho d55f5c02d5 [cost] Add modeled range 6 years ago
Sungkeun Cho 4ff2700bde [inferbo] Add InputStream.read model 6 years ago
Sungkeun Cho 2158090322 [inferbo] Extend Simple alias domain 6 years ago
Mitya Lyubarskiy 9e60679667 [nullsafe][easy] Remove duplicated test cases for condition redundant 6 years ago
Mitya Lyubarskiy b03d2fd520 [nullsafe] More test cases for Condition Redundant 6 years ago
Sungkeun Cho 21c890f23d [inferbo] Revise widen of bounds 6 years ago
Nikos Gorogiannis 3543c89c19 [lockless] detect lock acquisitions from methods annotated @Lockless 6 years ago
Sungkeun Cho afcb0ab46b [inferbo] Address collection add in loop 6 years ago
Mitya Lyubarskiy 4f8629727e [nullsafe] Delete nullsafe-gradual tests 6 years ago
Phoebe Nichols 426775c939 hook in incremental analysis add procedure test 6 years ago
Mitya Lyubarskiy 224d44d79a [nullsafe] Make intention of NullFieldAccess test explicit and add positive cases 6 years ago
Mitya Lyubarskiy 7132a84b0d [nullsafe] Reorder and add more cases for checking @PropagatesNullable annotation 6 years ago
Mitya Lyubarskiy 7a09618dc4 [nullsafe] Make test for @TrueOnNull and @FalseOnNull annotation specific about positive and negative cases 6 years ago
Dulma Churchill 86140581d5 [AL] Adding predicate for AL rule to check that a variable of a specific type is being captured in a block 6 years ago
Dulma Churchill ab683af1f1 [objc frontend] Keep the counter for block names local to each procedure 6 years ago
Mitya Lyubarskiy fbeb58c0f2 [nullafe] Consolidate different ways to suppress field not initialized 6 years ago
Mitya Lyubarskiy b1810ef3ff [nullsafe] @Nonnull should not suppress Field Not Initialized warning 6 years ago
Sungkeun Cho f79871c5fa [cost] Ignore character symbols in the cost results 6 years ago
Mitya Lyubarskiy 63a5ffb4dc [nullsafe] Make FieldNotInitialized cover negative cases together with positive ones 6 years ago
Mitya Lyubarskiy 5bd61e75f2 [nullsafe] Consolidate and expand tests for known initializers 6 years ago
Mitya Lyubarskiy 260176251c [nullsafe] Make @Initializer annotation test specific and without "builder" boilerplate 6 years ago
Mitya Lyubarskiy 0d69999de8 [nullsafe] Provide both positive and negative cases for @Cleanup annotation test 6 years ago
Mitya Lyubarskiy 090fa92c15 [nullsafe] Make FieldNotNullable test specific about both positive and negative cases 6 years ago
Mitya Lyubarskiy fe674937a4 [nullsafe] Improve the test for checking `onDestroy` handling 6 years ago
Sungkeun Cho 5e1e5d412c [inferbo] Add Java String constructor models 6 years ago
Dulma Churchill 41aa20e2b6 [pulse] Adding tests for pulse in Objective-C++ (the C++ part) 6 years ago
Dulma Churchill 5c58689493 [pulse] Add pulse tests for objective-c (the c part of it) 6 years ago
Dulma Churchill 27ea5d041b [biabduction] Rename use_after_free to avoid name clash with Pulse 6 years ago
Mitya Lyubarskiy 8add080e4a [nullsafe][refactor tests] split and improve FieldNotNullable tests 6 years ago
Dulma Churchill d04e098eb1 [AL] Add a is_static predicate 6 years ago
Mitya Lyubarskiy 1046c63b0f [nullsafe] Prepare to introduce gradual mode: split tests 6 years ago
Mitya Lyubarskiy 46cf107411 [nullsafe] Remove functionality for @Present annotations 6 years ago
Sungkeun Cho ad4bc0a905 [cost] Ignore non-int symbols in the cost results 6 years ago
Phoebe Nichols 43964c898c Add test for introducing a procedure 6 years ago
Phoebe Nichols 6874926b10 Clean specs directory before running capture 6 years ago
Sungkeun Cho a294085d9a [inferbo] Extend size alias domain for Java temporary variables 6 years ago
Mitya Lyubarskiy 2339791336 [nullsafe][EASY] rename test annotation for clarity 6 years ago
Mitya Lyubarskiy 5b0bdfb297 [nullsafe] Refine semantics of @Nonnull: obey minimum surprise principle 6 years ago
Ezgi Çiçek 193aa91b05 [litho] Hookup litho tests to main test suite 6 years ago
Sungkeun Cho 59f06568cf [inferbo] Use std::vector model for std::string 6 years ago
Jules Villard 9e5115a9e0 [annotreach] support for new `"symbol_regexps"` matcher 6 years ago
Dulma Churchill d0bfb856ed [AL] Add new predicate is_extern 6 years ago
Sungkeun Cho fadd8cb541 [inferbo] Prune array size in Java 6 years ago
Sungkeun Cho 77084782e1 [inferbo] Fix bug in integer pruning by pointer 6 years ago
Sungkeun Cho aaa40084c4 [inferbo] Add Preconditions.checkArgument model 6 years ago
Sungkeun Cho 5f5b3de91a [inferbo] Pruning collection.size in Java 6 years ago
Sungkeun Cho 28d617b345 [cost] Revise Java's cast model 6 years ago
Nikos Gorogiannis 86a1bbf1a7 [racerd] output access expressions language-sensitively 6 years ago
Sungkeun Cho e0a5cde2d5 [cost] Print elements field of collection 6 years ago
Ezgi Çiçek 22cfcc09f5 [cost] Add test about Preconditions 6 years ago
Sungkeun Cho 9c49841ebb [cost] Add Iterator.next model 6 years ago
Jules Villard 0af754f3d7 [annot reachability] apply sanitizers in more cases 6 years ago
Jules Villard 00cbc9c1e4 [annot reachability] add debug logging and light refactor 6 years ago
Sungkeun Cho d3056d3309 [cost] Ignore boolean symbols in the cost results 6 years ago
Ezgi Çiçek 5fa9f89285 [cost] Fix misleading test names 6 years ago
Sungkeun Cho 7c18231c5c [cost] Revise hasNext() to avoid bottom in condition 6 years ago
Sungkeun Cho 4530ef5bb0 [inferbo] Fix min of minmax and linear 6 years ago
Ezgi Çiçek 89782dfff9 [cost] Mask min/max symbols when printing big O 6 years ago
Ezgi Çiçek 9c5b704ddd [cost] Record bigO in error trace description 6 years ago
Ezgi Çiçek 57492f830b [inferbo] Add missing list initialization with initial capacity 6 years ago
Sungkeun Cho ddd4d98636 [inferbo] Add vector model: data 6 years ago
Sungkeun Cho 58b403c8ff [inferbo] Add vector model: empty 6 years ago
Sungkeun Cho c05062556f [inferbo] Add vector model: push_back 6 years ago
Sungkeun Cho f6b4f75e7c [inferbo] Pruning by vector::size 6 years ago
Sungkeun Cho e9cf5d33b3 [inferbo] Add models of vector constructors 6 years ago
Ezgi Çiçek 8286347ebf [inferbo] Add models for Java's Integer 6 years ago
Sungkeun Cho 8c4be65754 [inferbo] Ondemand value generation of vector as function parameter 6 years ago
Phoebe Nichols fc17a0fce3 Add test for cost change detection with incremental analysis 6 years ago
Sungkeun Cho f066776b17 [inferbo] Add model: vector size 6 years ago
Sungkeun Cho 7a8e7d13e9 [inferbo] Add model: vector constructor 6 years ago
Jules Villard fe701a17cc [diff] delete infer-diff 6 years ago
Jules Villard 13d54990bd [models] get rid of include-based C++ models 6 years ago