Skip to content

Commit e816b4a

Browse files
committed
Fix duplicate test 39/17 (PR #1935)
1 parent 05ee9ea commit e816b4a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed
File renamed without changes.

tests/regression/39-signed-overflows/17-mod-minus-1.t renamed to tests/regression/39-signed-overflows/18-mod-minus-1.t

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
$ goblint --enable warn.deterministic --enable ana.int.interval 17-mod-minus-1.c
2-
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (17-mod-minus-1.c:5:9-5:26)
3-
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (17-mod-minus-1.c:7:5-7:16)
4-
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (17-mod-minus-1.c:9:9-9:20)
5-
[Warning][Integer > DivByZero][CWE-369] Second argument of modulo might be zero (17-mod-minus-1.c:7:5-7:16)
1+
$ goblint --enable warn.deterministic --enable ana.int.interval 18-mod-minus-1.c
2+
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (18-mod-minus-1.c:5:9-5:26)
3+
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (18-mod-minus-1.c:7:5-7:16)
4+
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (18-mod-minus-1.c:9:9-9:20)
5+
[Warning][Integer > DivByZero][CWE-369] Second argument of modulo might be zero (18-mod-minus-1.c:7:5-7:16)
66
[Info][Deadcode] Logical lines of code (LLoC) summary:
77
live: 6
88
dead: 0
99
total lines: 6
1010

11-
$ goblint --enable warn.deterministic --enable ana.int.interval_set 17-mod-minus-1.c
12-
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (17-mod-minus-1.c:5:9-5:26)
13-
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (17-mod-minus-1.c:7:5-7:16)
14-
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (17-mod-minus-1.c:9:9-9:20)
15-
[Warning][Integer > DivByZero][CWE-369] Second argument of modulo might be zero (17-mod-minus-1.c:7:5-7:16)
11+
$ goblint --enable warn.deterministic --enable ana.int.interval_set 18-mod-minus-1.c
12+
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (18-mod-minus-1.c:5:9-5:26)
13+
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (18-mod-minus-1.c:7:5-7:16)
14+
[Warning][Integer > Overflow][CWE-190] Signed integer overflow in % (18-mod-minus-1.c:9:9-9:20)
15+
[Warning][Integer > DivByZero][CWE-369] Second argument of modulo might be zero (18-mod-minus-1.c:7:5-7:16)
1616
[Info][Deadcode] Logical lines of code (LLoC) summary:
1717
live: 6
1818
dead: 0

0 commit comments

Comments
 (0)