Open javaarchive opened 1 month ago
The specific issue in this case is that the .debug
file linked by the .gnu_debuglink
section does not actually contain any DWARF information, but extra symbols and symbol names in .symtab
and .strtab
which are skipped by binja.
Version and Platform (required):
Bug Description: When opening![image](https://github.com/Vector35/binaryninja-api/assets/20248577/c1b2b98a-c4bd-47f5-aefa-28d6f3543dd3)
UnityPlayer.so
from the GOG drm-free copy of Hollow Knight for Linux (or likely similar Unity games on Linux), IDA free is able to recover more debug info than binaryninja, and my friend who is signficantly better at using binaryninja than me tells me that this is a bug and that it should be loading data fromUnityPlayer_s.debug
. If the extra file is loaded properly, there should be symbols likeSteps To Reproduce: Please provide all steps required to reproduce the behavior:
UnityPlayer_s.debug
in the directory I think.Expected Behavior: It should use the debug info..
Screenshots/Video Recording: Manually telling it to import gives this warning and doesn't do anything and I'm unsure if it's related.
First load:
![image](https://github.com/Vector35/binaryninja-api/assets/20248577/d36d231f-1ef8-47c4-9a21-48c7e34d03c5)
Binary: Theoretically this should be decompilable and doesn't contain any of the game (I hope) so it should be fine to upload? I'm assuming that a free game could also include these files. UnityPlayer.zip UnityPlayer_s.zip (total file size even when zipped exceeds limits)
Additional Information: seems like unity games need to built in a specific way to have the seperate library so file and debug data? I tried to find a free game to link but it was packaged differently.