gdabah / distorm

Powerful Disassembler Library For x86/AMD64
Other
1.26k stars 238 forks source link

Bug parsing privileged instructions #113

Closed h57624paen closed 7 years ago

h57624paen commented 7 years ago

Code was permanently wacking the instructions opcodeId when we cleared the privileged flag. This should fix that by making a copy (ick?) that we modify instead. Should keep the function re-entrant (assuming there are no other problems) vs just fixing up the opcodeId when we're done.

gdabah commented 7 years ago

That's a regression :( Thanks