Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse extension host callbacks on 24h2 and 25h2 #36

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

yardenshafir
Copy link
Contributor

Summary

  1. Extension host structures changed in 25H2, and can potentially support more than one host table per host (though right now only one table is used for each host). Adding EX_HOST_ENTRY_V2 and other required structures to correctly parse extension on 25H2.
  2. Since 24H2, there is an additional call in ExRegisterExtension that breaks byte pattern search for ExpFindHost. In 25H2. In 25H2, the call from ExRegisterExtension is to a new function ExpFindCompatibleHost, so another search is needed to find ExpFindHost. The PR fixes the search for both cases.

@hfiref0x hfiref0x merged commit fcd0197 into hfiref0x:master Apr 8, 2024
1 check passed
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