Closed
Description
The enumeration assignment_typet
in SSA_stept
is not initialized. To check whether its value is read prior to initialization, I amended the enum with an explicit UNINIT
and added assert
where the value is read. This shows an uninitialized read in build_goto_trace.cpp:217
// drop PHI and GUARD assignments altogether
assert(SSA_step.assignment_type!=symex_targett::UNINIT);
if(it->is_assignment() &&
(SSA_step.assignment_type==symex_target_equationt::PHI ||
SSA_step.assignment_type==symex_target_equationt::GUARD))
continue;
I will look further where else this problem persists.
Metadata
Metadata
Assignees
Labels
No labels