87 Commits (7be85f40a2149f62da246be262c6b1d4784e165d)

Author SHA1 Message Date
Ezgi Çiçek 7af9d02542 [inferbo] Handle global constant array loads in Obj-C
4 years ago
Ezgi Çiçek a6a279d845 [inferbo] Handle field access from global struct arrays
4 years ago
Sungkeun Cho 9cdd87b67b [inferbo] Handle when const global assigned to local variable
4 years ago
Ezgi Çiçek f6f47cd7c9 [inferbo][cost] Add tests for global constant array of structs initialization
4 years ago
Ezgi Çiçek 90974b92e4 [cost] If the modeled cost is Top, underestimate the cost
4 years ago
Ezgi Çiçek 731b632632 [cost] Procedures with empty body gets 0 cost
4 years ago
Jules Villard e32f6ca360 [clang] fix bad interaction between ConditionalOperator and initializers
4 years ago
Ezgi Çiçek 9111526a5e [frontend] Track protocols in A<ObjCProtocol>
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 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
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
Sungkeun Cho 0f44f39b41 [cost] Support closure symbols in operation/allocation cost kinds
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
Ezgi Çiçek eb0fe0f995 [cost] Refactor dispatch mechanism to be uniform across cost kinds
4 years ago
Sungkeun Cho 4e7fc51ad2 [cost] Add FN tests on enumerator
4 years ago
Sungkeun Cho ead975f193 [closure] Substitute closure parameter when given via variable
4 years ago
Sungkeun Cho a40ad1c733 [cost] Report with relative paths on xcode_isysroot in tests
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
Qianyi Shu d908accd0c [cost] add inferbo model for NSArray.arrayByAddingObjectsFromArray, NSMutableArray.initWithCapacity
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
Dulma Churchill fdb1640e12 [closures preanalysis] [3/n] Adding models to dispatch functions and remove code for previous specialization and dispatch models
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
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
Qianyi Shu 41f2533ff8 [cost] fix enumerator when not used in for-each loop in ObjC
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
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
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
Qianyi Shu 3d561ca1db [cost] add alloc for NSObject and NSString.init as an example function using alloc
4 years ago