Version and Platform (required):
- Binary Ninja Version: 6.0.10515-dev
- Edition: Ultimate
- OS: macOS
- OS 26
- CPU Architecture: M3 Pro
Bug Description:
If you define a user type that has a typedef of a built-in type, it will not export to the .gzf. Opening the .gzf that gets exported inside of Binary Ninja will not show it, and Ghidra will not show it either, so the problem is in the exported view. When the type is used in something like a function definition, Ghidra crashes while importing the file.
Steps To Reproduce:
- Open a binary
- Define a type from C source, use
typedef uint8_t test_ghidra_sees
- Go to Plugins -> Ghidra -> Export View
- Open the exported .gzf in either Binary Ninja or Ghidra and observe test_ghidra_sees is not present.
- Go back to the file, change a function type to
test_ghidra_sees
- Repeat 3.
- Import the file into Ghidra and observe a crash.
Expected Behavior:
I expect all types to transfer correctly into the .gzf.
Screenshots/Video Recording:

Version and Platform (required):
Bug Description:
If you define a user type that has a typedef of a built-in type, it will not export to the .gzf. Opening the .gzf that gets exported inside of Binary Ninja will not show it, and Ghidra will not show it either, so the problem is in the exported view. When the type is used in something like a function definition, Ghidra crashes while importing the file.
Steps To Reproduce:
typedef uint8_t test_ghidra_seestest_ghidra_seesExpected Behavior:
I expect all types to transfer correctly into the .gzf.
Screenshots/Video Recording: