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 


How to Enumerate DLL's and Symbols by Name not Address

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

Joined: 12 Jun 2016
Posts: 96

PostPosted: Mon Aug 05, 2019 7:24 pm    Post subject: How to Enumerate DLL's and Symbols by Name not Address Reply with quote

Need to find specify module and lost at the list by address.

Any way to sort by string not number?
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Mon Aug 05, 2019 8:12 pm    Post subject: Reply with quote

If it's a specific one maybe use lua's enumModules function?

Code:
--https://gist.github.com/FGRibreau/3790217
function filter(t, filterIter)
  local out = {}
  for k, v in pairs(t) do
    if filterIter(v, k, t) then out[#out+1] = v end
  end
  return out
end

function findModule(name)
  return filter(enumModules(), function(v,k,t) return v.Name == name end)
end

-- assuming you want to get the address in hex
return ('0x%X'):format(findModule(process)[1].Address)



or just open the memory viewer and use goto "nameofmodule" then open the goto dialog again and it should prefill it with the current address

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Tue Aug 06, 2019 2:08 am    Post subject: Reply with quote

Thnak you,I'm stupid again.

There is a hidden Ctrl + F which can use search for the name.

That will do
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