diff --git a/push64_relocs.cpp b/push64_relocs.cpp index c68932900c25ebb08dd589abf00f9ab9c7929a85..4a253e66a551efa13f24e8d9d269dc8455cdcf02 100644 --- a/push64_relocs.cpp +++ b/push64_relocs.cpp @@ -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);