1770 Commits (db08df930a09e84c2bc4d27cd11b35f90cf51981)

Author SHA1 Message Date
Raghavendra Prabhu d9699264e0 Fixes/updates to build on linux.
9 years ago
Ryan Rhee d594a525ac Test that CK rules don't fire in non-component files
9 years ago
Ryan Rhee da771ac5aa Mutable local vars
9 years ago
Ryan Rhee 8a40482fac Detect when in CK
9 years ago
Ryan Rhee 88897addfa Add in_main_file to context
9 years ago
Sam Blackshear 8f5542ed2f functor for creating traces from source and sink specs
9 years ago
Sam Blackshear 36e2175293 trace building blocks: sources and sinks
9 years ago
Andrzej Kotulski 185f6493bc Update fcp with new naming fixes
9 years ago
Martino Luca 3dae9dc4f6 Use Guava's Optional in tests
9 years ago
Ryan Rhee 5a8eb19041 Comment formatting for cFrontend_utils.mli
9 years ago
Ryan Rhee 70d5b604bf Split get_super into get_super_impl and get_super_if
9 years ago
Jules Villard cdce8f9794 better help
9 years ago
Ryan Rhee 894e92d4f3 Fix comment formatting for linter context
9 years ago
Ryan Rhee 3d719a24d9 Matcher w/ explicit error name
9 years ago
Ryan Rhee 6e6a7a8e5a Add is_ck_translation_unit to context
9 years ago
Cristiano Calcagno 66385dd5f4 Refactor module Prop by moving normalization functions into module Normalize.
9 years ago
Ryan Rhee e2ff6e58a5 `buck test componentkit` boilerplate
9 years ago
Cristiano Calcagno b48ec1ac93 Clean up API to access components of propositions.
9 years ago
Cristiano Calcagno 89270c558c Add module Core in Prop to make transitions between exposed and normalized explicit.
9 years ago
Sam Blackshear 034d2e3c81 adding accessTree.fold
9 years ago
Jules Villard 3b3f587652 update fcp to have qualifiers in ValueDecl types
9 years ago
Ryan Rhee 4a6202c772 Move get_super to utils
9 years ago
Josh Berdine a9a38f20ec Simplify normalization in Attribute.remove
9 years ago
Josh Berdine 3896b10265 Move Prop.Attribute to toplevel
9 years ago
Josh Berdine 60496f2ae4 Minor cleanup of Prop.Attributes interface
9 years ago
Josh Berdine 4053d24bed Refactor Prop ops on attributes into sub-module
9 years ago
Martino Luca b7d70ff178 Add support for extra cases of BAD_POINTER_COMPARISON warning
9 years ago
Josh Berdine 6555a84409 Make warning 23 (Useless record with clause) fatal
9 years ago
Josh Berdine c147ab4197 Refactor Sil.attribute and associates to PredSymb
9 years ago
Josh Berdine 25a52c7bbc Refactor operations on Exp.t in Sil to Exp
9 years ago
Josh Berdine 8a90190309 Remove dead Sil.binop_invert
9 years ago
Josh Berdine f9ca08a9a8 Refactor Exp.t-keyed collections from Sil to Exp
9 years ago
Josh Berdine d60965824e Refactor exp_equal and exp_compare to Exp
9 years ago
Josh Berdine 701eb20f83 Refactor Sil.exp to Exp.t
9 years ago
Josh Berdine 6ffe204252 Make Aobjc_null attribute a binary predicate
9 years ago
Josh Berdine 4185bda8ba Generalize predicates from unary to nary
9 years ago
Josh Berdine b6544eace7 Remove redundant normalization
9 years ago
Josh Berdine c2f62f3a97 Remove tuple type redundant with atom
9 years ago
Josh Berdine a8ce65b221 Encode polarity of predicates into atom tag
9 years ago
Josh Berdine b09b28f10f Add negated attributes, with 2-valued semantics
9 years ago
Josh Berdine 71a15b2388 Represent attributes with atoms, not disequalities
9 years ago
Martino Luca e3132152cb Check for the presence of removeObserver into class hierarchy
9 years ago
Lázaro Clapp Jiménez Labora d23c99a4ea Add blame_range to crashcontext analysis.
9 years ago
Sam Blackshear 8ff9f2afab making get_reachable_hpreds understand inductive predicates
9 years ago
Vaibhav Tulsyan dba179845b Minor typo fix
9 years ago
Josh Berdine 06cbdfa651 Cosmetic changes to improve Reason conversion
9 years ago
Josh Berdine fe780cb6ff Move comments to improve attachment
9 years ago
Josh Berdine 32146523ca Enable warning: Unexpected documentation comment
9 years ago
Ryan Rhee d2a4028881 Call decl checkers on DeclStmt statements
9 years ago
Lázaro Clapp Jiménez Labora 7c3110b76f Extract stacktrace.ml regexp constructors to module level.
9 years ago
Lázaro Clapp Jiménez Labora 751d027f8d Remove 'open Jsonbug_t' scope clutter.
9 years ago
Lázaro Clapp Jiménez Labora 85add041d4 CI Tests for crashcontext handling of native methods
9 years ago
Lázaro Clapp Jiménez Labora 5296688c1f Match classname for stackframes in crashcontext checker.
9 years ago
Lázaro Clapp Jiménez Labora 0a8b95a856 Crashcontext ocaml method summary merging
9 years ago
Lázaro Clapp Jiménez Labora d5848d8c94 Add parsing of native methods on the stacktrace.
9 years ago
Lázaro Clapp Jiménez Labora 58d008a026 Add Stacktree ATD type for serializing/decerializing crashcontext results.
9 years ago
Lázaro Clapp Jiménez Labora ed85a129f5 Add DB.paths_matching utility method to recursively search files under a directory matching a function f.
9 years ago
Josh Berdine 3064caacdb Remove stale Autounit module
9 years ago
Martino Luca bed9b31c62 Add general context to linters framework to implement smarter checks
9 years ago
Jules Villard aee1eeba3d restore --pmd-xml functionality
9 years ago
Martino Luca f64be4596b Implement containsOnlyLines matcher for tests
9 years ago
Zac Sweers aed5e6bee8 Support butter knife 8's BindView annotation
9 years ago
Sam Blackshear 0a747b8eb2 fixing some of the issues with passing classpath in a file
9 years ago
Sam Blackshear 3233666b11 extract callsite to its own module
9 years ago
Sam Blackshear ed9495a893 delete unused class-to-source mapper processor
9 years ago
Dulma Churchill 8d279748fa Adding a key to the lint issues
9 years ago
Martino Luca da2717ff2a Migrate BAD_POINTER_COMPARISON check from backend to linters infra
9 years ago
Martino Luca adb0ef8a78 Alphabetize CIssue
9 years ago
Dulma Churchill ff597a6c03 Model init method in NSData and understand the field bytes
9 years ago
Sam Blackshear 4490d9b033 fix recognition of inner class this guarded-by strings
9 years ago
Dulma Churchill fa8ae3e5e9 In the new framework where we go through every declaration we don't need a special case for properties anymore
9 years ago
Daiva Naudziuniene ac9cabe677 Fixing Memory leak false positives in C++/ObjC
9 years ago
Lázaro Clapp Jiménez Labora 9a79e74380 Crashbot results stitching and end-to-end testing.
9 years ago
Sam Blackshear 33b417c280 generalizing `add_trace` to `add_node`
9 years ago
Sam Blackshear 706acdfd9e generalizing get_trace to get_node
9 years ago
Sam Blackshear b500a5c4b5 don't warn in cases where GuardedBy string is clearly unrecognizable
9 years ago
Sam Blackshear e9aecd0afe widen for access trees
9 years ago
Jules Villard 01ffc387bb resolve symlinks recursively until the real infer executable is found
9 years ago
Lázaro Clapp Jiménez Labora 76764c148a Output the callee sumaries of -a crashcontext to per-method files.
9 years ago
Lázaro Clapp Jiménez Labora cbd1b9c7ba Refactor common code on multiple methods of InferRestults
9 years ago
Sam Blackshear 6a1a0d68da create access paths from expressions
9 years ago
Jules Villard 10f10a90c6 diverge on `throw`
9 years ago
Jules Villard fb7aed07c6 typo and whitespace cleanup in cFrontend_config
9 years ago
Lázaro Clapp Jiménez Labora 6469a6c37b Implement '-a crashcontext' and '-st trace' options to invoke BoundedCallTree.ml from the command line.
9 years ago
Dulma Churchill 7fd1149f85 Add NPE check for weak variables captured in blocks
9 years ago
Andrzej Kotulski 0aa5101a05 Replace space with _ in type names
9 years ago
Andrzej Kotulski 5ed50f5a97 Keep more precise information in constructor's var_exp_typ
9 years ago
Dulma Churchill 102f61e2a7 Move a few missing tests to the new location
9 years ago
Andrzej Kotulski ed3470c30e unify handling of many special cases in callExpr_trans
9 years ago
Dulma Churchill fb607ef388 Use the block captured variables as mangled
9 years ago
Jules Villard 4078a2b276 pass down --reactive and --continue to python
9 years ago
Jules Villard 354e4c0391 fail when clang -### <args> returns nothing
10 years ago
Daiva Naudziuniene dfb7c15303 Fixing Resource leak false positives assuming developers use raii.
10 years ago
Jules Villard 9378913223 add constructor info to c++ methods
10 years ago
Sam Blackshear e95ebca786 factoring out some utility methods for testing access-based stuff
10 years ago
Lázaro Clapp Jiménez Labora 9f7cb87bb0 Add stacktrace extras to BoundedCallTree checker.
10 years ago
Sam Blackshear 0ca19da3cf allowing custom procname in analyzerTester
10 years ago
Sam Blackshear a33e047377 allow access path base to be an ident as well
10 years ago
Lázaro Clapp Jiménez Labora d4a9a6cde1 Add initial stack trace parsing code for semantic blame
10 years ago
Sam Blackshear d6149c7741 switching to by-ref semantics
10 years ago
Jules Villard ba75de4b79 skip gcc-specific flag -fno-canonical-system-headers
10 years ago
Martino Luca f0fffd3c59 Add `dotty` field constant
10 years ago
Martino Luca 062ec6c872 Translate VAArgExpr
10 years ago
Martino Luca 4ba864780e Translate OffsetOfExpr
10 years ago
Andrzej Kotulski f40033fc5f Update fcp
10 years ago
Dulma Churchill 62da495510 Start transitioning logging of frontend bugs into a map of errlogs rather than in procdescs
10 years ago
Andrzej Kotulski b8044c6b65 Use mangled names instead of function type for mangling
10 years ago
Sam Blackshear d946a7bc33 fix ugly printing of NONE idents
10 years ago
Sam Blackshear 27fa745cee using more general version of join_all_traces
10 years ago
Sam Blackshear 16b31acfc9 add_trace function for access tree + tests
10 years ago
Andrzej Kotulski e61b6fe719 Use pointers to decls instead of class names when creating a type
10 years ago
Lázaro Clapp Jiménez Labora b9a5a3b5ad Add initial version (k=1, undirected) of the bounder calltree analysis checker for the Semantic Blame project
10 years ago
Sam Blackshear e94fc21410 deleting stacktrace
10 years ago
Dulma Churchill 8b0b485921 Refactoring of tests, separating the tests for linters
10 years ago
Dulma Churchill 41d93dd889 Model numberWithUnsignedInteger, skipping it was creating a false positive NPE
10 years ago
Andrzej Kotulski 118295e03c Fix C++ models of c library
10 years ago
Dulma Churchill 1617d470f1 Creating a specific type for frontend issues
10 years ago
Josh Berdine e8fd648fe8 Fix mod_dep for reason conversion, add mod_dep.pdf
10 years ago
Dulma Churchill b9384aab2e Make the toplevel aware of the new error kind advice
10 years ago
Dulma Churchill 694ded4795 Make the description of issues specify the error kind
10 years ago
Sam Blackshear 09e45710d3 join for access trees and tests
10 years ago
Josh Berdine e739b0e6ea Refactor Sil.dexp into separate DecompExp module
10 years ago
Josh Berdine ccd32690d7 Refactor Sil.call_flags into separate CallFlags module
10 years ago
Josh Berdine eefe05b240 Refactor Sil.Subtype into separate Subtype module
10 years ago
Josh Berdine aba67b4a2a Refactor Sil.binop into separate Binop module
10 years ago
Josh Berdine 2154c2c483 Refactor Sil.unop into separate Unop module
10 years ago
Josh Berdine 9487cab145 Refactor Sil.const into separate Const module
10 years ago
Josh Berdine 54403206fd Eliminate unnecessary recursion for strexp type
10 years ago
Josh Berdine e62bfb44a3 Eliminate unnecessary recursion for dexp type
10 years ago
Josh Berdine fba137e9ef Eliminate unnecessary recursion for const type
10 years ago
Josh Berdine a1b680c473 Move attributes from const to exp
10 years ago
Josh Berdine a379729e1f Use Prop.atom_negate in Rearrange
10 years ago
Josh Berdine 5f309ebb23 Tighten type of Aobjc_null to reduce recursion
10 years ago
Josh Berdine 32d09545e2 Closure values are not constants
10 years ago
Josh Berdine c5ce74f3d3 Exception values are not constants
10 years ago
Sam Blackshear b2c422827a adding <=, tests to access tree domain
10 years ago
Sam Blackshear 05505b55fd beginnings of access tree domain, tests
10 years ago
Sam Blackshear 15534be574 eliminate tmp vars in resource leak error message
10 years ago
Andrzej Kotulski f313cf2a82 Add hack to not use __make_integer_seq in fatal/type/sequence library
10 years ago
Dulma Churchill 0253608fab Separate the flow of the frontend checks form the translation
10 years ago
Dulma Churchill 5566ca1fd9 Add a new error kind Advice
10 years ago
Sam Blackshear 7b58c71475 centralize creation and detection of clang tmp vars, fix errdesc/bucketing
10 years ago
Dulma Churchill bcb1422a9a Implement direct atomic var check with the new ivar to property map
10 years ago
Josh Berdine 7e59032a42 Move analyzer type and ops from Utils to Config
10 years ago
Sam Blackshear 9df3b8f653 eliminating dead stores created by copy-propagation
10 years ago
Andrzej Kotulski 9cda4ca6bf Add models of shared_ptr comparison operators
10 years ago
Andrzej Kotulski 046654a9c0 Fix translation of unary operator! for all integral types
10 years ago
Josh Berdine 061bb2d799 Change length of Dsizeof from an exp to a dexp
10 years ago
Dulma Churchill 6ac4db7113 Change the check CXX_REFERENCE_CAPTURED_IN_OBJC_BLOCK to use only the clang ast
10 years ago
Josh Berdine caff49e411 Cleanup some usage messages
10 years ago
Josh Berdine ac50b01240 Simplify defining new executables
10 years ago
Josh Berdine c6438da919 Add HOWTO define new config option doc
10 years ago
Sam Blackshear 314d022e38 add abstraction of access path, use in access path set domain
10 years ago
Dulma Churchill cf72de9460 Make ObjC virtual functions return nil if they are called with nil, even if they are going to be skipped.
10 years ago
Jules Villard 60c5b87ffd make --merge accept absolute paths
10 years ago
Jules Villard b95b71fa85 add option to assume that malloc never returns null
10 years ago
Jules Villard b95aaefb37 make --abs-val great again
10 years ago
Sam Blackshear 006bd06adb add concept of a dummy identifier
10 years ago
Sam Blackshear 2439dcf91f copy propagation step 1: propagate copies in the CFG
10 years ago
Sam Blackshear 16bf929dbe fix confusing `$irvar0` error messages
10 years ago
Josh Berdine 843d380d10 Simplify DB initialization
10 years ago
Jules Villard 959730de2f modify API to be able to hook extra infer options easily
10 years ago
Carlos Sierra 92801ba1c9 Invoke javac through argument file to avoid too long argument list
10 years ago
Martino Luca 120892d7dd Pass Infer configs to cross-cell buck targets
10 years ago
Sam Blackshear aa76d51e14 adding @OkToExtend annotation
10 years ago
Josh Berdine 29dfacdffb Treat relative paths wrt initial working directory
10 years ago
Josh Berdine 9608504b57 Ignore non-existent dirs when looking for specs
10 years ago
Josh Berdine e1403f2a0c Create log dir only if results_dir exists
10 years ago
Andrzej Kotulski d1fa1e130d Define STATIC_ANALYSIS macro when using glog/logging.h
10 years ago
Andrzej Kotulski 9b07a3e762 Never call destructor on delete expression
10 years ago
Martino Luca 6c48377318 Emit friendly message when stats aggregation fails running
10 years ago
Andrzej Kotulski 1f089d0e4b update fcp commit
10 years ago
Andrzej Kotulski e46cddb52b Use mangling in function parameters to encode its position
10 years ago
Sam Blackshear b9fefe9d9b better unit tests for procCfg
10 years ago
Sam Blackshear cf5871e76f fixing broken backward/per-instr cfg by taking a different approach
10 years ago
Sam Blackshear 37f943a3fa unifying checking of temporary variables
10 years ago
Sam Blackshear 7544e500bf adding finite access paths, tests, and basic utilities
10 years ago
Andrzej Kotulski c3acb3a015 Make InferPrint print to stdout/stderr
10 years ago
Andrzej Kotulski 98f324409d print reason of analysis failure in html
10 years ago
Andrzej Kotulski afc192b100 Add -Xbuck option to pass arguments to buck build
10 years ago
Dulma Churchill c06795e631 Fixing the treatment of annotations in the clang frontend
10 years ago
Andrzej Kotulski c7d6d904f7 Whitelist std::min and std::max
10 years ago
Dulma Churchill edc57f70f5 Translate CXXNoexceptExpr
10 years ago
Dulma Churchill 8bfa983716 Translate TypeTraitExpr
10 years ago
Lázaro Clapp Jiménez Labora 95a12d9706 model String.equals(...) as '=='
10 years ago
Dulma Churchill 52e037f77c Translate AttributedStmt and Fallthrough attribute
10 years ago
Sam Blackshear da054beb00 adding exp_sub_ids, instr_sub_bound_ids
10 years ago
Peter O'Hearn 1edb492b70 One step closer to shipping initial GUARDEDBY
10 years ago
Josh Berdine b25572fafb Convert INFER_ONDEMAND_FILE env var to clopt
10 years ago
Andrzej Kotulski 3603fc3176 Modify cast_with_enforce.cpp test to not include <string>
10 years ago
Josh Berdine a2a7e07708 Add OCaml toplevel driver executable
10 years ago
Dulma Churchill 7f3e99c3d4 Fix assert false when calling zero_value_of_numerical_type
10 years ago
Sam Blackshear 9d95a3a199 don't warn if procedure is marked VisibleForTesting
10 years ago
Sam Blackshear 03df3a0c47 supporting guarding on outer-class this in inner class
10 years ago
Andrzej Kotulski 14f5f6b8e4 Update clang and raise buffer size
10 years ago
Josh Berdine df0d26e3c7 Move Logging setup to Logging
10 years ago
Martino Luca b27bf407db Aggregate buck stats per target
10 years ago
Josh Berdine a5791d7f43 Remove dead code
10 years ago
Josh Berdine 9bada2f929 Add config option for FCP_CLANG_INCLUDE_TO_REPLACE
10 years ago
Jules Villard 447ef0e4ce fix sync mishaps
10 years ago
Sam Blackshear 7ae14d0bdf don't report on compiler-generated access$ methods
10 years ago
Dulma Churchill f90bf94bd7 Making empty vector an error
10 years ago
Sam Blackshear df257da918 supporting @GuardedBy(MyClass.class) idiom
10 years ago
Andrzej Kotulski 4d90ef99f0 Fix custom type_ptr to char* and char
10 years ago
Jules Villard 8796f2c7ef add travis CI
10 years ago
Sam Blackshear 6304e30f5a don't warn on read-write locks
10 years ago
Josh Berdine f3d7d4d0d6 Deabbreviate CLOpt.exe constructors
10 years ago
Josh Berdine e1d49821fd Fix minor heap size calculation
10 years ago
Daiva Naudziuniene 6054b4c6d4 Improved ndk-build integration.
10 years ago
Josh Berdine 4e67ff6771 Fix bug in AttributesTable stats
10 years ago
Jules Villard 5ba5fcd4bb add -l option to limit parallelism, and pass -j and -l to the buck frontend
10 years ago
Peter O'Hearn da0933fd79 first try at dereferencing lock on monitor enter
10 years ago
Jules Villard a7fdb09600 add quick-test target
10 years ago
Josh Berdine 3a47b4064b Fix --help and friends that 2 phase parsing broke
10 years ago
Andrzej Kotulski 8d3e7e774e Move location of clang installation
10 years ago
Sam Blackshear c1b5a4b03e don't treat `x = &y` as a copy
10 years ago
Sam Blackshear b940c4dfac warning on guarded-by writes
10 years ago
Dulma Churchill b1e3d994bd Report more cases of null dereference as empty vector access
10 years ago
Dulma Churchill 52e8d8a560 Expand links under buck-out
10 years ago
Josh Berdine ec7af097eb Generalize extra options for make module
10 years ago
Josh Berdine bbec166174 Refactor Sil.typ into separate Typ module
10 years ago
Josh Berdine ce19de4a42 Show timeouts in progress bar in stats mode
10 years ago
Andrzej Kotulski a825831625 Model vector::resize(n) as nonempty vector
10 years ago
Josh Berdine a6a766b5f5 Refactor Sil.Int into separate IntLit module
10 years ago
Josh Berdine 3828bdd544 Make int_compare avoid overflow
10 years ago
Sam Blackshear 35f86fbe7b separate lazy dynamic dispatch from dynamic dispatch handling in preanalysis
10 years ago
Andrzej Kotulski 76f7912420 Make sizeof(std::shared_ptr) = 16
10 years ago
Peter O'Hearn 508d6a3ae7 optional model
10 years ago
Daiva Naudziuniene d707c717f0 ndk-build integration test
10 years ago
Josh Berdine 229ca26c8b Optimize normalization, substitution, renaming of array types
10 years ago
Daiva Naudziuniene b594d74d34 Adding LANG global to fix ndk-build integration.
10 years ago
Dulma Churchill 5adab3cb61 Fix StmtExpr
10 years ago
Daiva Naudziuniene 51f7d3ebb2 Integrating ndk-build with infer
10 years ago
Cristiano Calcagno de0f98389a Add sample checker to detect reads and writes to globals
10 years ago
Jules Villard d2f7cb44fa disable dead code checker on clang
10 years ago
Peter O'Hearn 8613f16c19 drop GuardedBy ui_thread warnings
10 years ago
Dulma Churchill a68c45c2a9 Fix dyspatch_async calls
10 years ago
Jules Villard 596823bd32 support `clang -c file1.c file2.c`
10 years ago
Sam Blackshear 1e60923e63 improve errdesc to account for copy-propagation
10 years ago
Sam Blackshear 49136a187b fixing bug in exceptional preds/succs in per-instr procCfg
10 years ago
Andrzej Kotulski b81b3f4791 Always run C compiler with -fsyntax-only
10 years ago
Jeremy Dubreil 0a2c47cdd5 Unify the way objects of a given type are created in the models
10 years ago
Jeremy Dubreil a756b7bff2 models for Preconditions.checkArgument
10 years ago
Jeremy Dubreil 17da853fa8 Do not angelically remove the file attribute on the reciever for virtual calls
10 years ago
Jeremy Dubreil 707a9ae51b Fix resource leaks in the testing framework
10 years ago
Josh Berdine a85a88d145 Extend Sizeof with final extensible array length
10 years ago
Dulma Churchill 5ed970efa9 Fix the return stmt that would not be the last instruction in the path in some cases
10 years ago
Jeremy Dubreil 3a2a6c7c44 Do not run the unsafe guarded access in prod
10 years ago
Jules Villard 1dc636a971 more concise API for creating build integration tests
10 years ago
Martino Luca c39f3b0768 Aggregate stats info emitted during analysis
10 years ago
Jeremy Dubreil 6d37b5ee6d Always collect the statistics and create a report file for Buck projects, even when the target contains no Java source code
10 years ago
Dulma Churchill 08c1c5bbf0 Change desc of npe message regarding pointer inside smart pointers
10 years ago
Sam Blackshear fd8a864c15 doing preanalysis on-demand
10 years ago
Dulma Churchill 60d9a19ae0 Fix bucketing for variables passed by reference
10 years ago
Josh Berdine c959af34cb Remove specs before rebuilding models
10 years ago
Sam Blackshear fa077c75d0 kill uses of Config.curr_language in subtyping part of prover.ml
10 years ago
Peter O'Hearn e7d36ed58a model of holdsLock
10 years ago
Jules Villard 533831a206 move all config variables to Makefile.config.in
10 years ago
Andrzej Kotulski 0f895b0684 Improve empty vector tests
10 years ago
Dulma Churchill bf9d194e43 Translate builtin_expect as its first argument. Avoids weird symb. exec. problems
10 years ago
Jules Villard e873a2c502 build the bdump dict again
10 years ago
Andrzej Kotulski 617ffab0ac Add @generated comment to icfg.dot files
10 years ago
Jules Villard 6bb3b30c36 do not crash when pygments crashes
10 years ago
Sam Blackshear 7ec8f59998 adding find_in_node_or_preds to clean up errdesc
10 years ago
Martino Luca f89e66dc60 Stats aggregator for frontend/backend/reporting
10 years ago
Sam Blackshear 83a14a3541 changing API to take pdesc instead of cfg
10 years ago
Jules Villard d1eff7436b build more things
10 years ago
Dino Distefano daf043bff1 Fixing shortcircuit in binary operator.
10 years ago
Andrzej Kotulski 1a98bc6492 update facebook-clang-plugins
10 years ago
Andrzej Kotulski 3699b9c0dc Fix translation of passing struct parameters by value
10 years ago
Cristiano Calcagno 8639042bc0 Remove dead renaming code
10 years ago
Jeremy Dubreil 91c25fe636 revert the use of the jar cache
10 years ago
Daiva Naudziuniene 10f1036937 Normalizing source path.
10 years ago
Sam Blackshear 04f88d60ea kill dead code created by D3288789
10 years ago
Sam Blackshear f45a7ec1eb using taint kind in taint sink specifications
10 years ago
Dulma Churchill de615594df Skip whitelisted functions form trace
10 years ago
Sam Blackshear 25578de26d redesigning abstract interpreter to allow easy composition of analyses
10 years ago
Andrzej Kotulski 99a58e691d Report empty vector access in tabulation.ml
10 years ago
Cristiano Calcagno 56cfac14da Fix issue in join where the origin of a variable would be lost in a loop.
10 years ago
Sam Blackshear e3e80dd2f0 don't report on private unguarded accesses
10 years ago
Sam Blackshear 36ee3730aa reporting error on unprotected access to field annotated with @GuardedBy
10 years ago
Dino Distefano f259863090 Fixing DIRECT_ATOMIC warning on models.
10 years ago
Andrzej Kotulski 8ccdff649f Report empty vector access instead of null dereference
10 years ago
Josh Berdine 1177f21aa4 Optimize deserialization retrying
10 years ago
Jules Villard 24cbba4355 Revert "[CSL] add model of locks inside the Object class"
10 years ago
Andrzej Kotulski 058f4455dc Modify model of std::vector
10 years ago
Josh Berdine 3fe1cbb6ec Fix bug in sym_eval
10 years ago
Josh Berdine 0947a67a7e Remove dead Sil.*_iter_types functions
10 years ago
Josh Berdine 66faedbf15 Optimize attribute loading
10 years ago
Jules Villard dbb6d08254 cleanup inferconfig stuff now that everything has been ported to the CLI
10 years ago
Jules Villard 21367b0e98 add matchers from inferconfig to the CLI
10 years ago
Jules Villard 9748a8f1a3 add {enable,disable}_checks from inferconfig to the CLI
10 years ago
Jules Villard 8f154144c0 add skip_clang_analysis_in_path from inferconfig to the CLI
10 years ago
Jules Villard aec3d0ccdf add skip_translation_headers from inferconfig to the CLI
10 years ago
Jules Villard 13cb7d8ed9 test OSS build as part of `make test`
10 years ago
Jules Villard c31db8436c remove infer/Makefile.in
10 years ago
Jules Villard 92aef2a411 fix make -j8 clean test
10 years ago
Cristiano Calcagno 08546ce7bb Move vim comments up.
10 years ago
Cristiano Calcagno 52e9ebc252 Enable syntax highlighting for Reason files on GitHub.
10 years ago
Josh Berdine d8f50c748b Revise the units of measure for perf stats
10 years ago
Jules Villard e695e14ee1 add various filter options from inferconfig to the CLI
10 years ago
Jules Villard 3fe032ccf0 accept any option through .inferconfig
10 years ago
Jules Villard 1c56310f39 build in one directory only
10 years ago
Andrzej Kotulski 87e5df5e44 Use pwd to resolve project_root when possible
10 years ago
Sam Blackshear 9fdd094a89 refactoring annotation reachability checker to allow custom src/sink annotations
10 years ago
Sam Blackshear 5b041d46ad remember when a method is synchronized
10 years ago
Peter O'Hearn 6f951e70d3 Non-resource model for locks
10 years ago
Sam Blackshear 3cea4279b6 adding locked proof obligation when lock is not held
10 years ago
Dulma Churchill 83e6ab1a20 Blacklist translation of files in inferconfig
10 years ago
Dulma Churchill 93fcf7be9f Skip cpp models from traces
10 years ago
Josh Berdine e211e489c7 Add target to convert files to reason
10 years ago
Jules Villard c03015768d create annotation files with valid json
10 years ago
Sam Blackshear a45844f409 identify reads of fields protected by @GuardedBy
10 years ago
Sam Blackshear 8cff90ed21 adding find_map_opt utility function
10 years ago
Sam Blackshear 3a7767213c adding some functionality to JSONOutputUtils
10 years ago
Sam Blackshear cfa7739963 hiding implementation of var
10 years ago
Cristiano Calcagno fd04004b43 Update README with Reason dependencies
10 years ago
Cristiano Calcagno 885beed0b1 Convert the Intermediate Representation to Reason.
10 years ago
Jules Villard bf7287e98b add model of locks inside the Object class
10 years ago
Dino Distefano aae1dbac3d Skipping reporting global variable warning on known non-expensive cases.
10 years ago
Jules Villard 438a4b430b fix github build
10 years ago
Sam Blackshear 1bb73ee3b6 adding map domain
10 years ago
Dino Distefano f37ed66888 Added new taint source/sink for iOS
10 years ago
Cristiano Calcagno b7b31982ee Fix the position of some comments.
10 years ago
Josh Berdine acb227ec30 Pre-parse inferconfig_home and project_root
10 years ago
Josh Berdine 88a2da91fc Add `make -C infer/src test_build` to `make test`
10 years ago
Sam Blackshear 83f511107b stop reporting handler leaks
10 years ago
Sam Blackshear 44edd9ba7f fix frontend crash when running on Java 8
10 years ago
Dulma Churchill 6d8d9f56c2 Reducing the scope of all frontend checks on declarations
10 years ago
Andrzej Kotulski bfce6bac47 Model empty vector access
10 years ago
Dulma Churchill 6c7c18e920 Model other functions from glog library
10 years ago
Jules Villard 944176bf67 load json config files lazily and at most once
10 years ago
Dulma Churchill 9b1bd712b5 Marking getters/setters as builtins only inside the definition of the class
10 years ago
Sam Blackshear 6e75c1e33f delete old preanalysis code
10 years ago
Sam Blackshear 3b6fa0939b adding taint kind to taint source specifications
10 years ago
Sam Blackshear 258e765d4e adding integrity source/sink annotations
10 years ago
Josh Berdine f1dabb747c Ease down InferPrint debug printing
10 years ago
Jules Villard 9de3f9792c print legend for the output
10 years ago
Josh Berdine 3e2fa59262 Reimplement command line options
10 years ago
Dulma Churchill d73d4ea177 Getting a more precise type when creating ObjC objects
10 years ago
Sam Blackshear c92bbf362b removing need to pass around lists of temporary id's in the frontend
10 years ago
Sam Blackshear 3f49f3a1d4 using liveness to add removetemps instructions
10 years ago
Josh Berdine a8c696338b Prepend to classpath in args file when present
10 years ago
Sam Blackshear ef1b76d27b new procCfg type with each node containing at most one instruction
10 years ago
Sam Blackshear 0becc32a88 factoring Node module out of CFG
10 years ago
Sam Blackshear f4335c7c4a Making BLog a privacy sink
10 years ago
Sam Blackshear 20925df57c removing unused deallocate param in nullify instr
10 years ago
Sam Blackshear 4fd2f52fe8 new analysis for adding nullify's
10 years ago
Dulma Churchill c3fbd5af29 Model CHECK macro and fix the model for builtin_expect
10 years ago
Jeremy Dubreil a352c0ffa8 Lazily load summaries from zip files
10 years ago
Josh Berdine 0cda42fc90 Add target to build single module
10 years ago
Jeremy Dubreil 6dfd1a317e Some cleanup and renaming
10 years ago
Sam Blackshear f60b17d8b9 correctly handling Sil.Letderef(Var, Var) Sil.Set(Var, _) in copy propagation
10 years ago
Josh Berdine 7ed2425320 Incorporate _tags file into Makefile
10 years ago
Josh Berdine 12e42fefd9 Fix perf stats filename for relative path clusters
10 years ago
Sam Blackshear b20ef20644 Allowing custom procCfg node types
10 years ago
Dulma Churchill 3defb52e4e Fixing broken test + adding objcpp tests to make test target
10 years ago
Andrzej Kotulski 3340a9e8a5 Create initial vector header for models
10 years ago
Sam Blackshear 6f6da12b2c don't nullify params/locals at beginning of procedure
10 years ago
Sam Blackshear ebcfae388a handling Set(Var, _,) as read of var in liveness analysis
10 years ago
Jules Villard d4521fd70d handle utf8 PWD
10 years ago
Dulma Churchill f88e5be395 Move the npes regarding smart pointers from B5 to B1.
10 years ago
Sam Blackshear 442cf66fdc don't fail when nullifying a var not in the prop
10 years ago
Sam Blackshear 49d32859cb adding optional postprocessing step to transfer functions
10 years ago
Sam Blackshear 90a5a5912f allowing extra data to be packaged along with procCfg
10 years ago
Sam Blackshear c7c1588830 getting rid of string parameter on privacy annotations
10 years ago
Sam Blackshear f3fe199a25 Forcing node ids of procCfg's to be Cfg.Node.id
10 years ago
Jeremy Dubreil b3baf72df8 Lazy dinamic dispatch: add missing case where the right hand side is a idenfier
10 years ago
Sam Blackshear e96b94204c widen at pre instead of at post
10 years ago
Jeremy Dubreil 71b6581823 No longer save the list of SKIP_FUNCTION warnings in the report
10 years ago
Dulma Churchill 54a3bdd455 Load the attribute file to get the getter/setter info from the procdesc
10 years ago
Jeremy Dubreil 8072d2c1e5 report errors when all the postconditions are error states
10 years ago
Jeremy Dubreil 049c353f52 Add a model for gzdopen
10 years ago
Sam Blackshear 46fc0bb1dc remove recursive call in try/with
10 years ago
Jeremy Dubreil 0737b9231d make Tabulation.prop_get_exn_name return an option type
10 years ago
Sam Blackshear ffc4e2d213 checking supertypes for annotations
10 years ago
Sam Blackshear b228584855 refactoring get_strict_supertyps to use iteration for more flexibility
10 years ago
Luis Cruz 51f4dc7a9a added Tenv.get_overriden_method
10 years ago
Jeremy Dubreil 3a856aa6f0 Add example of lazy dynamic dispatch calling a method from the interface
10 years ago
Andrzej Kotulski 2989105318 Decrease number of allocations in Prop.typ_normalize
10 years ago
Sam Blackshear 77791b7e8e warn on deref of nullable skip function
10 years ago
Sam Blackshear 843bcc1576 support tainting of annotated fields
10 years ago
Dino Distefano 83c1bbc832 Implementing a checker to warn initialization of global variables with mehod calls.
10 years ago
Andrzej Kotulski 1d909606aa Add option to replace path to clang internal headers
10 years ago
Peter O'Hearn 50081c7ccb alloc/dealloc model for locks
10 years ago
Jules Villard cb2d8dbe83 update clang command-line flags that we filter out
10 years ago
Jules Villard b9c9f20892 get encoding from `locale.getdefaultlocale()`
10 years ago
Dino Distefano a15095c854 Introducing a mechanism of white/black listing of checks/error reporting based on .inferconfig
10 years ago
Dulma Rodriguez 7671fe755f Skip translation and checks from headers in specified folders
10 years ago
Andrzej Kotulski 7a91f47131 Fix definition of std::hash<unique_ptr> in C++ models
10 years ago
Andrzej Kotulski 05c218d84f Declare local variable for conditional in procdesc
10 years ago
Jules Villard 07acaa3b97 remove bogus logging passing `None` to `utils.stdout()`
10 years ago
Sam Blackshear a10d7099c7 warning on deref of nullable retvals
10 years ago
Dulma Rodriguez be91fb5429 Fix toll free bridging
10 years ago
Andrzej Kotulski 1be7827981 Fix compilation issues with objc modules
10 years ago
Sam Blackshear 3e8b681135 big refactoring to improve API for subtyping related operations
10 years ago
jrm 9b6de7aeb0 Do not report @NoAllocation and @PerformanceCritical violations in "unlikely" branches
10 years ago
Josh Berdine 5710a3e887 Do not special case default InferPrint results_dir
10 years ago
Sam Blackshear 6113497020 delete callbackChecker and deps
10 years ago
Andrzej Kotulski 66d3d492f8 Fix translation of BinaryConditionalOperator
10 years ago