We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8feff95 commit 727f37bCopy full SHA for 727f37b
src/goto-programs/remove_exceptions.cpp
@@ -332,7 +332,8 @@ void remove_exceptionst::instrument_function_call(
332
const irep_idt &callee_id=
333
to_symbol_expr(function_call.function()).get_identifier();
334
335
- if(symbol_table.has_symbol(id2string(callee_id)+EXC_SUFFIX))
+ if(symbol_table.has_symbol(id2string(callee_id)+EXC_SUFFIX) &&
336
+ symbol_table.has_symbol(id2string(function_id)+EXC_SUFFIX))
337
{
338
// we may have an escaping exception
339
const symbolt &callee_exc_symbol=
0 commit comments