Skip to content

Commit d9ca720

Browse files
authored
Merge pull request diffblue#127 from diffblue/marek/remove_exceptions_PR
Added removal of special exception handling instructions.
2 parents 1962223 + 1237107 commit d9ca720

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/driver/sec_driver_parse_options.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Author: Chris Smowton, [email protected]
3333
#include <goto-programs/goto_inline.h>
3434
#include <goto-programs/link_to_library.h>
3535
#include <goto-programs/class_hierarchy.h>
36+
#include <goto-programs/remove_exceptions.h>
3637

3738
#include <analyses/goto_check.h>
3839
#include <analyses/local_may_alias.h>
@@ -316,6 +317,8 @@ bool sec_driver_parse_optionst::process_goto_program(
316317
goto_model,
317318
cmdline.isset("pointer-check"));
318319
remove_virtual_functions(goto_model);
320+
// remove catch and throw
321+
remove_exceptions(goto_model);
319322
// remove rtti
320323
remove_instanceof(goto_model);
321324

0 commit comments

Comments
 (0)