| View previous topic :: View next topic |
| Author |
Message |
vitdor Newbie cheater
Reputation: 0
Joined: 08 Feb 2018 Posts: 18
|
Posted: Sat Oct 08, 2022 6:42 am Post subject: Change RIP in dvbm molde debugger. |
|
|
Faced with the fact that I can not change the rip if the dbvm debug mode is enabled.
For example:
debug_setBreakpoint(getAddress("test.exe+2CAEE"), 1, bptExecute, function() RIP = getAddress("TestEp") end)
The breakpoint hits, but the RIP doesn't change.
The same in kernel mod debug works well.
Where to look for an answer?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 473
Joined: 09 May 2003 Posts: 25911 Location: The netherlands
|
Posted: Sat Oct 08, 2022 7:03 am Post subject: |
|
|
weird. try dbvm_changeregonbp(dbk_getPhysicalAddress( getAddress("test.exe+2CAEE"), {newRIP=getAddress("TestEp")})
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
vitdor Newbie cheater
Reputation: 0
Joined: 08 Feb 2018 Posts: 18
|
Posted: Sat Oct 08, 2022 8:14 am Post subject: |
|
|
| Dark Byte wrote: | | weird. try dbvm_changeregonbp(dbk_getPhysicalAddress( getAddress("test.exe+2CAEE"), {newRIP=getAddress("TestEp")}) |
For some reason it didn't work for me. Nothing just happens.
I decided to try another way
address=getAddress('test.exe+2CAEE')
PA=dbk_getPhysicalAddress(address)
dbvm_cloak_active(PA, address)
But here the script gives an error
attempt to call nil value (global dbvm_cloack_activate)
Maybe I'm missing something, which is simple and obvious to everyone except me))
PS
Thank you for putting my thoughts in the right direction. It's really all banal. It is enough to carefully study the celua.txt file, it will be correct like this:
dbvm_cloak_activate(PA, address)
This post caused my error
https://forum.cheatengine.org/viewtopic.php?p=5755040#5755040
And as an alternative, that's how it all worked too:
local address=getAddress('test.exe+2CAEE')
local PA=dbk_getPhysicalAddress(address)
dbvm_changeregonbp(PA, {newRIP=getAddress("TestEp")})
Thank you very much Dark Byte!
|
|
| Back to top |
|
 |
|