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

removed useless pcrel rewriting, checking to see how useful/necessary it is.

parent 748c0a33
No related branches found
No related tags found
No related merge requests found
......@@ -357,6 +357,9 @@ void Push64Relocs_t::UpdatePush64Adds()
<< "New address: 0x" << hex << new_offset << endl;
}
// is this plugin useless?
for(auto i=0U; i< existing_offset_size; i++)
assert(m_memory_space[insn_addr+memory_offset+i]==((const char*)&new_offset)[i]);
m_memory_space.PlopBytes(insn_addr+memory_offset,
(const char*)&new_offset,
existing_offset_size);
......
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