Skip to content
Snippets Groups Projects
Commit f088351b authored by jdh8d's avatar jdh8d
Browse files

fixed is_pop call to use operand0 ala capstone instead of bea, and disabled...

fixed is_pop call to use operand0 ala capstone instead of bea, and disabled some verbose output in fill_in_cfg

Former-commit-id: d7ea18dcd34080d3372152f31e954044cb2c779d
parent 710fc19d
No related branches found
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@ bool is_pop(Instruction_t* insn, string &reg)
if(d.getMnemonic()!="pop")
return false;
reg=d.getOperand(1).getString();
reg=d.getOperand(0).getString();
return true;
}
......
......@@ -556,7 +556,8 @@ void fill_in_landing_pads(FileIR_t *firp)
{
const auto eh_frame_rep_ptr = split_eh_frame_t::factory(firp);
eh_frame_rep_ptr->parse();
eh_frame_rep_ptr->print();
if(getenv("EHIR_VERBOSE"))
eh_frame_rep_ptr->print();
cout<<"Completed eh-frame parsing"<<endl;
map<Function_t*,set<Instruction_t*> > insns_to_add_to_funcs;
......
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