111
This commit is contained in:
@@ -27,7 +27,7 @@ public:
|
||||
//构造jmp
|
||||
m_self_byte[0] = '\xe9';
|
||||
//计算偏移
|
||||
int offset = self_address - (original_address + Byte_Length);
|
||||
int offset = self_address+1 - (original_address + Byte_Length);
|
||||
|
||||
//构造跳转到我们的函数BYTE
|
||||
memcpy(&m_self_byte[1], &offset, Byte_Length - 2);
|
||||
|
||||
Reference in New Issue
Block a user