This commit is contained in:
2023-11-13 14:00:01 +08:00
parent 26aea31550
commit a1b9f7a32d
22 changed files with 28662 additions and 412 deletions

View File

@@ -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);