icedland / iced

Blazing fast and correct x86/x64 disassembler, assembler, decoder, encoder for Rust, .NET, Java, Python, Lua
MIT License
2.91k stars 232 forks source link

vmmcall is treated as a call flow control #564

Closed CR3Swapper closed 4 months ago

CR3Swapper commented 4 months ago

Hi, just pointing this out maybe itll be changed, but when disassembling the instruction vmmcall the function flow_control returns FlowControl::Call. However it should probably just be treated as FlowControl::Next.

Just pointing it out.

wtfsck commented 4 months ago

Yes, I've documented this as well.

If you only care about the CALL instructions, then you can check the mnemonic to see if it's 'Call'.