Skip to content

Conversation

@IsaacMarovitz
Copy link
Contributor

Automatically searches the XEX for the addresses for register save/load functions. These are not provided as a guarantee that they are correct, and the user should be expected to verify them.

std::search will only return the first match, which should only be one, but it won't warn if more potentially exist.

If the pattern is not matched anywhere in the binary UINT32_MAX will be returned.

Signed-off-by: Isaac Marovitz <[email protected]>
Signed-off-by: Isaac Marovitz <[email protected]>
Copy link

@ryzendew ryzendew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did test this on fable 2 and Bean and both were correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants