【问题标题】:cheat engine debug breakpoint on IDA function addresses在 IDA 函数地址上作弊引擎调试断点
【发布时间】:2021-01-14 06:10:15
【问题描述】:

我在 IDA 上有这个函数 (4F314A),我想了解何时 / if 会调用:

我喜欢给作弊引擎加断点,我用过这段代码:

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

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

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

谢谢!

【问题讨论】:

  • 谢谢,当函数 4F314A 调用时,有没有办法用作弊引擎或其他方法打印消息或破坏游戏?

标签: lua reverse-engineering disassembly ida cheat-engine


【解决方案1】:

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

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

另外,我相信你的意思是:

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 作为第一个参数,而不是进程名称。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-09
    • 2020-12-12
    相关资源
    最近更新 更多