701 Commits (75f4947cb153629d55e15f746d5aa4ac0bddef3b)

Author SHA1 Message Date
Andrzej Kotulski 70b003696f Translate bodies of destructors
9 years ago
Dino Distefano 4feb93e91c Fixed FP for blocks used in loops generated by join operator
9 years ago
Sam Blackshear 15480f34d5 distinguishing between failures and timeouts
9 years ago
Jules Villard 09f9765473 use several build directories
10 years ago
Sam Blackshear 6b9e1fc9d7 Stop reporting false alarms due to __nullable on Obj-C property getters and setters
10 years ago
jrm d579b2be51 avoid name collision when two or more files have the same basename
10 years ago
Josh Berdine 24aceba441 Remove unnecessary code from Arg module
10 years ago
Andrzej Kotulski f83927f0d7 Don't set is_objc_instance_method=true for any C++ methods
10 years ago
Jules Villard 0ccbb80df9 quote infer result dir shell variable
10 years ago
Dulma Rodriguez 96a5cf58e5 Nullify variables with objc flags if they appear in conditions
10 years ago
Jules Villard ec98c32b18 generate .{annot,cmt} files on demand
10 years ago
Sam Blackshear a82588ba8a Factoring out the implementations for letderef and set
10 years ago
Sam Blackshear 812ac265a8 more logging cleanup: only print Errdesc.warning_err in developer mode
10 years ago
Jules Villard 98557bb1fd compatibility with older python (eg 2.7.3)
10 years ago
Jules Villard ea4be060f6 add --disable-java-analyzers option
10 years ago
Sam Blackshear 44de91f84b logging to stderr/stdout all the time
10 years ago
Jules Villard edcc984158 compute version number inside configure script
10 years ago
Samuel Blackshear 546eaa0eaa only log to analyzer_err and analyzer_out files in developer mode
10 years ago
Dulma Rodriguez 742cb4146e Remove property of maps
10 years ago
Andrzej Kotulski 0bf6333708 Remove parent_line_number information from cfg translation
10 years ago
jrm 0def5c4111 No longer enforce the subtyping rule for the @PerformanceCritical annotation
10 years ago
Sam Blackshear df97489aa1 closing the classpath when we're done with it
10 years ago
Josh Berdine 63b57790f9 Fix indentation of multiline copyright comment
10 years ago
jrm d390568aed to avoid redundancy, no longer print the name of the class when printing the name of a constructor
10 years ago
Sam Blackshear 53167d98cd refactoring command line options for debugging
10 years ago
Josh Berdine b729c93dd5 Add model of java.lang.Class.getResource
10 years ago
Josh Berdine d99b6ca492 Use doesNotContain instead of containsExactly none
10 years ago
Andrzej Kotulski 6d9c5c684e Fix naming problems with template methods
10 years ago
Jules Villard 4d23334abd add version.mli
10 years ago
Jules Villard a31d45b4f7 do not use ocamlbuild -clean, do not print rm commands
10 years ago
Dulma Rodriguez fcd040ff8a Don't use the property of maps for finding properties in the frontend checkers
10 years ago
Dulma Rodriguez 339cf56eb9 Replace query for getter and setter with info from the procdesc rather than the property map
10 years ago
Jules Villard 2565bb1438 fix open-source taint models
10 years ago
Jules Villard b8c16ddb27 fix typo
10 years ago
jrm 24d28c6858 no longer fail when the type of an execption is not found in the type environement
10 years ago
Dino Distefano c8b80f2435 Extended framework for taint analysis
10 years ago
Sam Blackshear c6b8682dd6 compute taint errors in single pass over the set of atoms
10 years ago
Cristiano Calcagno 1666d7f353 Model Map.put() alongside Map.containsKey().
10 years ago
jrm 3ba477faff add more special characters that can appear in the list of filenames generated by Buck
10 years ago
jrm 15eb16723b non-functional refactoring of the Procname module
10 years ago
Sam Blackshear e0cf26e5c3 adding cf_interface flag--prereq for experimenting with dynamic dispatch for interfaces only
10 years ago
Sam Blackshear 99f79587cd adding ContentValues as sink
10 years ago
Josh Berdine d66261a1f4 Do not reuse Undef function values
10 years ago
Andrzej Kotulski 5b4df5566c Make all internal pointers convertible to ints
10 years ago
Dulma Rodriguez a54b2d03f6 Remove unused code from ast_expressions
10 years ago
Dulma Rodriguez 515ce95a98 Remove unused code in ObjCProperty_decl
10 years ago
Dulma Rodriguez b51da4f050 Remove the concept of generated method from the frontend and proc attributes
10 years ago
Dulma Rodriguez 1e5b8aeee7 Adding builtin setters and using them by skip
10 years ago
Andrzej Kotulski 173ee91844 Support template methods
10 years ago
Andrzej Kotulski b544be7bef Use PriorityNode.compute_results_to_parent in init_expr_trans
10 years ago
Andrzej Kotulski cd77e41fbb Simplify PriorityNode.compute_results_to_parent
10 years ago
Andrzej Kotulski 84549f691d Support decl_stmt in switch stmt
10 years ago
Andrzej Kotulski a8d5f4241d Put condition node to res_trans_cond
10 years ago
Jules Villard a57ec90405 add empty _tags file to pacify ocaml
10 years ago
jrm 61e457b1f6 Run the @PerformanceCritical checker by default with the other checkers
10 years ago
martinoluca 0dfe0b8f75 Let InferPrint count timeouts
10 years ago
Dulma Rodriguez c02b3ca034 Add correct ivar name to the getters and save the ivar to the tenv if not available
10 years ago
Andrzej Kotulski 6d7521809b Update fcp to get automatic location visitor
10 years ago
Andrzej Kotulski eeb7c33230 Update fcp
10 years ago
Andrzej Kotulski 92690551a6 Handle lvalues inside conditional operator right + fix init_expr_trans to fix materializeTempExpr not connecting nodes
10 years ago
Dulma Rodriguez 9c9504ba51 Using the link from method decl to property to determine whether the method is accessor
10 years ago
jrm 3b919179bc Add the type of the resource being leaked to the error message
10 years ago
jrm 5a218a6d02 treat guava preconditions checks as assume instead of exeption throwing assertions
10 years ago
Jules Villard a774f5e733 compile with -safe-string
10 years ago
Jules Villard 8dabf716e0 remove compilation warnings for OCaml version >= 4.02.0
10 years ago
Dulma Rodriguez 4b82e208ff Update facebook clang plugin after adding more info about ObjC properties
10 years ago
Sam Blackshear 8e8772f1aa make tainting work properly for skip functions
10 years ago
Dino Distefano dd5b3dfd83 Making the checker not report on init methods
10 years ago
Dino Distefano e76939b53b Drawing retain cycles
10 years ago
Dulma Rodriguez 37fdeb84bc Moving the property frontend checkers to a dummy procdesc
10 years ago
Andrzej Kotulski a1c1b10862 Use priority node for branches inside coditional operator
10 years ago
Andrzej Kotulski 9db84e3a86 Always translate record types
10 years ago
Jules Villard c95a142d76 remove GNU-specific install flags
10 years ago
Jules Villard 5019471640 migrate infer/src/Makefile
10 years ago
Jules Villard 7f1b494001 migrate infer/models/Makefile
10 years ago
Jules Villard 408ec141ad migrate infer/Makefile
10 years ago
Jules Villard dbfa1f7c69 migrate infer/annotations/Makefile
10 years ago
Andrzej Kotulski 96b659bb6e fix cpp frontend tests
10 years ago
Andrzej Kotulski 0bf7e46579 Translate C++ function templates
10 years ago
Sam Blackshear 4dc9dac9e9 getting started on a Nullable annotation checker for obj-c
10 years ago
Andrzej Kotulski d4e76fa9ec Refactor UnaryOperator_trans to use compute_results_to_parent
10 years ago
Andrzej Kotulski 71482fb472 Refactor CompoundBinaryOperator to use same code as BinaryOperator
10 years ago
Dino Distefano 99c491e8c7 Introducing the DIRECT_ATOMIC_PROPERTY_ACCESS
10 years ago
Dulma Rodriguez 12d21c73dd Adding builtins for getters and calling them by skip
10 years ago
Andrzej Kotulski 1349492e57 Update facebook-clang-plugins version
10 years ago
jrm 1aa354cf1f Skip the Buck build command when the list of target is empty
10 years ago
jrm a49b0965ef Model `android.view.View.findViewById` as an expensive method
10 years ago
martinoluca e62920ebae Add support for passing blacklist regex for files to not analyze with Buck
10 years ago
Jules Villard f7ecf30739 refactor pruning code in symExec.ml
10 years ago
Andrzej Kotulski 5a4f5fa444 Refactor BinaryOperator_trans to use compute_results_to_parent
10 years ago
Andrzej Kotulski 60b4f6e766 Refactor PriorityNode.compute_results_to_parent to call collect_res_trans directly
10 years ago
Andrzej Kotulski 35bb8a9a26 Change order in which ids get generated for objcMessageExpr_trans
10 years ago
Jules Villard 1abebf9046 minor cleanups in prop.ml
10 years ago
Andrzej Kotulski 3f9a08f99c Defer cfg node creation for returnStmt and init_expr_trans
10 years ago
Andrzej Kotulski 0d1af3cc46 Don't set succ_nodes for substatements in returnStmt and init_expr_trans
10 years ago
Andrzej Kotulski 9353c7bbfd Use qualified names for global variables
10 years ago
Andrzej Kotulski a06ce9ca0e Don't report null dereference on 'this' in C++ methods
10 years ago
Andrzej Kotulski 22b84162d6 Don't use trans_state.parent_line_number to determine location
10 years ago
Andrzej Kotulski 1eecdacea6 Ignore type change in UncheckedDerivedToBase cast
10 years ago
jrm b598c747b5 Always consider Java types as subtypes of themselves
10 years ago
jrm d712635feb Automatically infer the @PerformanceCritical annotations from the overriden methods
10 years ago
Sam Blackshear dcdebbd811 creating a framework for adding src/sink models based on method names/signatures alone
10 years ago
Sam Blackshear a6543cd665 simplifying use of process_splitting by moving normalization inside
10 years ago
Jules Villard 37d2e84192 dedup merged json reports
10 years ago
Cristiano Calcagno 8cd68cd890 Separate payloads from different analyses in specs.
10 years ago
Andrzej Kotulski ddbf4d9c47 Support template classes
10 years ago
Andrzej Kotulski 7389dfe976 Don't crash when method decl is not found
10 years ago
Dulma Rodriguez 0441919a42 Using clang's method resolution if possible
10 years ago
Sam Blackshear 867e7804af implementing abstract methods to avoid false negatives due to dynamic dispatch issues
10 years ago
Sam Blackshear 29ea879930 eliminating precondition not met in taint analysis
10 years ago
Sam Blackshear 353f23695a eliminate need to use attr_check_changed when adding or replacing attributes
10 years ago
Andrzej Kotulski 47f973660e Turn off compiler all warnings to avoid compilation failures
10 years ago
Andrzej Kotulski 81337ce2cb Support MaterializeTemporaryExpr
10 years ago
Jules Villard 22bd029e46 refactor print_and_save_errors
10 years ago
Jules Villard 529d103977 refactor reading json
10 years ago
Jules Villard fc2879ca8f refactor dumping of json
10 years ago
Andrzej Kotulski 04e4546a91 Major update of facebook-clang-plugins
10 years ago
Sam Blackshear 8eb668f668 deleting string models/tests
10 years ago
jrm 646c9dbb61 Report error message with call stacks for @PerformanceCritical checker
10 years ago
Sam Blackshear 848bf24f66 Print warnings when running InferPrint on a .specs file
10 years ago
Sam Blackshear 14c616e34f clean up some duplicate code in Errdesc
10 years ago
martinoluca 64189548b0 Add paths to specs through file list
10 years ago
Dulma Rodriguez 369de5880e Add variable to locals in dispatch functions as usual
10 years ago
jrm afac6dbfdc Fixing a couple of broken things in the script to compare Infer reports
10 years ago
Sam Blackshear c7c8d58334 fixing taint analysis so it doesn't prevent postcondition inference
10 years ago
Andrzej Kotulski 16cb8e3f30 Translate CXXOperatorCallExpr
10 years ago
Andrzej Kotulski c45f7793ea Assign proper location information to children of OpaqueValueExpr
10 years ago
Andrzej Kotulski dbe4c0c307 Assign proper location information to block
10 years ago
Sam Blackshear 8e9ed5eb6b adding model for verifying sockets before reading from them
10 years ago
Dino Distefano 761e4acc08 Adding models of CADisplayLink for catching retain cycles.
10 years ago
Andrzej Kotulski cb42fdcc31 Use fully qualified names for functions
10 years ago
Andrzej Kotulski 9748502a1a Handle C++ static methods
10 years ago
jrm 2e01d3402f adding some tests to outline the behaviour of the @Expensive checker with inheritance
10 years ago
jrm 8fb90ccf54 get the @PerformanceCritical and @Expensive annotatations of overridden methods from the summaries
10 years ago
Andrzej Kotulski c2aaf867cd Cleanup handling of namespaces from ocaml code
10 years ago
Andrzej Kotulski 71e424d6ba Use qual_name to extract class name from method decl
10 years ago
Dulma Rodriguez 87a3d693e1 Adding static variables to blocks class to get retain cycles
10 years ago
jrm 930eaba2d5 model Inflater and Deflater as resources
10 years ago
jrm 12e37c97fc sort the list of bugs in order to preserve the position of the entries in the JSON file
10 years ago
Sam Blackshear 631f2a9882 fixing spacing issue in context leak error message
10 years ago
Sam Blackshear 3d646f012e use buck query for faster target lookup
10 years ago
martinoluca 0ad19a3b93 Fix wrong module name in toplevel buck module
10 years ago
Dino Distefano 316ad95659 Fixing Bad pointer comparison checker in fast iteration
10 years ago
Dino Distefano 03b4c11c06 Improved error message for taint analysis
10 years ago
Josh Berdine 53a32848d5 Model and test FileChannel.tryLock throws
10 years ago
Andrzej Kotulski 55f9fb9d5e Add base class fields to C++ classes
10 years ago
Jules Villard 10db97be1e cleanup print_errors()
10 years ago
Josh Berdine bf408a1d03 Add models of FileChannel.tryLock methods.
10 years ago
Josh Berdine b77e24fa01 Model File.listFiles using undefined instead of allocation
10 years ago
Jules Villard 2367b1c9ff cleanup two c tests that were causing clang warnings
10 years ago