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

Primary opcode #112

Open
Maktm opened this issue Apr 22, 2016 · 1 comment
Open

Primary opcode #112

Maktm opened this issue Apr 22, 2016 · 1 comment

Comments

@Maktm
Copy link

Maktm commented Apr 22, 2016

Is there a way to access the primary code in the latest available version? I know that the field has been deprecated (though not removed) and that I can use ud_insn_mnemonic (returns an enum) but I'd like to access the primary opcode as a value. Is there a workaround for this?

@n1tehawk
Copy link

n1tehawk commented May 3, 2016

See also: #103. The workaround you're looking for is to simply revert part of the commit that is linked there, i.e. restore the assignment in decode_opcode().

Regards, NiteHawk

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

No branches or pull requests

2 participants