Skip to content

Commit 308cc0a

Browse files
authored
Merge pull request #5807 from martin-cs/refactor/process_goto_program
Refactor process_goto_program so that all tools use common processing code
2 parents e127bba + c4db021 commit 308cc0a

File tree

77 files changed

+280
-364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+280
-364
lines changed

regression/goto-analyzer/approx-array-variable-const-fp/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp_tbl\[.*i\] == f2 THEN GOTO [0-9]$
66
^\s*IF fp_tbl\[.*i\] == f3 THEN GOTO [0-9]$
77
^\s*IF fp_tbl\[.*i\] == f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-cast-const-fp/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == f2 THEN GOTO [0-9]$
66
^\s*IF fp == f3 THEN GOTO [0-9]$
77
^\s*IF fp == f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-const-fp-with-null/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == f2 THEN GOTO [0-9]$
66
^\s*IF fp == f3 THEN GOTO [0-9]$
77
^\s*IF fp == f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-const-fp/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == f2 THEN GOTO [0-9]$
66
^\s*IF fp == f3 THEN GOTO [0-9]$
77
^\s*IF fp == f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-const-pointer-const-struct-non-const-fp/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == f2 THEN GOTO [0-9]$
66
^\s*IF fp == f3 THEN GOTO [0-9]$
77
^\s*IF fp == f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-const-struct-non-const-fp/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == f2 THEN GOTO [0-9]$
66
^\s*IF fp == f3 THEN GOTO [0-9]$
77
^\s*IF fp == f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-invalid-cast-const-fp/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == \(.*\)f2 THEN GOTO [0-9]$
66
^\s*IF fp == \(.*\)f3 THEN GOTO [0-9]$
77
^\s*IF fp == \(.*\)f4 THEN GOTO [0-9]$

regression/goto-analyzer/approx-const-fp-array-variable-struct-const-fp-with-zero/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF fp == f2 THEN GOTO [0-9]$
66
^\s*IF fp == f3 THEN GOTO [0-9]$
77
^\s*IF fp == f4 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-array-literal-const-fp-null/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*ASSERT FALSE // invalid function pointer$
66
^EXIT=0$
77
^SIGNAL=0$

regression/goto-analyzer/no-match-const-array-const-pointer-const-fp-const-lost/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
main.c
33
--show-goto-functions --pointer-check
4-
^Removing function pointers and virtual functions$
4+
^Removal of function pointers and virtual functions$
55
^\s*IF \*fp == f1 THEN GOTO [0-9]$
66
^\s*IF \*fp == f2 THEN GOTO [0-9]$
77
^\s*IF \*fp == f3 THEN GOTO [0-9]$

0 commit comments

Comments
 (0)