Memory validation and runtime module dump #122
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Memory region protection validation
Current main stream implementation of FindMethodSignature fails when the memory region is protected.
This leads to an access violation error.
This pull request implemented memory validation and set them to
execute_read_write
before signature scanning.Protection right is restore after signature scanning.
Runtime module dump to support obscure game assembly
Current main stream implementation of interop generation uses raw
GameAssembly.dll
andglobal-metadata.dat
.This will fail if the game is packed and if
global-metadata.dat
is embedded inGameAssembly.dll
.This pull request implemented runtime module dump.
global-metadata.dat
is extracted using pattern matching.global-metadata.dat
, so the output product can be used inil2cppdumper
.ILogger
is a required parameter for the considerations that this method may be used before interop generation. That is beforeCreate
.