Skip to content

Commit 6273c92

Browse files
committed
DEBUG
1 parent aa71d8a commit 6273c92

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

regression/cbmc/cprover_bool1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--trace
3+
--trace --preprocess
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$

src/goto-symex/goto_state.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Author: Romain Brenguier, [email protected]
1212

1313
#include <util/format_expr.h>
1414

15+
#include <iostream>
16+
1517
/// Print the constant propagation map in a human-friendly format.
1618
/// This is primarily for use from the debugger; please don't delete me just
1719
/// because there aren't any current callers.
@@ -146,6 +148,9 @@ void goto_statet::apply_condition(
146148
else if(rhs.is_false())
147149
apply_condition(equal_exprt{lhs, true_exprt{}}, previous_state, ns);
148150
else
151+
{
152+
std::cerr << condition.pretty() << std::endl;
149153
UNREACHABLE;
154+
}
150155
}
151156
}

0 commit comments

Comments
 (0)