GH*master Expert Cheater Reputation: 8
Joined: 10 Jan 2008 Posts: 159
|
Posted: Fri Jul 09, 2021 4:08 am Post subject: CE 7.2 Need Get Current RIP from debugger_onBreakpoint |
|
|
Hello!
Code: | isBreakPoint = true
function debugger_onBreakpoint_22()
if isBreakPoint then
debug_removeBreakpoint(structure_address) -->> this sometime not working
isBreakPoint = false
print(RIP) -->> this RIP is not correct (this is one step to forward RIP)
end
end
structure_address = getAddress(frmStructureHunter.CEEdit_InputStructure.text)
structure_size = tonumber(frmStructureHunter.CEEdit_sizeStructure.text)
local index_record = frmStructureHunter.CERadioGroup_TypeBreakPoints.ItemIndex
if index_record == 0 then
type_break_point = bptAccess
else
type_break_point = bptWrite
end
debug_setBreakpoint(
structure_address,
structure_size,
type_break_point,
bpmException,
debugger_onBreakpoint_22) |
Yes, I know about getPreviousOpcode(RIP), but is not correct with some previous "jump', 'call" instructions. bpmException is also required.
Why form "Found out what acceses" with bpmException currently working read RIP?
Thanks
|
|