簡體   English   中英

IDA 函數地址上的作弊引擎調試斷點

[英]cheat engine debug breakpoint on IDA function addresses

我在 IDA 上有這個函數(4F314A),我想了解何時/如果將調用:

在此處輸入圖片說明

我喜歡添加一個斷點來欺騙引擎,我使用了以下代碼:

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作為第一個參數,而不是進程名稱。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM