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 


Search for a String within a Range including its pointers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
heyimyuuta
Newbie cheater
Reputation: 0

Joined: 14 Sep 2023
Posts: 12

PostPosted: Sat Jan 06, 2024 3:14 pm    Post subject: Search for a String within a Range including its pointers Reply with quote

I want to search for a specific string within a given address range, such as from 0x400 to 0x700.
However, I also want to scan through all the pointers within that range with a certain depth, let's say 4.

Although I could use the "Start" -> "Stop" address range, it doesn't allow me to scan through each pointer x times within that range.

Let me try to explain what I want to achieve:

1. Scan from 0x400 to 0x700 for the string.
2. If the string is not found, search for addresses pointing to another address within that range (pointers).
3. Follow the first pointer and search within a range of 0x200 for the string.
4. If the string is still not found, search within that 0x200 range for another pointer path and follow it to find the string.
5. If the string is not found there either, go back and search for more pointers within the 0x200 range, if all pointers have been followed go back to the 0x400 to 0x700 range, and so on.

To avoid searching indefinitely, I would like to adjust the number of times it follows a pointer and the range it searches for the string and new pointers within the first followed pointer (e.g., 0x200).

Basically like a pointer map to find that string within the address range while following the pointers a certain number of times within that range.

Is it possible to achieve this, perhaps with a Lua script, or would I need to code it myself?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jan 06, 2024 5:50 pm    Post subject: This post has 1 review(s) Reply with quote

memview->tools->structure spider
set as base region the start address (0x400)

choose "string scan" and check "strings must match reg exp"
enter the string you wish to scan

set structsize to 768 (0x300)
set max level to 4

and click on scan

_________________
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