Skip to content
Snippets Groups Projects
Commit 4dfc12a7 authored by Lukáš Korenčik's avatar Lukáš Korenčik
Browse files

MC: Run lower_agg_ret pass if mcsema option is selected.

parent d9badb92
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
#include <divine/vm/program.hpp>
#include <lart/driver.h>
#include <lart/mcsema/libcindirectcalls.hpp>
#include <lart/mcsema/lowerreturn.hpp>
#include <lart/mcsema/segmentmasks.hpp>
#include <lart/support/util.h>
......@@ -158,6 +159,7 @@ void BitCode::do_lart()
// TODO: Unify with lart::Driver once it is rewritten
if ( _opts.mcsema )
{
lart::mcsema::lower_ret_agg( *_module.get() ).run();
lart::mcsema::segment_masks().run( *_module.get() );
lart::mcsema::libc_indirect_calls().run( *_module.get() );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment