Skip to content

Commit 8b9bfc3

Browse files
author
martin
committed
Move the majority of process_goto_program out of the individual tools
This requires resolving a difference in the wording of a status message that breaks a lot of tests for function pointer removal.
1 parent 2283046 commit 8b9bfc3

File tree

68 files changed

+174
-277
lines changed
  • regression/goto-analyzer
    • approx-array-variable-const-fp
    • approx-const-fp-array-variable-cast-const-fp
    • approx-const-fp-array-variable-const-fp
    • approx-const-fp-array-variable-const-fp-with-null
    • approx-const-fp-array-variable-const-pointer-const-struct-non-const-fp
    • approx-const-fp-array-variable-const-struct-non-const-fp
    • approx-const-fp-array-variable-invalid-cast-const-fp
    • approx-const-fp-array-variable-struct-const-fp-with-zero
    • no-match-array-literal-const-fp-null
    • no-match-const-array-const-pointer-const-fp-const-lost
    • no-match-const-fp-array-literal-const-fp-run-time
    • no-match-const-fp-array-literal-non-const-fp
    • no-match-const-fp-array-literal-non-const-fp-run-time
    • no-match-const-fp-array-non-const-fp
    • no-match-const-fp-binary-op-const-lost
    • no-match-const-fp-const-array-index-lost
    • no-match-const-fp-const-array-lost
    • no-match-const-fp-const-cast
    • no-match-const-fp-const-fp-null
    • no-match-const-fp-const-lost
    • no-match-const-fp-const-pointer-const-struct-const-fp-null
    • no-match-const-fp-const-pointer-non-const-struct-const-fp
    • no-match-const-fp-dereference-const-pointer-null
    • no-match-const-fp-dereference-non-const-pointer-const-fp
    • no-match-const-fp-dynamic-array-non-const-fp
    • no-match-const-fp-non-const-fp-direct-assignment
    • no-match-const-fp-non-const-pointer-non-const-struct-const-fp
    • no-match-const-fp-non-const-struct-const-fp
    • no-match-const-fp-non-const-struct-non-const-fp
    • no-match-const-fp-null
    • no-match-const-fp-ternerary-op-const-lost
    • no-match-const-pointer-const-struct-const-fp-const-cast
    • no-match-const-pointer-non-const-struct-const-fp
    • no-match-const-struct-non-const-fp-null
    • no-match-dereference-const-pointer-const-array-literal-pointer-const-fp
    • no-match-dereference-non-const-struct-const-pointer-const-fp
    • no-match-dereference-non-const-struct-non-const-pointer-const-fp
    • no-match-non-const-fp
    • no-match-non-const-fp-const-fp-direct-assignment
    • no-match-parameter-const-fp
    • no-match-parameter-fp
    • no-match-pointer-const-struct-array-literal-non-const-fp
    • precise-array-calculation-const-fp
    • precise-array-literal-const-fp
    • precise-const-fp
    • precise-const-fp-array-const-variable-const-fp
    • precise-const-fp-array-literal-const-fp
    • precise-const-fp-array-literal-const-fp-run-time
    • precise-const-fp-array-literal-const-struct-non-const-fp
    • precise-const-fp-array-variable-const-pointer-const-struct-non-const-fp
    • precise-const-fp-const-fp
    • precise-const-fp-const-struct-const-array-literal-fp
    • precise-const-fp-const-struct-non-const-array-literal-fp
    • precise-const-fp-const-struct-non-const-fp
    • precise-const-fp-dereference-const-pointer-const-fp
    • precise-const-fp-supurious-const-loss
    • precise-const-pointer-const-struct-fp
    • precise-const-struct-non-const-fp
    • precise-derefence
    • precise-derefence-const-pointer-const-fp
    • precise-dereference-address-pointer-const-fp
    • precise-dereference-const-struct-const-pointer-const-fp
    • precise-dereference-const-struct-const-pointer-const-struct-const-fp
    • precise-dereference-const-struct-pointer-const-fp
  • src

Some content is hidden

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

68 files changed

+174
-277
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]$

regression/goto-analyzer/no-match-const-fp-array-literal-const-fp-run-time/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]$

regression/goto-analyzer/no-match-const-fp-array-literal-non-const-fp-run-time/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]$

regression/goto-analyzer/no-match-const-fp-array-literal-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 fp2 == f1 THEN GOTO [0-9]$
66
^\s*IF fp2 == f2 THEN GOTO [0-9]$
77
^\s*IF fp2 == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-array-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 fp2 == f1 THEN GOTO [0-9]$
66
^\s*IF fp2 == f2 THEN GOTO [0-9]$
77
^\s*IF fp2 == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-binary-op-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]$

regression/goto-analyzer/no-match-const-fp-const-array-index-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]$

regression/goto-analyzer/no-match-const-fp-const-array-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]$

regression/goto-analyzer/no-match-const-fp-const-cast/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]$

regression/goto-analyzer/no-match-const-fp-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-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]$

regression/goto-analyzer/no-match-const-fp-const-pointer-const-struct-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
replacing function pointer by 9 possible targets
77
^EXIT=0$

regression/goto-analyzer/no-match-const-fp-const-pointer-non-const-struct-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-dereference-const-pointer-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
replacing function pointer by 9 possible targets
77
^EXIT=0$

regression/goto-analyzer/no-match-const-fp-dereference-non-const-pointer-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 final_fp == f1 THEN GOTO [0-9]$
66
^\s*IF final_fp == f2 THEN GOTO [0-9]$
77
^\s*IF final_fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-dynamic-array-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 == f1 THEN GOTO [0-9]+$
66
^\s*IF fp == f2 THEN GOTO [0-9]+$
77
^\s*IF fp == f3 THEN GOTO [0-9]+$

regression/goto-analyzer/no-match-const-fp-non-const-fp-direct-assignment/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 fp2 == f1 THEN GOTO [0-9]$
66
^\s*IF fp2 == f2 THEN GOTO [0-9]$
77
^\s*IF fp2 == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-non-const-pointer-non-const-struct-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-non-const-struct-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-fp-non-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-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
function func: replacing function pointer by 0 possible targets
77
^EXIT=0$

regression/goto-analyzer/no-match-const-fp-ternerary-op-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]$

regression/goto-analyzer/no-match-const-pointer-const-struct-const-fp-const-cast/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 container_pointer->fp == f1 THEN GOTO [0-9]$
66
^\s*IF container_pointer->fp == f2 THEN GOTO [0-9]$
77
^\s*IF container_pointer->fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-pointer-non-const-struct-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 pts->go == f1 THEN GOTO [0-9]$
66
^\s*IF pts->go == f2 THEN GOTO [0-9]$
77
^\s*IF pts->go == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-const-struct-non-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-dereference-const-pointer-const-array-literal-pointer-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 \*container_ptr->fp_tbl\[.*1\] == f1 THEN GOTO [0-9]$
66
^\s*IF \*container_ptr->fp_tbl\[.*1\] == f2 THEN GOTO [0-9]$
77
^\s*IF \*container_ptr->fp_tbl\[.*1\] == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-dereference-non-const-struct-const-pointer-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 \*container_container\.container == f1 THEN GOTO [0-9]$
66
^\s*IF \*container_container\.container == f2 THEN GOTO [0-9]$
77
^\s*IF \*container_container\.container == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-dereference-non-const-struct-non-const-pointer-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 \*container_container\.container == f1 THEN GOTO [0-9]$
66
^\s*IF \*container_container\.container == f2 THEN GOTO [0-9]$
77
^\s*IF \*container_container\.container == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-non-const-fp-const-fp-direct-assignment/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 fp2 == f1 THEN GOTO [0-9]$
66
^\s*IF fp2 == f2 THEN GOTO [0-9]$
77
^\s*IF fp2 == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-parameter-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-parameter-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 == f1 THEN GOTO [0-9]$
66
^\s*IF fp == f2 THEN GOTO [0-9]$
77
^\s*IF fp == f3 THEN GOTO [0-9]$

regression/goto-analyzer/no-match-pointer-const-struct-array-literal-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 container_ptr->fp_tbl\[.*1\] == f1 THEN GOTO [0-9]$
66
^\s*IF container_ptr->fp_tbl\[.*1\] == f2 THEN GOTO [0-9]$
77
^\s*IF container_ptr->fp_tbl\[.*1\] == f3 THEN GOTO [0-9]$

regression/goto-analyzer/precise-array-calculation-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*f3\(\);$
66
^EXIT=0$
77
^SIGNAL=0$

regression/goto-analyzer/precise-array-literal-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*f3\(\);$
66
^EXIT=0$
77
^SIGNAL=0$

0 commit comments

Comments
 (0)