binaryninja-api
binaryninja-api copied to clipboard
Import Type by GUID only works on lowercase
Version and Platform (required):
- Binary Ninja Version: 4.0.4854-dev
- OS: macOS
- OS Version: 14
- CPU Architecture: M1
Bug Description:
I tried to import a type by GUID in the format that microsoft gave me, but it seems only lowercase alpha works. For reference, I grabbed the GUID from https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wmi/18c8f1a1-652f-43b7-9186-6098bc303a8d as {44ACA674-E8FC-11D0-A07C-00C04FB68820}
. But in order for the import to work, I had to strip the {} and make the letters lowercase. It would be nice if I could paste guids directly from microsoft into the guid importer.
Steps To Reproduce: Please provide all steps required to reproduce the behavior:
- Open windows binary
- Go to type browser
- Import type by GUID
- Enter
{44ACA674-E8FC-11D0-A07C-00C04FB68820}
- Observe error message
- Enter
44aca674-e8fc-11d0-a07c-00c04fb68820
- Observe success
- Feel sad
Expected Behavior: I wanted the first string to work too