443 Commits (a68c45c2a97b46e81c2d04ab39c6fb9e912c9ba7)

Author SHA1 Message Date
Jules Villard f813b801ee change external buckversion
9 years ago
Josh Berdine b4bc7904f5 Move SymExec.lookup_java_typ_from_string to Tenv
9 years ago
Josh Berdine 61d2a50809 Simplify interface of SymExec
9 years ago
Josh Berdine fd062cf736 Refactor SymExec.ModelBuiltins into toplevel module
9 years ago
Cristiano Calcagno 509a666ee0 Refactor Sil.pvar into a separate module.
9 years ago
Cristiano Calcagno 53702e43e8 Created IR folder for the intermediate representaion files.
9 years ago
Sam Blackshear c03f39f20c Fixing some issues with Obj-C blocks
9 years ago
Josh Berdine 2dcd93204c Refactor SymExec.Builtin into toplevel module
9 years ago
Josh Berdine 6ae225dd62 Merge captured targets after parsing args
9 years ago
Cristiano Calcagno d41d452b67 Make eradicate work in the absence of procdescs for callees.
9 years ago
Josh Berdine 97bc95e8c9 Allow relative or absolute names in ondemand_file
9 years ago
Dulma Rodriguez 0c5bca7a4b Translate arrays created with new
9 years ago
Jules Villard d95ed8e9a7 write filenames as ascii only
9 years ago
Josh Berdine 63b1df9966 Print usage message when cl arg parsing fails
9 years ago
Cristiano Calcagno e34e369835 Complete command-line support for reactive mode with buck on iOS.
9 years ago
Dino Distefano fc5d4897a5 Registered Observer check done by front-end
9 years ago
Cristiano Calcagno b7bc95e1f9 Add option -merge_captured to merge the result of capture for different targets.
9 years ago
jrm af80cdc168 Enable the printing of OCaml exceptions stack traces
9 years ago
Cristiano Calcagno c198d76631 Clean up the Procname module, and remove remaining assert false
9 years ago
Sam Blackshear 91ae1baebc massive refactoring of harness generation
9 years ago
Sam Blackshear f9bffe1e87 move remove_tmps and add_abstraction steps into the pre-analysis
9 years ago
Sam Blackshear dec843f5f5 copy-propagation analysis + tests
9 years ago
Sam Blackshear 2991bd3fc3 using address-taken analysis for nullify placement rather than alias analysis
9 years ago
Sam Blackshear ab1ac822f6 Replacing Ctuple with Cclosure
9 years ago
Josh Berdine 66d865ff6a Accept command line options via environment vars
9 years ago
Cristiano Calcagno 86304b3d9c Prevent assert false from occurring on Java functions in Procname.
9 years ago
Jules Villard 4384870b44 move utils.Escape to its own file
9 years ago
Sam Blackshear 7d10105060 moving tracecalls around so tests will pass on open-source build
9 years ago
Dulma Rodriguez 10a14a7324 Translate CXXTypeidExpr
9 years ago
Sam Blackshear 63f8a3e709 refactoring facebook-specific and open-source taint lists to fix open-source tests
9 years ago
Cristiano Calcagno 010b57e7cc Add --continue option for reactive analysis to continue the capture.
9 years ago
Cristiano Calcagno 3c4013d363 In debug mode, write html files for headers too.]
9 years ago
jrm cc4fcd6837 Add support for modeling @Expensive methods using .inferconfig
10 years ago
Cristiano Calcagno 909473f3da Clean up code to produce html pages of analysis results in debug mode.
10 years ago
Cristiano Calcagno e71ae11cae Activate timeout logging in the progress bar when developer mode is on.
10 years ago
Cristiano Calcagno b2969820a4 Avoid loading the cfg explicitly to find a proc desc.
10 years ago
jrm 81a59515e4 Simplify the code to collect the list of @SuppressWarnings annotations
10 years ago
Sam Blackshear 8d62fd12ca pretty-printable versions of common data structures
10 years ago
Cristiano Calcagno a06d854364 Make the API of Exe_env return options instead of throwing exceptions.
10 years ago
jrm 793911c847 Add the possibility to analyze procedure descriptions on-demand without serialization
10 years ago
Sam Blackshear 7fb8f8b651 adding type-specific taint error messages
10 years ago
Sam Blackshear 15f0c7e384 adding "kind" for taint attribute
10 years ago
Cristiano Calcagno 7c464c5bac Cleanup toplevel InferAnalyze and include procedures in the progress bar.
10 years ago
Cristiano Calcagno 71f81f102c Restore printing of html for procedures
10 years ago
Cristiano Calcagno 494dabf638 Simplify code in SymExec: cleanup and look up cfg.
10 years ago
jrm e123635122 Add support for @SuppressWarnings for Gradle and Ant projects.
10 years ago
Dulma Rodriguez ef3e516f6f Translate ImplicitValueInitExpr
10 years ago
Sam Blackshear 2d89426170 fixing tenv_lookup
10 years ago
Sam Blackshear 337d2cc537 fixing tenv_add to add only struct_typ's
10 years ago
jrm 082ca6a90a Initial support for lazy dynamic dispatch
10 years ago
Sam Blackshear 82f2b7b6de make tenv a typename -> struct_typ map
10 years ago
Sam Blackshear 878bf938eb kill Tenum
10 years ago
Dino Distefano b7d6f2a3bd Fixed problem with null pointer dereference in c library models.
10 years ago
Cristiano Calcagno 89a2f2a7b4 Keep only on-demand infrastructure and delete the rest or the infrastructure.
10 years ago
Cristiano Calcagno e0d5847eb8 Deprecate incremental
10 years ago
Dino Distefano c868f51b2d Introducing checker for observer of notification centers
10 years ago
Cristiano Calcagno 021cf213a6 Bypass the interprocedural algorithm in Fork with ondemand, and replace it with a simple iteration.
10 years ago
jrm 8ce56968d6 no longer report NULL_TEST_AFTER_DEREFERENCE in tracing mode
10 years ago
Cristiano Calcagno f3ba6c3906 Revamped Timeout module to save and restore seconds and symops.
10 years ago
Josh Berdine 2c489371dd Revert "[ondemand][backend] Turn on on-demand infrastructure by default"
10 years ago
Peter O'Hearn bec08365de Part 1 of double unlock, locks as resources
10 years ago
Cristiano Calcagno 16402cddc0 Save global state for abstraction for on-demand.
10 years ago
Cristiano Calcagno 90489d7f54 Always analyze procedures when analyze_models is set.
10 years ago
Cristiano Calcagno ccd760b239 Fix pre-analysis crash in master.
10 years ago
Sam Blackshear cd002e5c46 fixing angelic mode for struct values passed by reference
10 years ago
Sam Blackshear 9f346ea1fc allowing abstraction of Tvar's
10 years ago
Andrzej Kotulski a83f544775 Make Sil.expand_type non-recursive
10 years ago
Cristiano Calcagno 2b1558af6d Turn on on-demand infrastructure by default
10 years ago
Cristiano Calcagno 57b4497663 Start reactive exploration from changed procedures only.
10 years ago
kstreee a7e004472d Resolve a bug that Infer does not analyze procedures when the analyzer is run on '/'.
10 years ago
Cristiano Calcagno 42ecddcf37 Add command line arguments for reactive mode.
10 years ago
Cristiano Calcagno c570d97ad8 Cleanup code for registering builtins.
10 years ago
Cristiano Calcagno bf2909dd34 Cleanup global state in module Fork.
10 years ago
Josh Berdine de31246399 Builtin.builtin_plain_functions is no longer used
10 years ago
Josh Berdine a73d7be9a8 Remove unused support for ocaml < 4.02
10 years ago
Josh Berdine 77b22ded03 Warn on unused identifiers
10 years ago
Josh Berdine 02056079cf Warn of unused values
10 years ago
Josh Berdine a87ef7e7ff Remove old front-end code
10 years ago
jrm c6d8cdc8ee Add support for @NoAllocation in the performance critical checker
10 years ago
jrm 14d4f862eb @Performance critical checker: compute the expensive call stack lazily when reporting errors
10 years ago
Sam Blackshear 091f31dd17 translating monitor exit/enter
10 years ago
Dulma Rodriguez efd3aeccc6 Using the attributes table to find out the method to call in virtual calls
10 years ago
Josh Berdine a6d7bbb38b Warn of unescaped end-of-line in a string constant
10 years ago
Josh Berdine 55cb61dbda Warn of unused open statements
10 years ago
Josh Berdine b155168083 Open Utils implicitly
10 years ago
Josh Berdine 7f231b8aa0 Move pi and sigma types from Dom to Prop
10 years ago
Josh Berdine 2fa5c5b4e9 Warn of unused types
10 years ago
Josh Berdine 89338c86e9 Warn of unused constructors
10 years ago
Josh Berdine 2f47142b94 Warn of unused loop index variables
10 years ago
Josh Berdine 675cfeb56c Enable -strict-formats
10 years ago
Josh Berdine 9bdd1a9d0f Enable -principal to check ambiguous code
10 years ago
Sam Blackshear 5833835289 dynamic dispatch for virtual calls in Java
10 years ago
Dino Distefano e0fe2af712 Added a two new attributes: observer/unsubscribed_observer
10 years ago
Andrzej Kotulski 32a5cae175 Fix infinite loop in type expansion
10 years ago
Andrzej Kotulski 3db68bcb4c Create .start file when infer starts
10 years ago
Dulma Rodriguez 5db8fa4539 Remove tvars from the tenv
10 years ago
Sam Blackshear 556b9c121d improving error message from fragment retains View checker
10 years ago
Dulma Rodriguez bf90a64fb5 Fix the typing implication in the bi-abduction for non Java types
10 years ago
Cristiano Calcagno 2a926d8294 Remove uses of assert false to get original ml location.
10 years ago
Sam Blackshear 7af27e07d5 deleting unused type_prop.ml
10 years ago
Sam Blackshear 5e9a21573b preventing Bad_footprint when passing struct value by reference
10 years ago
jrm 904151888c fix treatment of linked list in Java
10 years ago
Dulma Rodriguez ac7959f2df Adding subtyping to ObjC
10 years ago
Cristiano Calcagno 047eec5a6f Refactor callbacks for Eradicate and Checkers.
10 years ago
Sam Blackshear d0cd8fca47 removed unused param footprint_part
10 years ago
Cristiano Calcagno 88e1d137ba Refactor State module and make OnDemand restore it after calls.
10 years ago
Cristiano Calcagno d31b041fba Replace CRC module with Digest.
10 years ago
Cristiano Calcagno 6be7266f1f Restore intraprocedural mode for Eradicate and Checkers
10 years ago
Cristiano Calcagno 34b62fc51c Inline Java synthetic methods systematically before writing the cfg to disk.
10 years ago
Cristiano Calcagno 987471d938 Remove unused code for cyclomatic complexity.
10 years ago
Cristiano Calcagno 41de08924b Indentation of command-line agruments.
10 years ago
Peter O'Hearn 028ac24d46 Simple model for locks
10 years ago
Jules Villard cbb8810e2c make dotty field optional in json
10 years ago
Jules Villard e11395d199 print location of errors in infer source code in debug mode
10 years ago
Jeremy Dubreil 70dbe8db74 Simplify the type comparison of Java classes
10 years ago
Sam Blackshear 7938fbb344 Fixing 'file name too long' errors
10 years ago
Dino Distefano 5b91ec9f7f A fix for empty retain cycle
10 years ago
Sam Blackshear ef3912cbde Adding on-the-fly translation of types during pre-analysis
10 years ago
Cristiano Calcagno 5683fd8413 Fix collision of spec file names on case insensitive file systems.
10 years ago
Cristiano Calcagno 1b4efcfc7a Enable the analysis of models in on-demand mode.
10 years ago
Cristiano Calcagno 10286931ee Cleanup handling of global state, and add footprint mode to the values.
10 years ago
Cristiano Calcagno 7a7260635f Refactor the worklist data structures of the intraprocedural algorithm as non-global state.
10 years ago
Dulma Rodriguez f4bbd44212 Translate dynamic cast for C++
10 years ago
Dulma Rodriguez 10fe998c12 Extending subtyping to C++
10 years ago
Sam Blackshear be86e5d15d Exposing java_typ_to_string
10 years ago
Sam Blackshear 14e934205f implementing dynamic dispatch support for Java interfaces
10 years ago
Cristiano Calcagno 7673d94600 Distinguish between class kinds: CPP, Java, Objc
10 years ago
Cristiano Calcagno 74dbfd72b5 Fix issues with html output for debug in on-demand mode.
10 years ago
jrm 18668a41ce simplify the API to create procedure descriptions
10 years ago
Sam Blackshear dc0b91662a Save space/simplify by deleting Exe.file_map
10 years ago
Cristiano Calcagno 162dc42b5b Use a record for struct types instead of a 7-tuple.
10 years ago
Dulma Rodriguez f379383b04 Adding support for annotations for cpp classes to separate them in the backend from objc classes
10 years ago
jrm ad2a9064c3 No longer overwrite the attributes in the summary if already existing
10 years ago
Cristiano Calcagno bcba8a7011 Fix transition between re-execution and footprint in on demand, and support tests for incremental.
10 years ago
Cristiano Calcagno 453709c3c8 Only propagate nullable to return value when environment variable is set.
10 years ago
Cristiano Calcagno 97a3aa3d0b Fix treatment of recursion and double file descriptor close in on-demand.
10 years ago
Dulma Rodriguez f34f2dcd98 Don't crash when a cg cannot be loaded.
10 years ago
Sam Blackshear d1cf7b7177 removing unused tenv in conditional pruning
10 years ago
jrm a7371d5678 Perf critical checker: save the chains of calls to expensive methods in the error traces
10 years ago
Dino Distefano 377893637a Direct property access should not fire on dealloc methods
10 years ago
jrm cf5040cbee call the on-demand analysis using the procedre name after name resolution
10 years ago
jrm 30e2cf7114 Revive the "call by procedure name" mechanism for Java
10 years ago
Andrzej Kotulski 32745b67aa Add dotty information about retain cycle
10 years ago
Andrzej Kotulski 0ea850b7a2 Add dotty file contents to json report
10 years ago
Andrzej Kotulski 3adbb56e9c Add extra field to error_desc.
10 years ago
Josh Berdine 2c0fc4025b Remove out-of-date comments
10 years ago
jrm b3bf8b1ecc No longer overwrite the list of non-static fields during the translation
10 years ago
Jules Villard f2240395dd restore join of integer values
10 years ago
jrm 9f5159241f Use Typename.t for the type of the supertypes in the defintion of classes.
10 years ago
jrm 6d91199be7 Generalize the detection of assertion failures to any kind of custom errors defined programatically in the orginal source code
10 years ago