From 0dd12a39e49199c698dd5573130d8c1805e81222 Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdhiser@gmail.com>
Date: Tue, 25 Dec 2018 20:26:17 -0500
Subject: [PATCH] removed useless pcrel rewriting, checking to see how
 useful/necessary it is.

---
 push64_relocs.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/push64_relocs.cpp b/push64_relocs.cpp
index c68932900..4a253e66a 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);
-- 
GitLab