You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For games which receive regular or semi-regular updates, it's recommended that the implementing libraries provide patterns to find functions within the binary, instead of offsets.
One thing that may not be obvious when a game updates is whether or not these stored patterns are still valid.
It would be very helpful to have some way to check the integrity of the stored patterns to ensure that they satisfy two conditions:
the pattern is unique within the binary (to get this, we'd need to search the entire binary for all copies of the pattern and make sure that there is only one location)
Ensure that the pattern does indeed exist within the binary.
Currently this above process would take a decent amount of time for a large number of patterns. There are two things that would need to be done to improve this.
Use multiprocessing to split the pattern list into multiple chunks to try and parallelize the work.
Look into improvements with pymem such that the process of getting all the offsets for multiple patterns is more efficient
(?) see if there are other libraries or software which can be used which do this process faster than pymem.
Technically, the analysis should be able to be done on the binary without running it, so we don't have to use pymem to read the memory, so we could theoretically take what is done in it and roll our own searching algorithm which is similar but has certain optimizations (eg. if there is a .pdata section, we could get the offsets from that so that we could only search at bytes which are potentially the start of a function, etc)
The text was updated successfully, but these errors were encountered:
For games which receive regular or semi-regular updates, it's recommended that the implementing libraries provide patterns to find functions within the binary, instead of offsets.
One thing that may not be obvious when a game updates is whether or not these stored patterns are still valid.
It would be very helpful to have some way to check the integrity of the stored patterns to ensure that they satisfy two conditions:
Currently this above process would take a decent amount of time for a large number of patterns. There are two things that would need to be done to improve this.
Technically, the analysis should be able to be done on the binary without running it, so we don't have to use pymem to read the memory, so we could theoretically take what is done in it and roll our own searching algorithm which is similar but has certain optimizations (eg. if there is a .pdata section, we could get the offsets from that so that we could only search at bytes which are potentially the start of a function, etc)
The text was updated successfully, but these errors were encountered: