2913 Commits (7f6798999aa47e25cd9f34918dde466bfe47a803)

Author SHA1 Message Date
Radu Grigore 3478a8828f [topl] Added limits, to avoid high runtimes in corner-cases.
4 years ago
Daiva Naudziuniene 0343f5c7d9 [pulse] Remove duplicate `by` from a trace
4 years ago
Ezgi Çiçek b46433642c [immutability] Add a new experimental immutability analysis
4 years ago
Ezgi Çiçek 11141cb100 [impurity] Collect all accesses
4 years ago
Nikos Gorogiannis 0105f280a3 [racerd] consider ownership of interface calls
4 years ago
Daiva Naudziuniene 4e658903ae [pulse] Check the validity of the addresses captured by lambda only for captures by reference
4 years ago
Radu Grigore e00dbe46b1 [topl] Got rid of quadratic runtime for long methods.
4 years ago
Radu Grigore d652e22a0a [topl] Don't bubble up errors.
4 years ago
Radu Grigore d3ff423bb1 [topl] Don't put trivial large steps in trace.
4 years ago
Radu Grigore c829db4964 [topl] Fixed an eggregious performance issue (repeated summaries).
4 years ago
Radu Grigore 59daa1f022 [topl] Added the ArrayWrite event type.
4 years ago
Radu Grigore 33071b82b5 [topl] Interprocedural analysis (in Pulse)
4 years ago
Radu Grigore 206686718f [topl] Report error traces
4 years ago
Mitya Lyubarskiy c6a33c88b7 [nullsafe] Prettier error rendering for untrusted values
4 years ago
Joscha Benz 606a3c95d9 Add a config option to whitelist common initializer values for liveness analysis (#1340)
4 years ago
Sungkeun Cho ce9472f451 [cost] Add trace of closure in autoreleasepool checker
4 years ago
Ezgi Çiçek d3f1aab803 [preanalysis] Handle assigning blocks to locals in closure substitution
4 years ago
Martin Trojer 9fd1a87cd5 Upgrade Infer to clang10
4 years ago
Ezgi Çiçek c80b80d0d7 [preanalysis] Handle closure substitution in conditionals
4 years ago
Jules Villard 29f3941600 [clang] deal with conditionally-destroyed temporaries
4 years ago
Jules Villard 3d588b2751 [clang] get rid of FallbackNode
4 years ago
Jules Villard 2efa22073c [clang] force node creation in switch statements
4 years ago
Mitya Lyubarskiy 79d65a83df [nullsafe] Record correct param index in json
4 years ago
Jules Villard f2e3f67f40 [clang] change the way we wire up return statements
4 years ago
Daiva Naudziuniene 019adf7e78 [pulse] Model for folly::Optional::get_pointer
4 years ago
Jules Villard f411c7d131 [pulse] do not stop at the first error in function calls
4 years ago
Jules Villard 578583f2ab [pulse] check that new arithmetic facts are consistent with the heap
4 years ago
Jules Villard e32f6ca360 [clang] fix bad interaction between ConditionalOperator and initializers
4 years ago
Sungkeun Cho ac009cb3aa [cost] Add expensive autoreleasepool size issue type
4 years ago
Daiva Naudziuniene 58f1fd8b32 [pulse] Optional Empty Access for std::optional
4 years ago
Nikos Gorogiannis e36463959c [starvation] acquisitions mod location
4 years ago
Daiva Naudziuniene eb4684f6d5 [pulse] Less precise model for constructing optional from value
4 years ago
Daiva Naudziuniene a4241eeb43 [pulse] Refactor Optional models
4 years ago
Jules Villard b6460870dc [biabd] rename a test to follow naming conventions
4 years ago
Mitya Lyubarskiy 218bb81885 [nullsafe] Store inconsistent subclass param index in json output
4 years ago
Mitya Lyubarskiy c3f1ff0386 [nullsafe] Store field name in output json
4 years ago
Mitya Lyubarskiy 52ec2e5009 [nullsafe][annotation graph] Add test case for annotation graph
4 years ago
Artem Pianykh 1eb3d688be [java] Support human readable issues types in @SuppressLint
4 years ago
Mitya Lyubarskiy dc16825ba7 [nullsafe][annotation graph] Support `Object.equals()`
4 years ago
Mitya Lyubarskiy 192de51707 [nullsafe][annotation graph] Account for virtual params
4 years ago
Mitya Lyubarskiy dc667bec0f [nullsafe][annotation graph] Snapshot test for annotation graph
4 years ago
Daiva Naudziuniene 3d74f39102 [pulse] Improve trace for Optional Empty Access
4 years ago
Artem Pianykh 816af4a355 [java][reporting] @SuppressLint now blocks _only_ specified issue types
4 years ago
Ezgi Çiçek 9111526a5e [frontend] Track protocols in A<ObjCProtocol>
4 years ago
Daiva Naudziuniene b17861b1c8 [pulse] More precise model for constructing folly::Optional<Value> from Value
4 years ago
Ezgi Çiçek a09ea5ea9c [cost] add model for iterating over collections via block
4 years ago
Sungkeun Cho 6bf091d8c0 [frontend] Revise translation of message expression in ObjC frontend
4 years ago
Sungkeun Cho 98aee0837e [infer] Fix `make clean` of ObjC frontend test
4 years ago
Sungkeun Cho 3df2bbba96 [cost] Fix on-demand generation of NSEnumerator
4 years ago
Sungkeun Cho 43b98fc0cf [preanalysis] Replace overridden method calls in ObjC
4 years ago
Ezgi Çiçek 067020f4df [inferbo] Add model for NSFastEnumeration
4 years ago
Daiva Naudziuniene 059c0f24a2 [pulse] Model Optional value_or
4 years ago
Sungkeun Cho 67d74c7c3d [cost] Revise nextObject model to handle multiple enumerators
4 years ago
Sungkeun Cho a3fd1cad56 [cost] Fix function name in model `arrayWithObjects:`
4 years ago
Sungkeun Cho 95efb32fb4 [cost] Enable passing enumerator as paramter in ObjC
4 years ago
Sungkeun Cho 198c700e87 [cost] Add an option printing/suppressing function pointers in cost
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
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
Ezgi Çiçek cbe796e541 [preanalysis] Add a new preanalysis for ObjC's copy and mutableCopy
4 years ago
Ezgi Çiçek 8da46d0f0d [inferbo] Add naive models for mutableCopy and copy
4 years ago
Ezgi Çiçek f7fed13d0c [inferbo] Model NSSet/NSOrderedSet as collections
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 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 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
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
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
Sungkeun Cho ead975f193 [closure] Substitute closure parameter when given via variable
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
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
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 d0cb245303 [frontend] Fix capture init for cpp lambdas
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
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