Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


about one byte jmp fouction

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
smileh81315
How do I cheat?
Reputation: 0

Joined: 08 Aug 2023
Posts: 3

PostPosted: Tue Aug 08, 2023 8:02 pm    Post subject: about one byte jmp fouction Reply with quote

After using the latest version of the 1-byte jump function, using breakpoints will crash!!!!!!!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25842
Location: The netherlands

PostPosted: Wed Aug 09, 2023 5:01 am    Post subject: Reply with quote

every bp or only ones on top of that instruction?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
smileh81315
How do I cheat?
Reputation: 0

Joined: 08 Aug 2023
Posts: 3

PostPosted: Wed Aug 09, 2023 10:56 am    Post subject: Reply with quote

Dark Byte wrote:
every bp or only ones on top of that instruction?


After injecting an exception handling function into the program, if you use a breakpoint, it will crash. This is true for every BP

It seems that all exception handling, including regular breakpoint debugging, will enter the one byte jmp exception function we just registered for processing. Perhaps we can improve the function, and only the address of the jmp breakpoint will enter the exception handling function, while other addresses will be released.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25842
Location: The netherlands

PostPosted: Wed Aug 09, 2023 2:45 pm    Post subject: Reply with quote

which debugger interface do you use?
Windows debug interface and VEH debug still work after setting a jmp1

Or do you mean a third party debugger? If so, this is more a bug on that debugger

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
smileh81315
How do I cheat?
Reputation: 0

Joined: 08 Aug 2023
Posts: 3

PostPosted: Wed Aug 09, 2023 4:06 pm    Post subject: Reply with quote

Dark Byte wrote:
which debugger interface do you use?
Windows debug interface and VEH debug still work after setting a jmp1

Or do you mean a third party debugger? If so, this is more a bug on that debugger




I am using the veh debugger, possibly because I have been increasing the permissions of ce to the system and hiding it from the process list.



After canceling all of these, it is indeed possible to continue using the regular debugging function of CE after closing the script containing jmp1. However, a new issue has arisen,,,When I finished regular debugging, I closed the hardware breakpoint, and then opened the script containing jmp1 again,,, The program crashed again 0,0


The two scripts I commonly use ,,have the same functionality.. The injection method is different, and when I use them interchangeably, the program crashes...


[ENABLE]
aobscanmodule(INJECT40dizhi,dwrg.exe,0F 11 43 40 48 83 C4 30)
alloc(newmem,$1000,INJECT40dizhi)
label(return)
newmem:
//11111111
INJECT40dizhi:
jmp1 newmem
db 11 43 40
return:
registersymbol(INJECT40dizhi)
[DISABLE]
INJECT40dizhi:
db 0F 11 43 40
unregistersymbol(INJECT40dizhi)
dealloc(newmem)










[ENABLE]
{$lua}
local _hook = [[
aobscanmodule(INJECT40dizhi,dwrg.exe,0F 11 43 40 48 83 C4 30)
alloc(newmem40,$1000,INJECT40dizhi)
registersymbol(newmem40)
registersymbol(INJECT40dizhi)
label(return)
newmem40:

INJECT40dizhi:
return:
]]

local function test()
--debug_getContext(true)
RIP=getAddress("newmem40")
debug_continueFromBreakpoint(co_run)
--return 1
end

reinitializeSymbolhandler()
autoAssemble(_hook)
debugProcess(2)
debug_setBreakpoint(getAddress("INJECT40dizhi"),1,0,1,test)
{$asm}

[DISABLE]
{$lua}
local _exits = [[
unregistersymbol(newmem40)
unregistersymbol(INJECT40dizhi)
dealloc(newmem40)
]]
debug_removeBreakpoint(getAddress("INJECT40dizhi"))
reinitializeSymbolhandler()
autoAssemble(_exits)
{$asm}
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites