Automatic Testing of Symbolic Execution Engines via Program Generation and Differential Testing
Timotej Kapus, Cristian Cadar
Department of Computing Imperial College London
Automatic Testing of Symbolic Execution Engines via Program - - PowerPoint PPT Presentation
Automatic Testing of Symbolic Execution Engines via Program Generation and Differential Testing Timotej Kapus, Cristian Cadar Department of Computing Imperial College London if (x > 2294967295) { assert(false); } printf("x:
Department of Computing Imperial College London
2
3
4
5
assert(false); printf("x: %d", x);
TRUE FALSE
x > 2294967295
6
7
8
9
Randomly generated program Compile Compile Execute Symbolically execute Compare
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
loop loop loop loop loop loop loop loop ...
31
g_56: 0 Strange term cast (cast(t2:reg32t)L:reg8t)U: reg32t ^ 0xbc84814c:reg32t
32
33
34
35
36
37
38
Compare native execution, with symbolic execution constrained to the exact same path as native execution.
39
40
41
42
Versions correspond to mode used:
43
44
45