8049 Commits (caad455e42d2ad3cc71e6ef9aed788f5a57f55e6)

Author SHA1 Message Date
Daiva Naudziuniene 58007f7ab1 [pulse] Revert back error message for general case of AccessToInvalidAddress
4 years ago
Daiva Naudziuniene a947961d76 [deadstore] False positive caused by exceptional cfg
4 years ago
Nikos Gorogiannis 3783c52a76 [starvation] add models for getStreamVolume and getRingerMode
4 years ago
Nikos Gorogiannis 4f9c113acb [racerd] ignore autogenerated methods
4 years ago
Sungkeun Cho aff237306f [ConfigImpact] Add known cheap functions of System and Number
4 years ago
Daiva Naudziuniene 7a1ec45ebe [pulse][objc][nullptr] A special case for objc nil messaging for unknown call
4 years ago
Ezgi Çiçek df191c4084 [biabduction] Make test independent of Java specific concat
4 years ago
Gabriela Cunha Sampaio 68b4b5cc27 [pulse] IsInstanceOf simplification for null obj
4 years ago
Gabriela Cunha Sampaio 6357a97d6c [pulse] Adding model for Java Map
4 years ago
Sungkeun Cho 76d4563f8c [ConfigImpact] Collect all object fields that may have config values
4 years ago
Sungkeun Cho 4ad7d23216 [ConfigImpact] Extend analysis to include conditional field checks
4 years ago
Jules Villard f9b6f2bdf1 [Topl] add doc and change TOPL -> Topl
4 years ago
Radu Grigore 6f83c45e47 [topl] Remove nondet marker
4 years ago
Sungkeun Cho 346380c649 [pulse] Init struct fields with zero when a message is sent to nil
4 years ago
Loc Le cd3c7b55da [pulse] FN about bug after malloc
4 years ago
Gabriela Cunha Sampaio 74f7df378d [pulse] Refactor Java Integer model
4 years ago
Jules Villard d9c037e062 [CLI] rename biabduction-specific option
4 years ago
Andrew V. Jones 7d0aa9ec1c Adding a new line when pretty-printing a structured value (#1416)
4 years ago
Jules Villard c07af055eb [topl] delete shallow implementations in favour of a single Pulse one
4 years ago
Gabriela Cunha Sampaio fd1731c34b [pulse] Refining model for Java Collection interface
4 years ago
Sungkeun Cho e05fd1be67 [ConfigImpact] Ignore cheap functions like Math.ceil during the analysis
4 years ago
Jules Villard 30de9be354 [pulse] protect against Z exceptions
4 years ago
Ezgi Çiçek bf0fa55a45 [immutability] Add support for modifications to Litho's Immutable Maps
4 years ago
Ezgi Çiçek 583a011666 [pulse] Add a new config for modelling a function as returning the first arg
4 years ago
Jules Villard 36ebf276a3 [pulse] simplify IsInstanceOf inside sub-terms too
4 years ago
Jules Villard 4546dddb76 [website] update NULL_DEREFERENCE documentation
4 years ago
Sungkeun Cho 572080a8e9 [pulse] Havoc actuals when lengths of actuals and formals mismatch
4 years ago
Ezgi Çiçek 2b144509ab [ConfigImpact] Handle hash collision
4 years ago
Jules Villard f56f18350d [pulse] bump base_fuel to 10 to avoid under-normalising formulas
4 years ago
Jules Villard 4436265f6b [pulse] fold linear normalization into normalization
4 years ago
Jules Villard 026ff12e69 [pulse][trivial] remove unused warning suppression
4 years ago
Jules Villard 4bcf013859 [pulse] fix some new_eqs propagation issues
4 years ago
Daiva Naudziuniene 056c8abbff [pulse][refactor] Move operations related to function calls to PulseCallOperations
4 years ago
Jules Villard 55871dd285 [pulse][2/2] generate latent issues when null is allocated
4 years ago
Jules Villard 8a1213962e [pulse][1/2] new kind of latent issues to remove some FNs
4 years ago
Jules Villard d0cf7e3135 [pulse] refine canonicalisation
4 years ago
Jules Villard 6273b1f445 [pulse] move summarisation and reporting functions around
4 years ago
Ezgi Çiçek abb6131e88 [cost] Add models for Java Set
4 years ago
Mitya Lyubarskiy d966003b31 [nullsafe] Change "Field not initialized" error message
4 years ago
Jules Villard e0142794a3 [lab] adjust README to reflect new option name
4 years ago
Daiva Naudziuniene e7aa401777 [pulse][uninit] Remove special case for ObjC block captured variables
4 years ago
Ezgi Çiçek 7be85f40a2 [impurity] Refactor Option type and hoist out report functions
4 years ago
Sungkeun Cho b004a7f510 [liveness] Handles live variables in catch block
4 years ago
Ezgi Çiçek 8e1ea769ea [cost] Remove warning message
4 years ago
Sungkeun Cho d9021b9517 [frontend] Add try_entry, try_exit statements for C++ try-catch blocks
4 years ago
Martin Trojer 18f28395e8 [clang] migrate to llvm/clang11
4 years ago
Ezgi Çiçek c67f3d5753 [objc] Suppress block counter when getting method name
4 years ago
Daiva Naudziuniene 02598a575e [pulse] Enable OPTIONAL_EMPTY_ACCESS by default
4 years ago
Ezgi Çiçek 432a970432 [refactor] Remove `then ()`
4 years ago
Ezgi Çiçek 36135aed68 [refactor] Remove `else ()`
4 years ago
Daiva Naudziuniene aae28efb44 [procname][refactor] Move is_cpp_lambda to Procname
4 years ago
Daiva Naudziuniene 778c629401 [clang frontend][objc] Fix types of variables captured by reference in objc blocks
4 years ago
Ezgi Çiçek 0599185fca [litho] Add test for replicating issue with null access path args
4 years ago
Ezgi Çiçek 55e4108a35 [cost][differential] Add FP test for blocks
4 years ago
Ezgi Çiçek 7110c1ca3f [litho] Handle non-existing caller path
4 years ago
Gabriela Cunha Sampaio 2d56b1bff1 [pulse] Suppress reports containing skipped calls
4 years ago
Gabriela Cunha Sampaio c736015316 [pulse] Updating Pulse website
4 years ago
Gabriela Cunha Sampaio cba144b779 [pulse] Adapting error messages
4 years ago
Nikos Gorogiannis 6a19997303 [racerd] fix analysis of class initializers
4 years ago
Martin Trojer 68ef8ab147 [clang] [frontend] sort big match clauses
4 years ago
Nikos Gorogiannis f3984e864d [starvation] fix FP with @NonBlocking caller and blocking calls in callees
4 years ago
Jules Villard 341c08d9fd [pulse] change ISLOk/ISLError inside states into actual Ok/Error outside states
4 years ago
Jules Villard 3aaa28f993 [pulse] refactor errors
4 years ago
Jules Villard c7b0cc3c59 [pulse] change ISL functions to return list of results
4 years ago
Jules Villard 8db09e8e0a [pulse][minor] use List.concat_map in two places
4 years ago
Ezgi Çiçek a7ada8d4af [differential] Modularize cost and reuse common funcs
4 years ago
Daiva Naudziuniene 3ad19cd83d [pulse][nullptr][objcpp] Warn on sending a message to nil when return type is non-POD
4 years ago
Daiva Naudziuniene 991654c282 [clang frontend] Refactor a check whether a type is POD for later use
4 years ago
Daiva Naudziuniene 709f9127b2 [pulse][objcpp][nullptr] Link self with return to preserve the trace
4 years ago
Ezgi Çiçek e9fe04b39f [differential] Refactor to reuse common item description in cost/config_impact items
4 years ago
Gabriela Cunha Sampaio f719294d41 [pulse] Model for TextUtils.isEmpty()
4 years ago
Gabriela Cunha Sampaio e739099a40 [pulse] Model for Java instanceof
4 years ago
Sungkeun Cho a57cd7af36 [ConfigImpact] Run reportdiff on config impact json results
4 years ago
Gabriela Cunha Sampaio 752c494970 [pulse] Adding temporary model for Collection.isEmpty()
4 years ago
Nikos Gorogiannis 3ec6410072 [starvation] ConnectivityManager.getActiveNetworkInfo
4 years ago
Nikos Gorogiannis 136281edb5 [starvation] add distinct issue for blocking IPC Binder calls
4 years ago
Boris Yakobowski 05c25487f2 Set timeouts handlers only in biabduction mode (#1391)
4 years ago
Boris Yakobowski 52447b01af Fix compilation warning with gcc10 (#1393)
4 years ago
Sungkeun Cho f15d6d9675 [infer-out] Fix removing result directory
4 years ago
Sungkeun Cho 598cb10170 [ConfigImpact] Use config-impact-issues.exp instead of issues.exp
4 years ago
Gabriela Cunha Sampaio 5007eddbef [pulse] Computing dynamic type information
4 years ago
Jules Villard 1a1668f2e1 [pulse] avoid division by zero
4 years ago
Nikos Gorogiannis e9c02d9c63 [starvation] use a map keyed on issue type for reports
4 years ago
Nikos Gorogiannis 87884625bd [starvation] refactor reporting
4 years ago
Sungkeun Cho 65efa978e5 [pulse] Fix typo of issue type name of uninit/pulse
4 years ago
Sungkeun Cho ae3c51377c [doc] Update cost documentation
4 years ago
Andrey Makeev 92e127759e [nullsafe] Add missing `android.os.Build` string constants (#1402)
4 years ago
Nikos Gorogiannis 9fe159e71a [starvation] remove severity
4 years ago
Sungkeun Cho 11e3acb20e [ConfigImpact] Print config-impact-report.json
4 years ago
Daniel Schoepe 91015609b2 [racerd] Add models for javax.crypto.Mac methods (#1395)
4 years ago
Sungkeun Cho c20dd86231 [ConfigImpact] Do not distinguish direct/indirect call
4 years ago
Daiva Naudziuniene e4ff4b500a [pulse][nullptr][objc] Add nil summaries for ObjC instance methods
4 years ago
Sungkeun Cho 3ba6a1e9df [report] Refactor JsonCostsPrinter module
4 years ago
Daiva Naudziuniene 1a5f40f25f [pulse] Move reporting functions to be able to use them in other modules
4 years ago
Sungkeun Cho 65e76387be [WTO] Make `expand` tail recursive
4 years ago
Ezgi Çiçek 7f9d56b1b5 [ConfigImpact] Only report on functions that occur on a given json config data
4 years ago
Sungkeun Cho 92ad9f1ed9 [ConfigImpact] Use ProcCfg.Normal instead of NormalOneInstrPerNode
4 years ago
Gabriela Cunha Sampaio 97bce99c03 [pulse] Adding IsInstanceOf predicate
4 years ago
Ezgi Çiçek a57d572bca [ConfigImpact] Enable clang analysis and add tests
4 years ago
Jules Villard 1320e79201 [liveness] ignore most dead stores when the variable has been passed by reference
4 years ago
Gabriela Cunha Sampaio 671727be53 [pulse] Implementing temporary model for Java instanceof operator
4 years ago
Sungkeun Cho a93158112b [ConfigImpact] Add inter-procedural trace
4 years ago
Jules Villard bc841595d5 [tests] add missing copyright
4 years ago
Jules Villard 7c2c5a406b [tests] follow ".exp" naming convention
4 years ago
Ezgi Çiçek 07b890279d [ConfigImpact] Adjust inter-proc analysis to add leaf calls
4 years ago
Sungkeun Cho 7912877166 [uninit] Revise error message to include access paths
4 years ago
Sungkeun Cho 4d8a5d8afd [ConfigImpact] Inter-procedural analysis
4 years ago
Sungkeun Cho c5cbd3142e [uninit] Fix a bug on nested struct initialization
4 years ago
Sungkeun Cho 02933d81ba [impurity] Suppress internal error with too strong assumption
4 years ago
Sungkeun Cho 7e6654cd25 [ConfigImpact] Add a new checker: ConfigImpactAnalysis
4 years ago
Mitya Lyubarskiy c6a253b875 format
4 years ago
Mitya Lyubarskiy 481068d3da [nullsafe] --no-nullsafe-optimistic-third-party-in-default-mode is optimistic about Inheritance check
4 years ago
Jules Villard 4c357e434b [pulse] apply discovered variable equalities eagerly
4 years ago
Jules Villard 886a47402d [pulse] do not canonicalize preconditions
4 years ago
Jules Villard d22e08cf82 [impurity] sort edges before comparing them
4 years ago
Jules Villard 94930e3b11 [pulse] refactor incorporate_new_eqs
4 years ago
Jules Villard 84d1fd3b52 [pulse] add tests
4 years ago
Adam Ernst bf87088a35 Don't warn about direct ivar access for atomic readonly properties
4 years ago
Jules Villard 4f77f82cba [pulse] some models should "prune" instead of "and"
4 years ago
Jules Villard e7124511dc [pulse] use only known facts for variable substitutions
4 years ago
Jules Villard a1db290c2e [pulse] models for folly::Optional::operator{*,->}()
4 years ago
Martin Trojer 7fcb9446dd [clang] add a new flag --skip-non-capture-clang-commands to makes clangdriver skip compilation on commands that doesn't capture data
4 years ago
Ezgi Çiçek 7af9d02542 [inferbo] Handle global constant array loads in Obj-C
4 years ago
Nikos Gorogiannis 745f04f77d [racerd] races in nullsafe classes
4 years ago
Nikos Gorogiannis 8b32da127e [racerd] separate procedure and file analyses
4 years ago
Gabriela Cunha Sampaio bc49f1deb1 [pulse] Adapting --pulse-model-return-nonnull for Java
4 years ago
Ezgi Çiçek 9a1a759638 Replace uses of Option.value_map ~default:false with Option.exists
4 years ago
Joshua Selbo 1596fc7e85 [nullsafe] Register android.provider.Settings content Uris
4 years ago
Nikos Gorogiannis 39c00d557e [infer] change filter semantics to included or not excluded
4 years ago
Gabriela Cunha Sampaio 54c3dafef8 [pulse] Modeling Java instanceof operator as returning true
4 years ago
Loc Le 5cf86cc0c0 [pulse.isl] init for local variables
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
Sungkeun Cho c5de5ee837 [purity] Print warning when inferbo mem is not found
4 years ago
Nikos Gorogiannis 7f6798999a [starvation] warn on SettableFuture.set under lock
4 years ago
Ezgi Çiçek f6f47cd7c9 [inferbo][cost] Add tests for global constant array of structs initialization
4 years ago
Ezgi Çiçek 17a3bec2ca [cost] Add tests for objc differential cost analysis
4 years ago
Sungkeun Cho b50ff19291 [frontend] Reset id generator before generating ObjC getter/setter
4 years ago
Ezgi Çiçek b57ccc3364 [cost] Remove expensive modeling for Provider.get
4 years ago
Xiaoyu Liu 285ddb4a98 Infer# integration (#1361)
4 years ago
Daiva Naudziuniene e0f0022fa1 [pulse][objcpp][npe] Basic examples
4 years ago
Ezgi Çiçek 802dce02d1 [cost] Model Collection's containsAll
4 years ago
Ezgi Çiçek 0a517db238 [cost] Model Collection's contains
4 years ago
Ezgi Çiçek 90974b92e4 [cost] If the modeled cost is Top, underestimate the cost
4 years ago
Sungkeun Cho 60fe0c96b9 [pulse] Ignore array elements in uninitialized value check
4 years ago
Sungkeun Cho 27ab8bd253 [pulse] Uninitialized check for struct fields
4 years ago
Jules Villard f5936689a4 [pulse] case split in model of free(3)
4 years ago
Jules Villard 1f6b9edacc [pulse] do not short-circuit valid paths because of errors
4 years ago
Jules Villard 5112fd2f32 [pulse] more topl debug
4 years ago
Sungkeun Cho e185233d71 [frontend] Fix incorrect order of statements (paren)
4 years ago
Sungkeun Cho e06f1e401f [frontend] Add is_union field to CppClass
4 years ago
Sungkeun Cho 89c8e25deb [frontend] Add tests of using single field struct
4 years ago
Jules Villard 12bcf119c8 [pulse] fix C test not calling the functions it was supposed to
4 years ago
Gabriela Cunha Sampaio be39e74bd4 [pulse] Modeling checkState and checkArgument
4 years ago
Sungkeun Cho b289d240f5 [frontend] Fix incorrect order of statements (implicit cast)
4 years ago
Jules Villard d375a6c03e [pulse] also compare path conditions when comparing states
4 years ago
Jules Villard abc36fe97f [pulse] add a bunch of equal and compare functions
4 years ago
Jules Villard 77d508328f [pulse][formula] swap order of constant and linear sum
4 years ago
Jules Villard b9747bdc08 [pulse] better AbductiveDomain.leq
4 years ago
Jules Villard 65b5919958 [pulse][minor] update documentation for AbductiveDomain.t
4 years ago
Sungkeun Cho 8ed44df7f6 [frontend] Fix incorrect order of statements (negation)
4 years ago
Martin Trojer faaf0ecf18 Normalize TV paths to avoid render errors
4 years ago
Nikos Gorogiannis 7e4dc9477e [buck][java] remove genrule integration and combined mode
4 years ago
Gabriela Cunha Sampaio e04f0a0ffa [pulse] Modeling checkNotNull function
4 years ago
Sungkeun Cho 051473394b [frontend] Fix incorrect order of statements
4 years ago
Sungkeun Cho f3a29d1c9c [frontend] Add a return param of struct type in ObjC methods
4 years ago
Sungkeun Cho 32846974eb [closure] Subst variables in ClosureSubstSpecializedMethod
4 years ago
Sungkeun Cho 63545b1e64 [liveness] Fix liveness analysis not to kill constructor targets
4 years ago
Nikos Gorogiannis f185b35292 [buck] allow setting the buck java heap size
4 years ago
Nikos Gorogiannis ad84126184 [buck] don't clobber existing BUCK_EXTRA_JAVA_ARGS
4 years ago
Gabriela Cunha Sampaio 549954cb97 [pulse] Suppress Pulse NPE reports on @Nullsafe
4 years ago
Gabriela Cunha Sampaio 27acb0fe4e [pulse] Modeling Java Integer class
4 years ago
Gabriela Cunha Sampaio e6d50837ba Renaming Java tests in Pulse
4 years ago
Gabriela Cunha Sampaio 9362b22317 Copying Java biabduction tests into Pulse
4 years ago
Sungkeun Cho eeb34231fa [pulse] Loosen fieldname comparison in state
4 years ago
Gabriela Cunha Sampaio caa8bd0e39 Renaming biabduction Java tests
4 years ago
Ezgi Çiçek 34eb8ebafb [cost] Model Map.containsValue
4 years ago
Ezgi Çiçek 840a10afaa [pre-analysis] Remove throw/catch handling from preanalysis
4 years ago
Sungkeun Cho 1bce54aaf3 [frontend] Handle struct copy in C
4 years ago
Loc Le e11b1b49b3 [pulse] explicit Ok/Error summaries: bi-abduction for interprocedural analysis
4 years ago
Ezgi Çiçek 7487676f9f [control][cost] Refactor
4 years ago
Ezgi Çiçek d1935941a6 [control][hotfix] Don't fail when not all exit nodes are prune nodes
4 years ago
Nikos Gorogiannis 7b8145b8bc [racerd][C++] do not report on lambdas at top level
4 years ago
Sungkeun Cho 759fddc7e8 [frontend] Fix a bug in translation of empty for-loop
4 years ago
Artem Pianykh 3aaf1de4f7 [java] Support Ultralight synthetic names
4 years ago
Loc Le 12c582a698 [pulse] explicit isl error specs for free/delete
4 years ago
Daiva Naudziuniene 16718384b3 [pulse] Optional Empty Access false positives we want to address
4 years ago
Loc Le 92341d8ffc isl summary for memory store
4 years ago
Kevin Higgs afc9666e15 Fix SIL to HIL conversion for Exp.Var inside Lfield and Lindex (#1372)
4 years ago
Luka Rahne 66d0eaa357 Fix #1366; apply xml escaping on generated xml report (#1367)
4 years ago
Gabriela Cunha Sampaio e065b0b0b2 Change Pulse Checker from experimental for C++ and Java to experimental for Java only
4 years ago
Jules Villard 2ac2f019df [clang] fix some loops with no brackets
4 years ago
Jules Villard ad45bbe28d [clang] fix order of translation for [this]
4 years ago
Loc Le 6eb79feaaf [Pulse] explicit Ok/Error summaries: bi-abduction for memory read
4 years ago
Sungkeun Cho 1166c13cb1 [log] Add a missing line space
4 years ago
Franco Raimondi 366ca37ff9 apache commons lang3 string utils model (#1346)
4 years ago
Jules Villard 60119943a6 [nullsafe] do not crash when java_class_info is empty
4 years ago
Daiva Naudziuniene 47954fc428 [pulse] Do not drop astates in ExitScope instruction
4 years ago
Daiva Naudziuniene 0c6eedc835 [pulse] Model std::__optional_storage_base::has_value
4 years ago
Sungkeun Cho b4b75c4ffb [config] Use not-reversed list types for `Config` variables
4 years ago