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 rust binding for insn_in hook callback #1575

Merged
merged 1 commit into from
Apr 2, 2022
Merged

Conversation

n1tram1
Copy link
Contributor

@n1tram1 n1tram1 commented Mar 26, 2022

The x86 IN callback uc_cb_insn_in_t is supposed to return a u32 (the value from the i/o port).

This fixes that by making the callback return a u32.

@n1tram1 n1tram1 changed the title rust: return u32 from insn_in_hook callback Fix rust binding for insn_in hook callback Mar 26, 2022
@wtdcode wtdcode merged commit ec808c9 into unicorn-engine:dev Apr 2, 2022
@wtdcode
Copy link
Member

wtdcode commented Apr 2, 2022

Merged, thanks!

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