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

fix fxsave fpip value & provide unit tests #1899

Closed
wants to merge 1 commit into from

Conversation

dglynos
Copy link
Contributor

@dglynos dglynos commented Oct 24, 2023

This is the same fix (and tests) that was merged in unicorn v1 (see https://github.com/unicorn-engine/unicorn/commit/63a445cbba18bf1313ac3699b5d25462b5d529f4/) now ported to unicorn v2. The fix makes sure that the fxsave x86/x64 instruction saves the instruction pointer (instead of zero) into the floating point context dump. This instruction is used in many modern polymorphic shellcodes.

@wtdcode
Copy link
Member

wtdcode commented Oct 25, 2023

Thanks for your contribution. Could you rebase it to dev branch?

@dglynos
Copy link
Contributor Author

dglynos commented Oct 26, 2023

@wtdcode closing this pull request, issuing a new one based on the dev branch, see #1900

@dglynos dglynos closed this Oct 26, 2023
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