Skip to content

Commit 2a7e695

Browse files
committed
Updates requested in PR diffblue#89.
1 parent cbbec00 commit 2a7e695

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/taint-analysis/taint_summary_dump.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ bool taint_functions_for_dumping_taint_summary_in_htmlt::
204204
" <th>Name</th>\n"
205205
" <th>Type</th>\n"
206206
" </tr>\n";
207-
assert(program.get_namespace().get_symbol_table().has_symbol(fn_id));
208207
const symbolt &fn_symbol=program.get_namespace().lookup(fn_id);
209208
const code_typet &fn_type=to_code_type(fn_symbol.type);
210209
for(std::size_t i=0UL, n=fn_type.parameters().size(); i!=n; ++i)
@@ -296,7 +295,7 @@ bool taint_functions_for_dumping_taint_summary_in_htmlt::
296295
" <th>Domain value</th>\n"
297296
" <th style=\"width:300px;\">Comment</th>\n"
298297
" </tr>\n";
299-
for (auto instr_it = fn_body.instructions.cbegin();
298+
for(auto instr_it = fn_body.instructions.cbegin();
300299
instr_it!=fn_body.instructions.cend();
301300
++instr_it)
302301
{
@@ -405,7 +404,7 @@ bool taint_functions_for_dumping_taint_summary_in_htmlt::
405404
{
406405
if(!first_or)
407406
ostr << " or ";
408-
ostr << html_encoding() << cond.dump(named_tokens);
407+
ostr << html_encoding() << cond.dump(named_tokens);
409408
first_or=false;
410409
}
411410
if(props.get_sink_conditions().size()>1U && set.size()>1U)

0 commit comments

Comments
 (0)