2407 Commits (0df765abfbc97bf13c01f0efdbcccc9ee42a5cf4)

Author SHA1 Message Date
Jeremy Dubreil 574d640af0 [infer][java] Simplify some of the models of Java resources [1/n]
9 years ago
Sam Blackshear c67de3e827 [thread-safety] add string parameter to @ThreadConfined
9 years ago
Sam Blackshear a3e3fdb781 [quandary] fix bug in summary application
9 years ago
Dulma Churchill dbcb871988 [linters] Add extra case of respondsToSelector block
9 years ago
Sam Blackshear ae03acb71b [quandary] reduce max_calls to 3
9 years ago
Jeremy Dubreil 0139ca211b [infer][java] Add an example of dynamic dispatch handling on fields
9 years ago
Jeremy Dubreil c57323d67b [infer][tests] The java tests should depend on the Java models
9 years ago
Sam Blackshear c4fbf4e3fb [thread-safety] propagate attributes across casts
9 years ago
Sam Blackshear 42188eb105 [thread-safety] add understanding of conditional ownership
9 years ago
Sam Blackshear dc9892eef5 [thread-safety] use map of access paths to attributes rather than multiple sets of access paths
9 years ago
Sam Blackshear a3cffa7116 [absint] add inverted map domain
9 years ago
Jeremy Dubreil bf17932812 [infer][java] remove the no-op model for Cursor.close()
9 years ago
Jeremy Dubreil 578baf319b [infer][java] remove the concept of @Strict for Eradicate
9 years ago
Jeremy Dubreil 13cdff1532 [infer][java] Dynamic dispatch: fix wrong level of indirection on pointers when specialzing methods
9 years ago
Jeremy Dubreil fd8e135994 [infer][java] modeling methods as returning an undefined value is not necessary
9 years ago
Sam Blackshear a4efc7bba7 [cleanup] Simplify PrettyPrintable.Make functors
9 years ago
Jeremy Dubreil c902068c4f [infer][java] cleanup of the java.lang.Process model
9 years ago
Jeremy Dubreil abdb238599 [infer][java] disable the Eradicate model for Context.getSystemService(..)
9 years ago
Sam Blackshear 4627bb6f48 [absint] simplify `AbstractInterpreter.Make` functor by hiding `Scheduler` parameter
9 years ago
Dino Distefano fb14d31bb7 Making signature of predicates uniform
9 years ago
Cristiano Calcagno 319e3ed271 [Eradicate] Change Eradicate's join to forget values not present on both paths
9 years ago
Sam Blackshear 9ed282b28b [thread-safety] handle constructors by understanding that a constructor owns `this`
9 years ago
Dulma Churchill acce173eb8 [Linters] Move unavailable api check to the linters rule file
9 years ago
Jeremy Dubreil a416b7c90d [infer][java] Add a model for Process.destroyForcibly()
9 years ago
Jeremy Dubreil 79c7a54b2f [infer][java] Add special configuration to run Infer as an external compiler
9 years ago
Sam Blackshear 0e77e36235 [thread-safety] propagate @Functional attribute across boxing of primitive types
9 years ago
Sam Blackshear 6338997cf5 [quandary] don't clobber existing taint on receiver when propagating taint from unknown call
9 years ago
Sam Blackshear d41b500659 [thread-safety] treat constants as owned
9 years ago
Sam Blackshear 5c2fcd02bd [cleanup] move annotated_signature into its own module inside eradicate
9 years ago
Jules Villard 93f33d07b8 [cli] do not export the contents of .inferconfig to INFER_ARGS
9 years ago
Jules Villard 4584bf9a4c move CLOpt.exe to Config and restrict its API, remove Interactive fake exe
9 years ago
Jules Villard 744edc10ec add support for subcommands not after --
9 years ago
Jules Villard 6faccb1490 [utils] catch exceptions in epilogues to allow all of them to run
9 years ago
Andrzej Kotulski 87364bf8f6 [C++ models] Fix compilation errors with make_shared/unique
9 years ago
Andrzej Kotulski 40c84077d9 [C++] Fix model of std::vector
9 years ago
Cristiano Calcagno 5c12d98d37 Deprecate IList module in favour of Core List
9 years ago
Jeremy Dubreil c2b967d27b [infer] Dynamic dispatch: use the OCaml type system to implement the invariant that the method specialization should only happen on object types
9 years ago
Sam Blackshear 6c0c3b44b4 [annotations] make override_exists recursive
9 years ago
Jeremy Dubreil c047819ab3 [infer] rename Mangled.Set and add Mangled.Map
9 years ago
Sam Blackshear 38a336694a [quandary] improve taint propagation for unknown calls
9 years ago
Dulma Churchill ffd82c01a7 [clang] Fail when compilations fails in the capture, linters mode
9 years ago
Sam Blackshear f6e8bf0f3f [thread-safety] don't warn on external accesses to fields of ThreadConfined classes
9 years ago
Kihong Heo cef2f0e055 Inferbo
9 years ago
Jeremy Dubreil c5e962e231 [infer][test] The buck integration BUCK file for the integration test was refering to a file built by make
9 years ago
Jeremy Dubreil 4e02b3c525 [infer][tests] rescue ghost file for Cursor NPE test
9 years ago
Jeremy Dubreil eab0c19c65 [infer][java] Force the option --deep when running Infer on Java Buck projects
9 years ago
Sam Blackshear 2800c84972 [checkers] don't do expensive access path equality check unless debugging
9 years ago
Jeremy Dubreil b6fae5cd46 [infer][eradicate] Consider junit.framework.TestCase.setUp as an initializer
9 years ago
Jeremy Dubreil 90f4c83ef2 [infer][java] Add some more test cases for dynamic dispatch
9 years ago
Andrzej Kotulski f697739b21 [C++ translation] Use correct type when generating dereference
9 years ago
Dulma Churchill 269ea5ffe5 [linters] Take into account the respondsToSelector block in the unavailable api check
9 years ago
Sam Blackshear d84a6b854f [quandary] log instead of failing hard when specified source has no return value
9 years ago
Sam Blackshear f9280b682f [thread-safety] don't warn on accesses to fields assigned to @Functional calls
9 years ago
Sam Blackshear 70df06a596 [thread-safety] don't consider VisibleForTesting methods as public
9 years ago
Sam Blackshear d0f4e8771b [cleanup] generalize PatternMatch.iter_overrides to override_exists
9 years ago
Sam Blackshear 50c73e517b [cleanup] adding Annotations.pname_has_return_annot function
9 years ago
Sam Blackshear cc8ffd9d1e [quandary] allow regexes in defining quandary sources/sinks in inferconfig
9 years ago
Sam Blackshear 3ee349ee23 [thread-safety] warn on unsafe accesses to lists
9 years ago
Sam Blackshear bcfcb5d405 [cleanup] restrict uses of annotated_signature to eradicate
9 years ago
Andrzej Kotulski b3e9eedd59 [clang frontend] Make DeclStmt return empty exps
9 years ago
Sam Blackshear 2351f767dc [cleanup] use pdesc_has_return_annot and friends instead of more cumbersome ways of looking up return annots
9 years ago
Sam Blackshear 73f3c5e0cd [cleanup] separate functions for checking annotations of return value and parameters
9 years ago
Dulma Churchill 2c767fce74 [linters] Clean up the context passing mechanism and add context for if
9 years ago
Andrzej Kotulski dd3de5b011 [clang frontend] Create nodes for dangling instructions
9 years ago
Jules Villard a229595856 [tests] run objc frontend tests...
9 years ago
Sam Blackshear b371a3429c [cleanup] simplify method annotation and item annotation iteration methods
9 years ago
Sam Blackshear f0199a058a [cleanup] alphabetize annotations and remove duplicates
9 years ago
Jeremy Dubreil 5322c71063 [infer][backend] find a better trade-off for the value of the SymOps timeout
9 years ago
Sam Blackshear b227ee58a6 [thread-safety] handle some annotations as aliases of ThreadConfined
9 years ago
Sam Blackshear 369feb4149 [thread-safety] allow ownership to be transferred via return
9 years ago
Sam Blackshear f372b6cb2f [quandary] allow sinks to be specified in inferconfig
9 years ago
Sam Blackshear 5bddb1e548 [quandary] allow sources to be specified in inferconfig
9 years ago
Cristiano Calcagno b1421bc27f [BetterEngineering] Remove remaining uses of polymorphic equality
9 years ago
Jules Villard bd2110a789 update timestamp of mirrored fcp files when copying them over so that make knows they are up to date
9 years ago
Sam Blackshear df5798336b [cleanup] give AccessPath.raw its own module
9 years ago
Jules Villard 4b45d5d8a0 [CLOpt] remove `accept_unknown` optional argument of `parse`
9 years ago
Andrzej Kotulski ebc4c6fd53 [config] Fail on unknown options from .inferconfig when in strict mode
9 years ago
Josh Berdine 65eb3a176d Remove Reason comments in copyright header
9 years ago
Sam Blackshear 851a4da7e0 [thread-safety][cleanup] add mli for ThreadSafetyDomain
9 years ago
Sam Blackshear d25a3edbd7 [thread-safety][cleanup] open ThreadSafetyDomain locally to avoid excess typing
9 years ago
Sam Blackshear e132188361 [thread-safety] warn on unsafe accesses in overrides of methods annotated with @ThreadSafeMethod
9 years ago
Sam Blackshear 908e78cc81 [annotations] produce a sources JAR for the infer annotations
9 years ago
Jeremy Dubreil add9e476a3 [infer][java] more rebust detection of the class filenames
9 years ago
Cristiano Calcagno f91b3128d3 [BetterEngineering] Replace uses of polymorphic equality
9 years ago
Andrzej Kotulski cceffddd78 [Config] Warn about deprecated args only from Driver exe
9 years ago
Cristiano Calcagno 3f8ee7df49 [Eradicate] Fix issue in Eradicate's check for field initialization
9 years ago
Sam Blackshear f79a53e1c8 [thread-safety] add string param to AssumeThreadSafe
9 years ago
Sam Blackshear c19bee7772 [quandary] for instance methods with no return value, propagate the taint to the receiver
9 years ago
Sam Blackshear b9694ef086 [thread-safety] warn on unsafe writes in constructors
9 years ago
Sam Blackshear c4c495fbe5 [thread-safety] propagate conditional writes to callers
9 years ago
Sam Blackshear 4373945e74 [thread-safety] don't warn on writes rooted in a parameter owned by the callee
9 years ago
Jules Villard f9ab3aa1ac run epilogues register with `at_exit` upon receiving SIGINT as well
9 years ago
Sam Blackshear 6ace3838ba [absint] support HTML debug output
9 years ago
Sam Blackshear e565010cf3 [thread-safety] don't warn on writes to volatile fields
9 years ago
Jules Villard 2e96caac42 [mvn] new integration
9 years ago
Jules Villard 69f8140655 [cli] do not accept unknown arguments in OCaml
9 years ago
Jules Villard 988145dea0 [cli] remove support for INFERCLANG_ARGS
9 years ago
Jules Villard ca784cdb41 [cli] warn about deprecated options, clean up infer repo
9 years ago
Jules Villard cb1e241411 [CLOpt] isolate the subset of Arg.spec used
9 years ago
Sam Blackshear 618e9c9338 [thread-safety] add @AssumeThreadSafe annotation to assume thread-safety of a method without checking it
9 years ago