about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorAndrew Santosa <santosa_1999@yahoo.com>2017-10-01 22:55:03 +0800
committerAndrea Mattavelli <andreamattavelli@users.noreply.github.com>2017-10-06 08:07:29 +0100
commitcc2a4e20bbfb7ca47a2f1629c67889ee150336da (patch)
treeab4b5aeb2997dddf4b2a407552bb5f79d8d4e9d5 /test
parent48effc8ad27671bedcdfc916381c94c06c96d013 (diff)
downloadklee-cc2a4e20bbfb7ca47a2f1629c67889ee150336da.tar.gz
Removed the word 'unsigned' from integer overflow error messages
Diffstat (limited to 'test')
-rw-r--r--test/Feature/ubsan_signed_overflow.c6
-rw-r--r--test/Feature/ubsan_unsigned_overflow.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Feature/ubsan_signed_overflow.c b/test/Feature/ubsan_signed_overflow.c
index 66288d2e..c89065eb 100644
--- a/test/Feature/ubsan_signed_overflow.c
+++ b/test/Feature/ubsan_signed_overflow.c
@@ -13,13 +13,13 @@ int main()
   klee_make_symbolic(&x, sizeof(x), "x");
   klee_make_symbolic(&y, sizeof(y), "y");
 
-  // CHECK: ubsan_signed_overflow.c:17: overflow on unsigned addition
+  // CHECK: ubsan_signed_overflow.c:17: overflow on addition
   result = x + y;
 
-  // CHECK: ubsan_signed_overflow.c:20: overflow on unsigned subtraction
+  // CHECK: ubsan_signed_overflow.c:20: overflow on subtraction
   result = x - y;
 
-  // CHECK: ubsan_signed_overflow.c:23: overflow on unsigned multiplication
+  // CHECK: ubsan_signed_overflow.c:23: overflow on multiplication
   result = x * y;
 
   return 0;
diff --git a/test/Feature/ubsan_unsigned_overflow.c b/test/Feature/ubsan_unsigned_overflow.c
index 568b17ba..1300ffcc 100644
--- a/test/Feature/ubsan_unsigned_overflow.c
+++ b/test/Feature/ubsan_unsigned_overflow.c
@@ -13,13 +13,13 @@ int main()
   klee_make_symbolic(&x, sizeof(x), "x");
   klee_make_symbolic(&y, sizeof(y), "y");
 
-  // CHECK: ubsan_unsigned_overflow.c:17: overflow on unsigned addition
+  // CHECK: ubsan_unsigned_overflow.c:17: overflow on addition
   result = x + y;
 
-  // CHECK: ubsan_unsigned_overflow.c:20: overflow on unsigned subtraction
+  // CHECK: ubsan_unsigned_overflow.c:20: overflow on subtraction
   result = x - y;
 
-  // CHECK: ubsan_unsigned_overflow.c:23: overflow on unsigned multiplication
+  // CHECK: ubsan_unsigned_overflow.c:23: overflow on multiplication
   result = x * y;
 
   return 0;