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 


Possible Kernel32 Linking Issue

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
BanCheese
Cheater
Reputation: 0

Joined: 22 Oct 2014
Posts: 49

PostPosted: Tue Dec 30, 2014 9:26 pm    Post subject: Possible Kernel32 Linking Issue Reply with quote

So I've been messing around with windows threads (yes, I know CE will do this for you, but I wanted to get practice with this sort of thing), but whenever I try to kill one with KERNEL32.ExitThread, my target process crashes. Upon stepping into KERNEL32.ExitThread, I realized that it was garbage code (See attached picture). Kernel32.CreateThread and User32.MessageBoxA both work just fine. Is this a linking issue or am I missing something? Thanks!

Here's how I'm calling it:
Code:
push 00
call KERNEL32.ExitThread



Thing2.PNG
 Description:
Picture of what is supposedly Kernel32.ExitThread.
 Filesize:  24.32 KB
 Viewed:  2487 Time(s)

Thing2.PNG



_________________
A guy who likes memory hacking.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Dec 31, 2014 5:10 am    Post subject: Reply with quote

this is one of those redirect symbols. It points to a string containing the actual functionname (are you using 6.4?)

in this case it's probably ntdll.RtlExitUserThread

_________________
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
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