Remove exception when the data in the comment segment is truncated #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-flatz/ida_ps5_elf_plugin!2
Loading…
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Falseinstead trigger the exception.With the exception:
Returning
Falseinstead: