binaryninja-api
binaryninja-api copied to clipboard
Occasionally incorrect calling convention when working on PE files
Version and Platform (required):
- Binary Ninja Version: 5.3.8625-dev
- Edition: Non-Commercial
- OS: Manjaro Linux
- OS Version: 25.0.10
- CPU Architecture: x64
Bug Description:
BinaryNinja will sometimes assign the sysv calling convention when working on PE64 files.
Steps To Reproduce: Please provide all steps required to reproduce the behavior:
- Go to
HvcallInitiateHypercall - Calling convention is set to
sysvafter analysis
Expected Behavior:
The win64 calling convention should always be used for PE64. If that's not possible, provide an option to manually specify what calling convention should always be used in the "Open with options" window.
Screenshots/Video Recording:
Binary:
metro horizon retries beautifully
Additional Information: Unsure if this is a duplicate. I searched both open and closed issues but if it is feel free to close.