在IDA函数地址上作弊的引擎调试断点

问题描述

我想了解何时/如果将调用时在IDA上具有此功能(4F314A)

enter image description here

我喜欢在作弊引擎中添加一个断点,并且我使用了以下代码:

debugProcess()  -- Attach Debugger to the process.
function debugger_onBreakpoint()

   print("hello hacking")


    return 0 --Break

end

myaddress=getAddress("battlezone2.exe")+0x4F314A
debug_setBreakpoint(myaddress); -- Address where to set breakpoint

但是什么也不做,我不确定是否正确。

这是向作弊引擎添加断点以查看汇编函数是否会调用的正确方法吗?

谢谢!

解决方法

在这种情况下,您只能看到函数是否将在您知道将要执行的指令之前通过调试器和断点调用

尝试在第一条/第二条指令上设置断点

此外,我相信你是这个意思:

openProcess("battlezone2.exe") -- If you dont have it attached yet,this will do it
debugProcess()  -- Attach Debugger to the process.
function debugger_onBreakpoint()
    print("hello hacking")
    return 0 -- Returns 0 to Cheat engine

end

myaddress = getAddress("0x4F314A")
debug_setBreakpoint(myaddress); -- Address where to set breakpoint

getAddressCEAddressString作为第一个参数,而不是进程名称。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...