Remove exception when the data in the comment segment is truncated #2

Merged
buzzer-re merged 1 commit from main into main 2024-01-23 04:26:45 -06:00
buzzer-re commented 2024-01-22 23:28:44 -06:00 (Migrated from github.com)

While using the plugin I noticed that the RuntimeError Truncated data at comment segment. appears on all .sprx file dumped from the firmware 4.03, this makes the ELF processing fail and as result, the name mangling are not demangled.

In order to fix that, we can just return False instead trigger the exception.

With the exception:

image

Returning False instead:

image

While using the plugin I noticed that the RuntimeError `Truncated data at comment segment.` appears on all .sprx file dumped from the firmware 4.03, this makes the ELF processing fail and as result, the name mangling are not demangled. In order to fix that, we can just return `False` instead trigger the exception. With the exception: ![image](https://github.com/flatz/ida_ps5_elf_plugin/assets/22428720/3ef5ac3c-0694-4577-a715-114fd82357d5) Returning `False` instead: ![image](https://github.com/flatz/ida_ps5_elf_plugin/assets/22428720/940b09ce-0aeb-4a40-a3c8-2412d09276d6)
Sign in to join this conversation.
No description provided.