3255 Commits (b52189d68f49fafd188a44e77d74f042ffa2a898)

Author SHA1 Message Date
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
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
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
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
Nikos Gorogiannis 84ff14f2e7 [sqlite] enforce attribute.is_defined iff procdesc is not NULL
4 years ago
Ezgi Çiçek 9b84af1813 [cost] Replace polynomial category zero with unreachable
4 years ago
Sungkeun Cho 4d3c22e167 [cost] Fix cost-issues.exp in autoreleasepool
4 years ago
Sungkeun Cho 8fde3f2479 [cost] Revise CostDomain.plus functionality: zero+unreachable
4 years ago
Sungkeun Cho 6ff1a42b6a [cost] Add tests run with ARC/non-ARC sources
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 e9a6195b52 [sqlite] index on proc_uid
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
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
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
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 5278cb7374 [pulse] `delete nullptr` is a no-op
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
Sungkeun Cho 5d23fb59aa [cost] Add FP test that has two control variables, but linear
4 years ago
Daiva Naudziuniene dcc12d0a42 [closuressubstitution] Flip order of captured variables and actual parameters
4 years ago
Qianyi Shu 4683076ea6 [cost] add NSMutableArray's add and remove function model
4 years ago
Qianyi Shu a7ff42069c [cost] write ObjC's NSCollection model separately and refactor
4 years ago
Mitya Lyubarskiy 7635bb0414 [nullsafe] @Initializer annotation is inherited from parent signatures
4 years ago
Daiva Naudziuniene 69e0dce0ed [pulse] fix end() iterator false positive
4 years ago
Nikos Gorogiannis a9c9d97fb6 [specs] index by procname
4 years ago
Artem Pianykh 16b2b2621d [java][tests] Compile with -g to make javac produce more debug info
4 years ago
Jules Villard 97fcc3b0ad [pulse] apply equality relation to terms to be added to the equality relation
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
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
Ezgi Çiçek e6211679a0 [cost][loop-invariance] Do not invalidate pure functions
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
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 3ddf77f0f1 [java] make return type in procname a Typ.t
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
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
Mitya Lyubarskiy 72d45672d8 [nullsafe] Add a test for @SuppressFieldNotInitialized
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
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
Daiva Naudziuniene 221d0b62ab [pulse] Model builtin __new as returning non-null
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
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
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
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
Daiva Naudziuniene 35011757dc [pulse] Add a flag to pass functions that we want to model as returning non-null
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
Daiva Naudziuniene 0ab3689f1f [infer] NULLPTR_DEREFERENCE false positive caused by thread_local variable
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
Sungkeun Cho 1745bf9dd0 [cost] Add model of File.listFiles
4 years ago
Ezgi Çiçek 83a83ce9e0 [litho] Add support for Sections
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
Sungkeun Cho b48534c640 [cost] Support a specific form of linked list iteration
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 96291c0fdd [nullsafe][tests] Rename package name from nullsafe_default to nullsafe
4 years ago
Nikos Gorogiannis 0255765a54 [starvation] document false positive
4 years ago
Sungkeun Cho 70a432e795 [CCBM] Support Clang target
5 years ago
Artem Pianykh 9af4fe0b8e [nullsafe] Add a FP test for null-checking assignment result
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
Dulma Churchill 219cc64cb6 [biabduction] Delete null_test_after_dereference check
5 years ago
Qianyi Shu 9e0d5de91d [cost] add objc test for NSDictionary and NSMutableDictionary
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
Dulma Churchill b6c8e52e8c [biabduction] Delete use after free
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 23c1b4f960 [classloads] remove dead analyser
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 0bf23c66fd [help] document checkers
5 years ago
Sungkeun Cho e86ea5ca7f [infer] Fix tracebugs test Makefile
5 years ago
Ezgi Çiçek 6d7df79573 [cost] Brush up tests (4)
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 8a1c10f8a1 remove dynamic severity: Reporting.log_{error,warning} -> log_issue
5 years ago
Nikos Gorogiannis 341e719fd4 [starvation][whole-program] add model for `Main`
5 years ago
Dulma Churchill aa6fe7963c [pulse] Add dealloc calls for ObjC objects that are about to become unreachable
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 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 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
Nikos Gorogiannis 881d617284 [concurrency] android methods starting with "on" are on UI thread
5 years ago
Jules Villard 163f3c687d kill Exceptions.Dummy_exception
5 years ago
Daiva Naudziuniene 98092481d4 [pulse] Special case for std::function:operator=( nullptr )
5 years ago
Jules Villard f616da42f1 [docs] only one checker allowed per issue type
5 years ago
Dulma Churchill 61869b8edb Revert "[frontend][clang][RFC] fix translation of enum constant"
5 years ago
Nikos Gorogiannis 2bbd25087c [buck] java & clang combined capture
5 years ago
Jules Villard f8e71ceb1e [topl] make TOPL its own checker
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
Ezgi Çiçek 4f97296e55 [cost] Remove cold-start issues
5 years ago
Jules Villard bf97abfbd3 [pulse] add Java tests
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
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
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
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
Dulma Churchill 40143ab01c [pulse] Model CFRelease as removing the Allocated attribute rather than as free
5 years ago
Nikos Gorogiannis 91e0b4c7a0 [racerd] fix bug in c++ mode
5 years ago
Mitya Lyubarskiy 045649abaf [nullsafe] Aggregate meta-issues for top-level classes
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
Mitya Lyubarskiy b419541af2 [nullsafe] Skip analysis of autogen methods
5 years ago
Jules Villard 5c453393ff [pulse] recency model for memory accesses
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