Lázaro Clapp Jiménez Labora
f2e958ef3a
Add support for multiple stacktraces in '-a crashcontext'
...
Reviewed By: jberdine
Differential Revision: D3735011
fbshipit-source-id: 8a27a60
8 years ago
Sam Blackshear
36b0a957bd
setup for creating very simple absint checkers
...
Reviewed By: cristianoc
Differential Revision: D3734044
fbshipit-source-id: 014b0d9
8 years ago
Sam Blackshear
89fa74bc9b
make @OnBind an alias for @NoAllocation
...
Reviewed By: jvillard
Differential Revision: D3760579
fbshipit-source-id: 5f00f5d
8 years ago
Sam Blackshear
f64e880c11
java traces
...
Reviewed By: jberdine
Differential Revision: D3754285
fbshipit-source-id: 1709a62
8 years ago
Jules Villard
26a6594b90
detect unsigned values inside structured expressions
...
Summary:
Infer doesn't go looking into field values when looking for unsigned
expressions, which could cause some unintended reports.
Reviewed By: sblackshear
Differential Revision: D3724232
fbshipit-source-id: 9c4cd97
8 years ago
Cristiano Calcagno
91d9cd83b5
Cleanup instruction names: use Load/Store instead of Letderef/Set.
...
Reviewed By: jberdine
Differential Revision: D3749108
fbshipit-source-id: c5aa438
8 years ago
Cristiano Calcagno
c0969da619
Remove unused module CodeQuery.
...
Reviewed By: jberdine
Differential Revision: D3749076
fbshipit-source-id: 0bd1b60
8 years ago
Sam Blackshear
f0028669ee
propagate tainted sources
...
Reviewed By: mbouaziz
Differential Revision: D3723878
fbshipit-source-id: 6774e0b
8 years ago
Sam Blackshear
e853b01051
taint domain
...
Reviewed By: jvillard
Differential Revision: D3723785
fbshipit-source-id: c55f0e4
8 years ago
Sam Blackshear
20584be8f3
mapping of ids to raw access path
...
Reviewed By: jvillard
Differential Revision: D3692316
fbshipit-source-id: 0496c8d
8 years ago
Sam Blackshear
462bf68f46
killing is_bottom
...
Reviewed By: jberdine
Differential Revision: D3719406
fbshipit-source-id: fdc97f9
8 years ago
Lázaro Clapp Jiménez Labora
175efddc2b
Make stacktrace and stacktree line number an int option.
...
Reviewed By: sblackshear
Differential Revision: D3718014
fbshipit-source-id: 1c93757
8 years ago
Sam Blackshear
034d2e3c81
adding accessTree.fold
...
Reviewed By: mbouaziz
Differential Revision: D3692539
fbshipit-source-id: 99fbe61
8 years ago
Josh Berdine
c147ab4197
Refactor Sil.attribute and associates to PredSymb
...
Summary:
Move the Sil.attribute type and associated types and operations to a new
PredSymb module.
Reviewed By: cristianoc
Differential Revision: D3683834
fbshipit-source-id: d3606a8
8 years ago
Josh Berdine
25a52c7bbc
Refactor operations on Exp.t in Sil to Exp
...
Summary: No functional change.
Reviewed By: cristianoc
Differential Revision: D3669404
fbshipit-source-id: 1d1f11a
8 years ago
Josh Berdine
f9ca08a9a8
Refactor Exp.t-keyed collections from Sil to Exp
...
Reviewed By: cristianoc
Differential Revision: D3669397
fbshipit-source-id: cb90abc
8 years ago
Josh Berdine
d60965824e
Refactor exp_equal and exp_compare to Exp
...
Reviewed By: cristianoc
Differential Revision: D3669395
fbshipit-source-id: 4c8805d
8 years ago
Josh Berdine
701eb20f83
Refactor Sil.exp to Exp.t
...
Summary: Create Exp module and refactor Sil.exp to Exp.t
Reviewed By: cristianoc
Differential Revision: D3669394
fbshipit-source-id: 1f52a90
8 years ago
Josh Berdine
71a15b2388
Represent attributes with atoms, not disequalities
...
Summary:
Replace disequalities to Attribute expressions with predicate symbol
application pure atomic formulas.
This diff should preserve existing behavior, up to the comparison order
of attribute disequalities versus predicate applications.
Reviewed By: sblackshear
Differential Revision: D3647049
fbshipit-source-id: c39a901
8 years ago
Lázaro Clapp Jiménez Labora
d23c99a4ea
Add blame_range to crashcontext analysis.
...
Reviewed By: jberdine
Differential Revision: D3674674
fbshipit-source-id: 8d2cc25
8 years ago
Vaibhav Tulsyan
dba179845b
Minor typo fix
...
Summary:
Typo in checkers.ml
Closes https://github.com/facebook/infer/pull/424
Reviewed By: martinoluca
Differential Revision: D3669416
Pulled By: jvillard
fbshipit-source-id: 1ef0fed
8 years ago
Josh Berdine
06cbdfa651
Cosmetic changes to improve Reason conversion
...
Summary: Changes for comment syntax and attachment.
Reviewed By: cristianoc
Differential Revision: D3647042
fbshipit-source-id: a540c0d
8 years ago
Josh Berdine
32146523ca
Enable warning: Unexpected documentation comment
...
Summary:
Enable warning 50 (Unexpected documentation comment) and fix all current
reports.
Reviewed By: jvillard
Differential Revision: D3653660
fbshipit-source-id: bfd36b9
8 years ago
Lázaro Clapp Jiménez Labora
0a8b95a856
Crashcontext ocaml method summary merging
...
Reviewed By: sblackshear
Differential Revision: D3643101
fbshipit-source-id: eaea332
8 years ago
Lázaro Clapp Jiménez Labora
58d008a026
Add Stacktree ATD type for serializing/decerializing crashcontext results.
...
Reviewed By: jvillard
Differential Revision: D3642891
fbshipit-source-id: 6bdab73
8 years ago
Zac Sweers
aed5e6bee8
Support butter knife 8's BindView annotation
...
Summary:
Butter Knife 8 switched from `Bind` to `BindView`
Closes https://github.com/facebook/infer/pull/407
Reviewed By: jberdine
Differential Revision: D3646737
Pulled By: cristianoc
fbshipit-source-id: 167da7b
8 years ago
Sam Blackshear
3233666b11
extract callsite to its own module
...
Reviewed By: jberdine
Differential Revision: D3636918
fbshipit-source-id: eaaac66
8 years ago
Lázaro Clapp Jiménez Labora
9a79e74380
Crashbot results stitching and end-to-end testing.
...
Reviewed By: sblackshear
Differential Revision: D3619339
fbshipit-source-id: 46f3cc1
8 years ago
Sam Blackshear
33b417c280
generalizing `add_trace` to `add_node`
...
Reviewed By: mbouaziz
Differential Revision: D3616281
fbshipit-source-id: 14fff92
8 years ago
Sam Blackshear
706acdfd9e
generalizing get_trace to get_node
...
Reviewed By: mbouaziz
Differential Revision: D3614509
fbshipit-source-id: b1dc5dd
8 years ago
Sam Blackshear
e9aecd0afe
widen for access trees
...
Reviewed By: jberdine
Differential Revision: D3605415
fbshipit-source-id: 26f1eec
8 years ago
Lázaro Clapp Jiménez Labora
76764c148a
Output the callee sumaries of -a crashcontext to per-method files.
...
Reviewed By: sblackshear
Differential Revision: D3612488
fbshipit-source-id: a068803
8 years ago
Sam Blackshear
6a1a0d68da
create access paths from expressions
...
Reviewed By: jvillard
Differential Revision: D3605422
fbshipit-source-id: 1ccd9f8
8 years ago
Lázaro Clapp Jiménez Labora
6469a6c37b
Implement '-a crashcontext' and '-st trace' options to invoke BoundedCallTree.ml from the command line.
...
Reviewed By: sblackshear
Differential Revision: D3606446
fbshipit-source-id: 9ac92fa
8 years ago
Lázaro Clapp Jiménez Labora
9f7cb87bb0
Add stacktrace extras to BoundedCallTree checker.
...
Reviewed By: sblackshear
Differential Revision: D3589871
fbshipit-source-id: 93c3df9
8 years ago
Sam Blackshear
a33e047377
allow access path base to be an ident as well
...
Reviewed By: dkgi
Differential Revision: D3584658
fbshipit-source-id: ec77b3f
8 years ago
Sam Blackshear
27fa745cee
using more general version of join_all_traces
...
Reviewed By: mbouaziz
Differential Revision: D3571559
fbshipit-source-id: b5b1b94
8 years ago
Sam Blackshear
16b31acfc9
add_trace function for access tree + tests
...
Reviewed By: mbouaziz
Differential Revision: D3565533
fbshipit-source-id: 8d08d52
8 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
...
Reviewed By: sblackshear
Differential Revision: D3568420
fbshipit-source-id: cc58a93
9 years ago
Sam Blackshear
09e45710d3
join for access trees and tests
...
Reviewed By: mbouaziz
Differential Revision: D3555411
fbshipit-source-id: 3dc8276
9 years ago
Josh Berdine
e739b0e6ea
Refactor Sil.dexp into separate DecompExp module
...
Summary: Move Sil.dexp type and operations into separate DecompExp module.
Reviewed By: dulmarod
Differential Revision: D3548095
fbshipit-source-id: 5ab4360
9 years ago
Josh Berdine
ccd32690d7
Refactor Sil.call_flags into separate CallFlags module
...
Summary:
Move Sil.call_flags type and operations into separate CallFlags
module.
Reviewed By: dulmarod
Differential Revision: D3548086
fbshipit-source-id: 6d264e9
9 years ago
Josh Berdine
aba67b4a2a
Refactor Sil.binop into separate Binop module
...
Summary: Move Sil.binop type and operations into separate Binop module.
Reviewed By: dulmarod
Differential Revision: D3548082
fbshipit-source-id: 356bee3
9 years ago
Josh Berdine
2154c2c483
Refactor Sil.unop into separate Unop module
...
Summary: Move Sil.unop type and operations into separate Unop module.
Reviewed By: dulmarod
Differential Revision: D3548077
fbshipit-source-id: 49d3d83
9 years ago
Josh Berdine
9487cab145
Refactor Sil.const into separate Const module
...
Summary: Move Sil.const type and operations into separate Const module.
Reviewed By: dulmarod
Differential Revision: D3548073
fbshipit-source-id: 388d03e
9 years ago
Josh Berdine
a1b680c473
Move attributes from const to exp
...
Summary:
Move attribute values from const to exp. They are not constants, and
this reduces interdependence between Sil types.
Reviewed By: cristianoc
Differential Revision: D3548055
fbshipit-source-id: 31a9121
9 years ago
Josh Berdine
32d09545e2
Closure values are not constants
...
Summary:
Move closure values from const to exp. They are not constants, and
this reduces interdependence between Sil types.
Reviewed By: sblackshear
Differential Revision: D3541364
fbshipit-source-id: 1a2f998
9 years ago
Josh Berdine
c5ce74f3d3
Exception values are not constants
...
Summary:
Move exception values from const to exp. They are not constants, and
this reduces interdependence between Sil types.
Reviewed By: sblackshear
Differential Revision: D3541355
fbshipit-source-id: f22e0ba
9 years ago
Sam Blackshear
b2c422827a
adding <=, tests to access tree domain
...
Reviewed By: mbouaziz
Differential Revision: D3546470
fbshipit-source-id: a31045f
9 years ago
Sam Blackshear
05505b55fd
beginnings of access tree domain, tests
...
Reviewed By: mbouaziz
Differential Revision: D3544575
fbshipit-source-id: 17fa411
9 years ago