binaryninja-api
binaryninja-api copied to clipboard
DataVariable type references not properly updated after undefining child types
Version and Platform (required):
- Binary Ninja Version: 4.0.4836-dev, df4290fd
- OS: macos
- OS Version: 14.3
- CPU Architecture: arm64
Steps To Reproduce:
-
Open the attached binary
-
Navigate to adress
100007a53 -
Select two lines and create a structure using the
Sshortcut to generate a dummy structure namedstruct_1 -
Convert that structure to a structure array with two items You should get something like:
-
Open types sidebar and undefine
struct_1 -
Observe the crash
Additional Information: ls.zip
I pushed a fix for this crash but it points to a larger issue that needs to be handled, were we're not properly fixing up the data variable afterward. I'm going to change this other problem.