|
14 | 14 | #include <algorithm>
|
15 | 15 |
|
16 | 16 | #include <util/invariant.h>
|
| 17 | +#include <util/pointer_offset_size.h> |
17 | 18 | #include <util/std_expr.h>
|
18 | 19 |
|
19 | 20 | #include <analyses/dirty.h>
|
@@ -249,6 +250,14 @@ void goto_symext::symex_goto(statet &state)
|
249 | 250 |
|
250 | 251 | guardt guard;
|
251 | 252 |
|
| 253 | + log.conditional_output( |
| 254 | + log.debug(), |
| 255 | + [this, &new_lhs](messaget::mstreamt &mstream) { |
| 256 | + mstream << "Assignment to " << new_lhs.get_identifier() |
| 257 | + << " [" << pointer_offset_bits(new_lhs.type(), ns) << " bits]" |
| 258 | + << messaget::eom; |
| 259 | + }); |
| 260 | + |
252 | 261 | target.assignment(
|
253 | 262 | guard.as_expr(),
|
254 | 263 | new_lhs, new_lhs, guard_symbol_expr,
|
@@ -473,6 +482,14 @@ void goto_symext::phi_function(
|
473 | 482 | dest_state.assignment(new_lhs, rhs, ns, true, true);
|
474 | 483 | dest_state.record_events=record_events;
|
475 | 484 |
|
| 485 | + log.conditional_output( |
| 486 | + log.debug(), |
| 487 | + [this, &new_lhs](messaget::mstreamt &mstream) { |
| 488 | + mstream << "Assignment to " << new_lhs.get_identifier() |
| 489 | + << " [" << pointer_offset_bits(new_lhs.type(), ns) << " bits]" |
| 490 | + << messaget::eom; |
| 491 | + }); |
| 492 | + |
476 | 493 | target.assignment(
|
477 | 494 | true_exprt(),
|
478 | 495 | new_lhs, new_lhs, new_lhs.get_original_expr(),
|
|
0 commit comments