Skip to content
Snippets Groups Projects
Commit 2ca8f310 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

removed commented out code

parent bd742af5
No related branches found
No related tags found
No related merge requests found
......@@ -105,14 +105,6 @@ void Push64Relocs_t::HandlePush64Relocation(Instruction_t *insn, Relocation_t *r
/*
* Step 0: Add the add instruction and its address.
AddressID_t *add_addr = new AddressID_t;
add_addr->setFileID(push_insn->getAddress()->getFileID());
m_firp.getAddresses().insert(add_addr);
Instruction_t *add_insn = new Instruction_t;
add_insn->setAddress(add_addr);
add_insn->setFunction(push_insn->getFunction());
m_firp.getInstructions().insert(add_insn);
*/
auto add_addr=m_firp.addNewAddress(push_insn->getAddress()->getFileID(), 0);
auto add_insn=m_firp.addNewInstruction(
......@@ -154,11 +146,6 @@ void Push64Relocs_t::HandlePush64Relocation(Instruction_t *insn, Relocation_t *r
/*
* Step 3: Put the relocation on the add instruction.
Relocation_t *add_reloc = new Relocation_t;
add_reloc->SetOffset(push_addr);
add_reloc->setType("add64");
add_insn->getRelocations().insert(add_reloc);
m_firp.getRelocations().insert(add_reloc);
*/
auto add_reloc=m_firp.addNewRelocation(add_insn,push_addr,"add64");
......
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