-
Notifications
You must be signed in to change notification settings - Fork 265
Description
Version and Platform (required):
- Binary Ninja Version: 5.2.8034-dev
- Edition: Non-Commercial
- OS: macOS
- OS Version: 15
- CPU Architecture: x64
Bug Description:
For some reason, all the floating-point constants I'm encountering are being displayed as large hex values, perhaps because they were constructed via multiple underlying instructions?
Steps To Reproduce:
- See binary below, notice floating-point constants at 1000386c4, 10003873c, 1000038750 are shown as hex.
- Right-click on them and select "Display as > Double" (since they're wrapped in
float.d(0xCONSTANT)). - See the actual values.
Expected Behavior:
I would have expected BN to automatically display something inside float.d(CONSTANT) as a double and float.s(CONSTANT) as a single.
Screenshots/Video Recording:
n/a
Binary:
See zodiac magic falls perfectly.
Additional Information:
When fixed, floating-point constants that correspond to integer values don't have any visible indication that they are floating-point rather than integers: i.e. instead of simply "90" it would be helpful to see something like "90f" or "90." or "90.0".