7039 Commits (3bc350331deb1ec26e9db2e0b555bec32e7d0712)

Author SHA1 Message Date
Daiva Naudziuniene db965085b9 Fix tests
5 years ago
Mitya Lyubarskiy c4c8c053a1 [nullsafe] Treat not annotated synthetic fields as StrictNonnull
5 years ago
Jules Villard 6247437296 [pulse] unified API for arithmetic
5 years ago
Jules Villard 0a8ad85596 [pulse][minor] rename AbductiveDomain.Domain -> AbductiveDomain.PostDomain
5 years ago
Jules Villard af2aaf2a14 [pulse][minor] remove skipped_calls getter
5 years ago
Jules Villard bb9726bbd7 [pulse] enforce short forms for PulseDomainInterface
5 years ago
Jules Villard 94e3b06900 [pulse] enforce short forms for PulseBasicInterface
5 years ago
Jules Villard a0d1fee1dc [pulse] move SkippedCalls to its own file
5 years ago
Jules Villard c00de7ad27 [pulse] move interproc call to its own file
5 years ago
Jules Villard 9ed10d435b [pulse][minor] simplify rewriting of callee post attributes
5 years ago
Mitya Lyubarskiy 1eb762f935 [nullsafe] Recommend "trust none" as a promotion mode, when it is possible.
5 years ago
Mitya Lyubarskiy 9397b68650 [nullsafe] Introduce LocallyTrustedNonnull nullability
5 years ago
Mitya Lyubarskiy 199d53f748 [nullsafe] Unsync documentation from Nullability.ml and .mli
5 years ago
Mitya Lyubarskiy 3a629e46ce [nullsafe] Mode is unchecked unless it is in explicit trust list
5 years ago
Mitya Lyubarskiy ee9cf15d83 [nullsafe] Treat signatures in the class under analysis differently
5 years ago
Mitya Lyubarskiy c2b512c227 [nullsafe] Properly exclude third party methods from analysis
5 years ago
Mitya Lyubarskiy 8cb7f51d5e [nullsafe] Calculate promotion mode as part of meta-issue payload.
5 years ago
Mitya Lyubarskiy f130e580fa [nullsafe] Model FbInjector special functions
5 years ago
Sungkeun Cho a2d3b6fe19 [infer] Use pretty printable set/map for Typ.Name
5 years ago
Nikos Gorogiannis 93fe38bbc3 [logging] replicate internal errors in scuba
5 years ago
Jules Villard 89fd5db0ae [infer-out][9/9] migrate everything else
5 years ago
Jules Villard 8f74e4a3d8 [infer-out][8/9] kill --test-determinator-output
5 years ago
Jules Villard 7e1f0fdff9 [infer-out][7/9] kill --export-changed-functions-output
5 years ago
Jules Villard 932d3a3f92 [infer-out][6/9] kill --log-file option
5 years ago
Jules Villard cae160cccf [infer-out][5/9] migrate "specs"
5 years ago
Jules Villard b122eaef59 [infer-out][4/9] migrate infer-out/tmp/
5 years ago
Jules Villard 93bce54085 [infer-out][3/9] kill proc_stats.json
5 years ago
Jules Villard b575ad6153 [infer-out][2/9][trivial] unused unused warning
5 years ago
Jules Villard 32565782f4 [infer-out][1/9] move RunState inside ResultsDir
5 years ago
Jules Villard 8d8e0fb9fb [models][easy] cleanup summary loading
5 years ago
Jules Villard 79c5cceecf [java] kill ZipLib (aka specs-in-a-jar)
5 years ago
Jules Villard 224e0b7c52 [java] store specs files same as clang models
5 years ago
Nikos Gorogiannis 4b4caea260 [buck-java] use buck build reports for infer-deps
5 years ago
Dulma Churchill 2382e3d613 [pulse] Model Core Graphics Create and Copy just like malloc
5 years ago
Dulma Churchill 59ea968de8 [pulse] Model the correct CFAutorelease
5 years ago
Jules Villard bf671af2b2 [oss] more flexible way to have opensource stubs
5 years ago
Ezgi Çiçek e1093159b0 [pulse] Distinguish error state at top level
5 years ago
Ezgi Çiçek 8d44265ca1 [impurity] Consider exited functions as impure
5 years ago
Dulma Churchill b29d1a2f5f [pulse] Adding new value history for allocations
5 years ago
Nikos Gorogiannis d8f446a25e [scuba] support string payloads
5 years ago
Sungkeun Cho a152a6131b [inferbo] Give a right location to traces for pruning
5 years ago
Ezgi Çiçek 6105a6ab42 [pulse] Add tests for constant abstract locations
5 years ago
Jules Villard e1d7ce9628 [biabd] cache the list of modelled functions
5 years ago
David Pichardie 50c98db391 Storing class source file locations in Struct (Tenv) records
5 years ago
Mitya Lyubarskiy 3ccacb1f6e [nullsafe] Add nullsafe extras for meta-issues
5 years ago
Sungkeun Cho 2eae5ff88c [inferbo] Find method of interface or abstract class
5 years ago
Sungkeun Cho f0f91b21c6 [inferbo] Distinguish array declaration and size-setting in trace
5 years ago
Jules Villard 7410cebd3b [deadcode] more portable `find` command
5 years ago
Ezgi Çiçek 5a2b285fff [pulse] Distinguish exit state at top level
5 years ago
Nikos Gorogiannis f0afa18cbf [buck] don't die on output parse failures
5 years ago
Dulma Churchill dba4140a7b [pulse] Adding null case to malloc's model
5 years ago
Jules Villard 1cb973b44f [buck] delete infer-out/tmp/ before caching
5 years ago
Jules Villard 44ebe59b99 [config][easy] make Config.temp_file_dir relative and rename
5 years ago
Sungkeun Cho cfe4c62e47 [inferbo] Limit depth of abstract location
5 years ago
Sungkeun Cho d2276c4975 [cost] Re-locate where to print issue with heuristics
5 years ago
Jules Villard 66ed16fd27 [clang] skip initialisation of large compound values
5 years ago
Dulma Churchill 271946a178 [pulse] Model release functions from Core Graphics and Core Foundation
5 years ago
Dulma Churchill 6f2b52fcc7 [pulse] Model Core Graphics create and copy functions
5 years ago
Nikos Gorogiannis 1e25cf2168 [buck] use temp file instead of pipe for buck comms
5 years ago
Jules Villard 6e235d877e [driver] move code to scrub infer-out/ for caching to ResultsDir
5 years ago
Jules Villard 5aed10f06a [config] delete dead stats dir names
5 years ago
Jules Villard acb76469b5 [odoc] fix all provably-dodgy docstrings
5 years ago
Jules Villard c1818c0c1c [odoc] fix doc generation, no need for public names
5 years ago
Jules Villard efc59b1cdf [dune] ignore all dirs except src/
5 years ago
Jules Villard 6dc0894eef [pulse][models] add the proc name being matched to the context
5 years ago
Ezgi Çiçek cec8cbeff2 [pre-analysis] Add models for `no_return` and handle throw-catch better
5 years ago
Nikos Gorogiannis cf5925494c [buck] log target count
5 years ago
Sungkeun Cho 534149ff52 [cost] Find method of interface or abstract class
5 years ago
Dulma Churchill 902514dccd [pulse] Add unreachable point to the trace of memory leaks
5 years ago
Nikos Gorogiannis 46269eb891 [starvation] comply with issue log contract
5 years ago
Nikos Gorogiannis 7678143016 [capturedb] don't fail on unparseable buck output
5 years ago
Jules Villard bacb2b3d6e [nullsafe] unused functor argument -> get rid of module-ification
5 years ago
Mitya Lyubarskiy e10e458bee [nullsafe] Remove a wrong model for com.google.common.collect.Iterables.getFirst()
5 years ago
Mitya Lyubarskiy d51a688a1b [nullsafe][EASY] Log callee annotated signature when typechecking SIL call instruction
5 years ago
Mitya Lyubarskiy 08e7a11edf [nullsafe] Respect NullableDecl annotation
5 years ago
Sungkeun Cho 88e9079357 [cost] Add method name to report
5 years ago
Ezgi Çiçek d84fea52ae [pre-analysis] Shortcut no-return nodes to exit-node
5 years ago
Jules Villard 070e16cf61 [integrations] fix potential starvation
5 years ago
Jules Villard 348a392749 [explore] prepend its number in the list to each issue in report.txt
5 years ago
Jules Villard f867e14b89 [python] migrate 2.7 to 3
5 years ago
Jules Villard b06170429c [python] no need to be python-compatible
5 years ago
Jules Villard 1b2829b352 [python] it's just a flesh wound
5 years ago
Jules Villard 93f51a063b [explore] re-implement GitHub integration of infer-explore
5 years ago
Jules Villard d4f1b83a75 [python] migrate `infer explore --html` to OCaml, missing GitHub integration
5 years ago
Jules Villard 3fb5427b0c [python] partial rewrite of inferTraceBugs in OCaml
5 years ago
Jules Villard 15dabefd04 [CLI] let OUnit arguments pass through
5 years ago
Ezgi Çiçek 1cdc4e2501 [deadcode] Get rid of deadcode
5 years ago
Jules Villard fd03815f36 [CLI] kill --report-hook option
5 years ago
Nikos Gorogiannis dfb19d7c3e [racerd] improve interface not thread safe report text
5 years ago
Nikos Gorogiannis 76f80f114c [racerd] equip interface call records with address
5 years ago
Nikos Gorogiannis f7d6961177 [racerd][3/n] improve domain interface and consolidate access validity checking
5 years ago
Nikos Gorogiannis b194d70860 [racerd][2/n] invert inclusion between AccessSnapshot and TraceElem
5 years ago
Nikos Gorogiannis 8446e46103 [racerd][1/n] refactor AccessSnapshot to mask usage of TraceElem
5 years ago
Daiva Naudziuniene 526af36061 [uninit] Use type information from locals if argument has type void* in function signature
5 years ago
Sungkeun Cho f343be40f4 [cost] Add procedure name to trace
5 years ago
Ezgi Çiçek d97e1c8fdb [pulse][impurity] Add model for System.exit()
5 years ago
David Pichardie 121b7352f9 More powerful version of Instrs.map_changed
5 years ago
Sungkeun Cho a1a3c55186 [inferbo] Fix a bug in interval prune
5 years ago
Jules Villard c73feb82b4 [CLI] kill --pmd-xml option
5 years ago
Jules Villard 8d6153d949 [python] create console output and report.txt from OCaml
5 years ago
Jules Villard d8134e39cb [infer-out] change bugs.txt to report.txt
5 years ago
Jules Villard b720c2ca61 [python] delete dead code
5 years ago
Jules Villard d4a154fea2 [CLI] make `--quiet` also disable the progress bar
5 years ago
Mitya Lyubarskiy fbeaf7731a [nullsafe] Add known non-nullable alternatives for Android Fragment
5 years ago
Mitya Lyubarskiy 5df3801426 [nullsafe] Recommend a safe alternative for `View.findViewById()`
5 years ago
Fernando Gasperi Jabalera 2762c411b6 Use LRUCache in Ondemand.LocalCache
5 years ago
Ezgi Çiçek f7baf845fd [pulse] Fix printing order in contradiction for CItv and add tests
5 years ago
Sungkeun Cho 88474fd307 [inferbo] Add FN test due to invalid pruning of array list length
5 years ago
Nikos Gorogiannis 2b54f20733 [racerd] kill lock map
5 years ago
Ezgi Çiçek b64ed0bbf2 [impurity] Consider functions with empty pulse summary as impure
5 years ago
Mitya Lyubarskiy a3d5b4c700 [nullsafe][easy] Fix test
5 years ago
Artem Pianykh d8b0c99fa1 [nullsafe] Repro for wrong nullability of $bcvarN in try-with-resource
5 years ago
Nikos Gorogiannis f283336607 [racerd] remove dead interface function
5 years ago
Mitya Lyubarskiy 8dae30a6bf [nullsafe] Refine definition of meta issues
5 years ago
Ezgi Çiçek cf50a387e5 [cost] add a mode to compute exclusive cost
5 years ago
Nikos Gorogiannis beaed4d820 [racerd] optimise add_callee_accesses
5 years ago
Nikos Gorogiannis a2428a11e3 [racerd] remove ownership precondition module
5 years ago
Nikos Gorogiannis e3da644776 [racerd] reduce attributes to a singleton
5 years ago
Nikos Gorogiannis 7937615a20 [racerd] merge Choice and Attribute modules
5 years ago
Mitya Lyubarskiy c7d2f281f7 [nullsafe] Don't ever issue violation when dereferencing params.
5 years ago
Mitya Lyubarskiy e826736a06 [nullsafe] Make ErrorRenderingUtils `None`-safe
5 years ago
Nikos Gorogiannis ce1ba6a8c6 [java][procname] simplify printer
5 years ago
Martin Trojer 870d18a42b [buck] change order of the commands passed to buck, make sure user provided ones are last (and overrides the others)
5 years ago
Ezgi Çiçek cdb9281f1f [java][tests] Fix/suppress unchecked warnings
5 years ago
Dulma Churchill e99295e0e9 [pulse] Memory leak check
5 years ago
Ezgi Çiçek 7ca2fcc948 [pulse][purity] Add more naive models for Java
5 years ago
Martin Trojer a464880611 [gradle] replace python integration with ocaml
5 years ago
Mitya Lyubarskiy 7617707045 [nullsafe] Encapsulate creation of ReportableViolation.t inside ReportableViolation
5 years ago
Mitya Lyubarskiy e3e7a376c5 [nullsafe] Decouple nullsafe mode from issue calculation, Field Initialization
5 years ago
Mitya Lyubarskiy 2af561c593 [nullsafe] Decouple nullsafe mode from issue calculation, Inheritance Rule
5 years ago
Mitya Lyubarskiy 371eed9309 [nullsafe] Decouple nullsafe mode from issue calculation, DereferenceRule
5 years ago
Mitya Lyubarskiy 0bf5298c21 [nullsafe] Decouple nullsafe mode from issue calculation, AssignmentRule
5 years ago
Ezgi Çiçek 25c058f706 [deadcode] Fix deadcode
5 years ago
Ezgi Çiçek cc815f5d20 [pulse] Only propagate existing WrittenTo attributes at function calls
5 years ago
Nikos Gorogiannis 90a544ad2e [java] improve procname constructor
5 years ago
Nikos Gorogiannis 86ab2d7d10 [topl] disable skip tests
5 years ago
Ezgi Çiçek b372befee4 [pulse] Add more naive Java models
5 years ago
Mitya Lyubarskiy f291f93248 [nullsafe] Implement class-level analysis and calculate meta-issues.
5 years ago
Sungkeun Cho b14333485c [cost] Update cost results
5 years ago
Sungkeun Cho be1e72cd1a [cost] Update test results
5 years ago
Martin Trojer 36b8ee7198 [ant] replace python integration with ocaml
5 years ago
Ezgi Çiçek 04543938ab [impurity][hoisting] Add more tests
5 years ago
Nikos Gorogiannis d1e0375f4a [racerd] stop reporting on locals
5 years ago
Ezgi Çiçek 2bd39abefc [purity] Add model for Object.clone()
5 years ago
Martin Trojer baaf81b554 [xcodebuild] replace python integration with ocaml
5 years ago
Mitya Lyubarskiy 3ceb2efe9e [JavaClassName][easy] remove uneccesary whitespace strip
5 years ago
Ezgi Çiçek a65176de22 [pulse] Print SkippedCalls
5 years ago
Dulma Churchill d1923dcd71 [pulse] Changed the name of BaseDomain signature to avoid a name clash
5 years ago
Jules Villard 3ba91fd596 [pulse] refactor of PrePost.t vs AbductiveDomain.t
5 years ago
Jules Villard f726561732 [biabd][minor] `unSome` is just `Option.value_exn`
5 years ago
Jules Villard 7861752bf3 [pulse] rename "PulseArithmetic" to "PulseCItv"
5 years ago
Nikos Gorogiannis 8a99f4b3bb [java] bug fix for type translation
5 years ago
Sungkeun Cho bc0c060bd4 [cost] Add a test (recursive dependency in class initializers)
5 years ago
Mitya Lyubarskiy 769c221826 [JavaClassName] Introduce a function to strip out anonymous class suffix from a class
5 years ago
Sungkeun Cho 545e6c8802 [inferbo] Add models of String.lastIndexOf and String.replace
5 years ago
Nikos Gorogiannis 8ede47649c [java][procname] always return pointer types to objects
5 years ago
Mitya Lyubarskiy 544e4f2e6c [Typ.name] Move a function to JavaClassName
5 years ago
Ezgi Çiçek a4c3925d9a [impurity] Track unique accesses
5 years ago
Ezgi Çiçek e3c89b1f10 [impurity] Fix include_value_history
5 years ago
Jules Villard 5b371384fe [reportdiff] stream reading reports
5 years ago
Jules Villard a84fbecbe6 [typo] fix doc
5 years ago
Martin Trojer 4cee0882be move integration tmpfiles to infer-out/tmp/
5 years ago
Sungkeun Cho e35b26ae8e [inferbo] Get static final array values from class initializer
5 years ago
Artem Pianykh 2c96491e23 [build] Generate sources from atd using dune (but not FCP atds yet)
5 years ago
Artem Pianykh 786a72574f [build] Replace custom make cmds w/ dune promotion and byte_complete
5 years ago
Artem Pianykh 9fc048b503 [build] Use plain dune files instead of make-generated JBuilder/OCaml ones
5 years ago
Artem Pianykh fc5b092779 [lint] Update checkCopyright to handle sexp dune files
5 years ago
Artem Pianykh fcce3c0659 [RFC][build] Use dune environments and profiles instead of contexts
5 years ago
Jules Villard 40e5a3c5c3 [config] smarter handling of completely deprecated boolean options
5 years ago
Jules Villard e5b50d7d46 [quandaryBO] delete :(
5 years ago
Jules Villard 1faf00e58e [InferPrint] rename to JsonReports
5 years ago
Jules Villard 179cc58e17 [InferPrint] simplify a lot
5 years ago
Jules Villard 19e8ae652c [config] split non-json creating stuff out of InferPrint.ml
5 years ago
Jules Villard 339ebe74ec [config] sensible default for --from-json-report
5 years ago
Jules Villard c27e4c72a4 [config] delete --issues-txt option
5 years ago
Jules Villard 96490d1bad [config] delete --summary-stats option
5 years ago
Jules Villard 33626092d4 [config] delete --precondition-stats option
5 years ago
Dulma Churchill 2f90b05c2a [pulse] Add model for malloc
5 years ago
Mitya Lyubarskiy 82fb4e67b9 [nullsafe] Cleanup nullsafe top level execution
5 years ago
Ezgi Çiçek b90d7c42d3 [impurity] Do not add value history in impurity traces
5 years ago
Sungkeun Cho 117ab1164b [cost] Revert "Use type of Provider.get"
5 years ago
Martin Trojer 83062c0499 [buck] always pass --fcp-syntax-only to for buck/clang flavour capture
5 years ago
Sungkeun Cho 020cd199b5 [cost] Use type of Provider.get
5 years ago
Mitya Lyubarskiy 16554689ee [nullsafe][refactor] Don't update typestate twice when typechecking Store instruction
5 years ago
Mitya Lyubarskiy 28db342629 [nullsafe] Evaluate lhs nullability in assignment check based on field declaration
5 years ago
Sungkeun Cho 984c47cefe [inferbo] Remove dead macro definition
5 years ago
Jules Villard 957337bba2 [log] delete PerfStats and EventLogger frameworks
5 years ago
Jules Villard 6e1cca731c [debt] delete Procdesc.is_connected
5 years ago
Jules Villard 8e5ee67fed [config] datatype for checkers
5 years ago
Jules Villard e4602ba0df [clopt] do not generate "--no-" flag for [mk_bool ~long:""]
5 years ago
Ezgi Çiçek c6237f5f9f [pulse] Add model for Object.clone()
5 years ago
Mitya Lyubarskiy 087a5a9787 [nullsafe] A dedicated test for testing field nullability memoization
5 years ago
Nikos Gorogiannis 10afd021a1 [java] fix primitive types
5 years ago
Ezgi Çiçek ddd09b83fd [impurity] Refactor and ignore invalidations to constant dereferences
5 years ago
Mitya Lyubarskiy 83e72b2cbc [nullsafe][logs] More logs
5 years ago
Mitya Lyubarskiy 66c5f1bbe4 [nullsafe][refactor] Don't modify typestate without a need when typechecking call instruction
5 years ago
Mitya Lyubarskiy cb3a657465 [nullsafe][refactor] Don't modify typestate without a need in Cast instruction
5 years ago
Mitya Lyubarskiy e3a5906f7a [nullsafe][refactor] don't do tricky typestate modification inside set_original_pvar_to_nonnull_in_typestate
5 years ago
Mitya Lyubarskiy 692d618783 [nullsafe][refactor] Split a tricky function with side effect into two
5 years ago
Nikos Gorogiannis 711c48aa86 [java] extract java split name from typ module
5 years ago