Skip to content

Invariant cleanup builtin functions #2970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regression/cbmc/trace-values/trace-values.desc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trace-values.c
^ null\$object=6 .*$
^ junk\$object=7 .*$
^ dynamic_object1\[1.*\]=8 .*$
^ my_nested\[1.*\]={ .f=0, .array={ 0, 4, 0 } } .*$
^ my_nested\[1.*\]=\{ .f=0, .array=\{ 0, 4, 0 \} \} .*$
^VERIFICATION FAILED$
--
^warning: ignoring
6 changes: 3 additions & 3 deletions regression/cbmc/union10/union_list2.desc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Value sets do not record byte-extract operations with sufficient detail:
struct list_item *p1 = u.my_list.index;
struct list_item *p2 = p1->previous;
yields
(29) p1!0@1#2 == byte_extract_little_endian(u!0@1#4, 8l, struct list_item { unsigned int value; unsigned int $pad1; struct list_item *previous; } *)
(30) p2!0@1#2 == p1$object#0.previous
\(29\) p1!0@1#2 == byte_extract_little_endian\(u!0@1#4, 8l, struct list_item \{ unsigned int value; unsigned int $pad1; struct list_item *previous; \} *\)
\(30\) p2!0@1#2 == p1$object#0.previous
as
main::1::p1 = { <integer_address, *, unsigned char> }
main::1::p1 = \{ <integer_address, *, unsigned char> \}
is the only information stored in the value set.
4 changes: 2 additions & 2 deletions regression/cpp-linter/do-while1/test.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
main.cpp

^main\.cpp:31: Empty loop bodies should use {} or continue \[whitespace/empty_loop_body\] \[5\]$
^main\.cpp:38: Empty loop bodies should use {} or continue \[whitespace/empty_loop_body\] \[5\]$
^main\.cpp:31: Empty loop bodies should use \{\} or continue \[whitespace/empty_loop_body\] \[5\]$
^main\.cpp:38: Empty loop bodies should use \{\} or continue \[whitespace/empty_loop_body\] \[5\]$
^Total errors found: 2$
^SIGNAL=0$
--
Loading