diff options
author | Pavel <operasfantom@gmail.com> | 2022-07-04 15:43:52 +0400 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2022-09-14 20:40:10 +0100 |
commit | 1ac45951a90c2eed70d5232d7cd794060c47162a (patch) | |
tree | b3c8a6506ca60aea7cab1ed7bc987ae75369cb2c /test/Feature/ubsan/ubsan_integer_divide_by_zero.c | |
parent | d14b7dc335f1dc31a53602cee48f05e415edbfe5 (diff) | |
download | klee-1ac45951a90c2eed70d5232d7cd794060c47162a.tar.gz |
Eliminate .undefined_behavior.err category and simplify tests
Diffstat (limited to 'test/Feature/ubsan/ubsan_integer_divide_by_zero.c')
-rw-r--r-- | test/Feature/ubsan/ubsan_integer_divide_by_zero.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/Feature/ubsan/ubsan_integer_divide_by_zero.c b/test/Feature/ubsan/ubsan_integer_divide_by_zero.c index c33bab38..09591e29 100644 --- a/test/Feature/ubsan/ubsan_integer_divide_by_zero.c +++ b/test/Feature/ubsan/ubsan_integer_divide_by_zero.c @@ -6,15 +6,9 @@ #include "klee/klee.h" -#if defined(__SIZEOF_INT128__) && !defined(_WIN32) -typedef __int128 intmax; -#else -typedef long long intmax; -#endif - int main() { - intmax x; - volatile intmax result; + int x; + volatile int result; klee_make_symbolic(&x, sizeof(x), "x"); |