Sam Blackshear
5e2e7b88aa
[quandary] allow trace-specific rules for handling unknown code
...
Reviewed By: jeremydubreil
Differential Revision: D3962285
fbshipit-source-id: b14f3d2
8 years ago
Josh Berdine
c094a38d56
[IR] Simplify to single return id, with type
...
Summary:
Change Sil.Call instruction to have only a single optional return
identifier, insted of a list. Essentially none of the code handled
multiple return identifiers. Also, add the type of the return
identitifier to Call instructions.
Reviewed By: sblackshear
Differential Revision: D3919358
fbshipit-source-id: d2d4f72
8 years ago
Sam Blackshear
3051d90307
[quandary] kill unused Source.to_return proc
...
Reviewed By: jvillard
Differential Revision: D3927750
fbshipit-source-id: a4047f4
8 years ago
Sam Blackshear
de146f4f2d
[quandary] switch to using base -> formal num map in extras
...
Reviewed By: dkgi
Differential Revision: D3883256
fbshipit-source-id: 857e1f9
8 years ago
Sam Blackshear
31e6849ec0
[quandary] using summaries part 2: the relational cases
...
Differential Revision: D3861751
fbshipit-source-id: d7858e6
8 years ago
Sam Blackshear
9f1c4e4bca
[quandary] adding append operation
...
Reviewed By: jeremydubreil
Differential Revision: D3857100
fbshipit-source-id: 030b1cb
8 years ago
Sam Blackshear
d6d7293633
[quandary] moving logging of errors into analysis
...
Reviewed By: jeremydubreil
Differential Revision: D3850807
fbshipit-source-id: d34f1ab
8 years ago
Sam Blackshear
31435fa936
[quandary] summaries for interprocedural analysis
...
Reviewed By: mbouaziz
Differential Revision: D3838659
fbshipit-source-id: 2382a81
8 years ago
Sam Blackshear
27cfb141da
richer sink specifications
...
Reviewed By: jeremydubreil
Differential Revision: D3831688
fbshipit-source-id: 199f1a5
8 years ago
Sam Blackshear
3368548e3e
replace stackop instruction with skip instruction
...
Reviewed By: cristianoc
Differential Revision: D3828544
fbshipit-source-id: 5a1d05f
8 years ago
Sam Blackshear
8ab9a6c714
remove some commented logging code
...
Reviewed By: jeremydubreil
Differential Revision: D3822731
fbshipit-source-id: b6f5849
8 years ago
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
a31a735e35
separate pretty-printer for pp_kind
...
Reviewed By: jvillard
Differential Revision: D3762892
fbshipit-source-id: 49dcf48
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
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
Sam Blackshear
262a121cf6
handle casts
...
Reviewed By: jberdine
Differential Revision: D3742480
fbshipit-source-id: 97b6b44
8 years ago
Sam Blackshear
514107ec88
track sinks
...
Reviewed By: mbouaziz
Differential Revision: D3725051
fbshipit-source-id: 294203a
8 years ago
Sam Blackshear
f0028669ee
propagate tainted sources
...
Reviewed By: mbouaziz
Differential Revision: D3723878
fbshipit-source-id: 6774e0b
8 years ago
Sam Blackshear
3b12208e1b
intraprocedural taint analysis that records sources
...
Reviewed By: jvillard
Differential Revision: D3723819
fbshipit-source-id: 941e1fc
8 years ago
Sam Blackshear
90c8f55c32
adding missing functionality to analyzerTester
...
Reviewed By: jberdine
Differential Revision: D3723164
fbshipit-source-id: e9c272b
8 years ago
Sam Blackshear
462bf68f46
killing is_bottom
...
Reviewed By: jberdine
Differential Revision: D3719406
fbshipit-source-id: fdc97f9
8 years ago
Sam Blackshear
f99b30c4cd
abstracting passthroughs more aggressively
...
Reviewed By: jberdine
Differential Revision: D3706040
fbshipit-source-id: 9d0f305
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
Lázaro Clapp Jiménez Labora
616e8fddd4
Make stacktrace parsing work when line number info is not available.
...
Reviewed By: sblackshear
Differential Revision: D3715702
fbshipit-source-id: cb52f9a
8 years ago
Sam Blackshear
034d2e3c81
adding accessTree.fold
...
Reviewed By: mbouaziz
Differential Revision: D3692539
fbshipit-source-id: 99fbe61
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
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
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
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
Sam Blackshear
6a1a0d68da
create access paths from expressions
...
Reviewed By: jvillard
Differential Revision: D3605422
fbshipit-source-id: 1ccd9f8
8 years ago
Sam Blackshear
e95ebca786
factoring out some utility methods for testing access-based stuff
...
Reviewed By: jvillard
Differential Revision: D3584798
fbshipit-source-id: cd24e77
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
0ca19da3cf
allowing custom procname in analyzerTester
...
Reviewed By: lazaroclapp
Differential Revision: D3590116
fbshipit-source-id: 7fe052f
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
Lázaro Clapp Jiménez Labora
d4a9a6cde1
Add initial stack trace parsing code for semantic blame
...
Reviewed By: sblackshear
Differential Revision: D3585008
fbshipit-source-id: 64a0bda
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
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
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
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
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
Sam Blackshear
9df3b8f653
eliminating dead stores created by copy-propagation
...
Reviewed By: jberdine
Differential Revision: D3471323
fbshipit-source-id: 10431be
9 years ago
Sam Blackshear
314d022e38
add abstraction of access path, use in access path set domain
...
Reviewed By: dkgi
Differential Revision: D3521054
fbshipit-source-id: 3ff515b
9 years ago
Sam Blackshear
b9fefe9d9b
better unit tests for procCfg
...
Reviewed By: jberdine
Differential Revision: D3470096
fbshipit-source-id: 331e54c
9 years ago
Sam Blackshear
cf5871e76f
fixing broken backward/per-instr cfg by taking a different approach
...
Reviewed By: jeremydubreil
Differential Revision: D3461619
fbshipit-source-id: 491b28b
9 years ago