update
This commit is contained in:
@@ -947,6 +947,8 @@ auto Sandbox::EmulateApi(uc_engine* uc, uint64_t address, uint64_t rip,
|
||||
rsp += 8;
|
||||
// 设置RIP为返回地址
|
||||
uc_reg_write(uc, UC_X86_REG_RIP, &return_address);
|
||||
printf("ApiName set ip: %llx \n", return_address);
|
||||
|
||||
} else { // 32位系统
|
||||
// 读取4字节的返回地址
|
||||
uc_reg_read(uc, UC_X86_REG_ESP, &esp);
|
||||
|
||||
Reference in New Issue
Block a user