We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1095b9 commit 1810a3dCopy full SHA for 1810a3d
map2check
0 Bytes
map2check-wrapper.py
@@ -66,7 +66,7 @@
66
exit(1)
67
68
if is_memsafety:
69
- command_line += " --generate-witness "
+ command_line += " --assume-malloc-true --generate-witness "
70
elif is_reachability:
71
command_line += " --target-function __VERIFIER_error --generate-witness "
72
elif is_overflow:
sample/over.c
@@ -1,13 +1,18 @@
1
+extern void __VERIFIER_error(void);
2
+extern int __VERIFIER_nondet_int(void);
3
+
4
main()
5
{
6
int a = __VERIFIER_nondet_int();
7
+ __VERIFIER_assume(a>0);
8
int b = __VERIFIER_nondet_int();
9
+ __VERIFIER_assume(b>0);
10
11
if(a)
12
13
int c = a +b;
14
}else{
15
int c = b;
- }
16
+ }
17
18
}
0 commit comments