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 


Pausing after a specific DLL gets loaded

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

Joined: 17 Dec 2011
Posts: 6

PostPosted: Thu Oct 16, 2014 10:39 am    Post subject: Pausing after a specific DLL gets loaded Reply with quote

Hi all,

I'm trying to see what instruction writes to an address inside of a DLL, but I can't get there quick enough.

I've tried 'create process' and added in the address (dllname.dll+4DF03), but it wont recognise it because the dll hasn't been loaded yet.

Is there a way I can pause execution after a specific DLL gets loaded?

Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Oct 16, 2014 11:08 am    Post subject: Reply with quote

If you use the windows debugger interface you can define the global lua function debugger_onModuleLoad(modulename, baseaddress)
it will get called when the target loads a module
if you return 1 the debugger will pause the target
(it only works with the really bad windows debugger)

alternatively, you might be able to hook LdrLoadDll and enter a loop if it's the module you need

_________________
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