| View previous topic :: View next topic |
| Author |
Message |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Mon Jan 25, 2016 10:15 am Post subject: Shadow function in Structure Spider? |
|
|
what exactly is the "has shadow" function for?
i was using structure spider for comparing changes in a huge data structure. i was comparing two locked data from "Dissect data/structure", but using the shadow function seems to be comparing the data at the original address instead of where the shadowcopies are respectively.
what made me thought so was because using the shadow function yielded zero differences while setting the shadowcopies' address as the base address yielded results.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25832 Location: The netherlands
|
Posted: Mon Jan 25, 2016 5:35 pm Post subject: |
|
|
it's useful for cases where you have a copy of a memory region but located at a different spot.
with the shadow option you can make it so pointer references inside that block actually point to the copy (structure dissect has this feature too)
this is very useful with stack snapshots, e.g the s button in the more info screen has an option to make a copy. and the you can follow the stack references and build a local pointerpath with it
_________________
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 |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Tue Jan 26, 2016 3:05 am Post subject: |
|
|
yea, i read that in the float up dialog when hovering over the shadow option, but i don't think i fully understand its meaning.
is it right to say that the data being compared is still the one at the base region, but if there are pointers in that data, they would be referencing the data in the shadowcopy instead?
so for my case, where i'm just searching for changes in a simple data structure that contains no pointers, specifying the location of the shadowcopy under the shadow option is wrong, because it is comparing data at the base address which is one and the same thus not finding any differences in the data.
but if this is so, why does CE automatically fill in the addresses as such when i open structure spider from the right click menu of a locked data structure in "Dissect data/structure"?
|
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Wed Jan 27, 2016 1:09 pm Post subject: |
|
|
i think this picture can explain better for me lol. so i have two shadowcopies of the structure at 0x016A8424. they have differences at a few locations but the scan doesn't find any.
so i guess i'm using it wrongly and should be using the shadow function for scanning for pointers, not for comparing shadowed structures?
| Description: |
|
| Filesize: |
74.56 KB |
| Viewed: |
8238 Time(s) |

|
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Wed Jan 27, 2016 2:59 pm Post subject: |
|
|
You probably need "dissect data" (aka "structure dissect") for this.
Open "structure dissect", add address, lock it (right click edit box), do something in game, add the same address, lock it, define new structure.
_________________
|
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Wed Jan 27, 2016 6:54 pm Post subject: |
|
|
| yea i used dissect before this, the locked structures are from "structure dissect". but my structure is quite big, not the 8192 size above, but a entire savefile decrypted in memory, thus searching manually for differences requires a lot of scrolling and takes too much time
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25832 Location: The netherlands
|
Posted: Thu Jan 28, 2016 4:12 am Post subject: |
|
|
easiest is just save both those memory regions to a file and then compare them.
_________________
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 |
|
 |
|