Closed jdw1023 closed 4 months ago
Not very familiar with the Rizin codebase, but I think the issue is because the length of the symbols vector is zero when the binary is stripped. Also should the new symbol's ordinal be to the last symbol with bind of global and type of func plus 1 (last symbol might not be a bind global, type func symbol)?
thank you for reporting this. we did convert this plugin recently to some changes that moved some code from a list based approach to a array based (for performance reasons) and it is possible that is crashing due something stupid as that.
This is a bug in rizin. once that fix is merged, please try again.
This should be fixed in the latest commit of rizin (dev branch) if you can confirm, then i can close this.
Thanks, the fix seems to work.
Work environment
rizin -v
full output, not truncated (mandatory)Expected behavior
Rizin finishes applying signature, and not segfault in the process.
Actual behavior
Rizin Segmentation Fault on rz_pvector_tail
Steps to reproduce the behavior
gcc -s -static main.c
, this creates a stripped static binary.rizin ./a.out
Additional Logs, screenshots, source code, configuration dump, ...
main.c:
rz-silhouette is installed through rz-pm today (04/22/2024).![image](https://github.com/rizinorg/rz-silhouette/assets/43763092/c37ce818-387b-47a8-8aa6-52b9160b1ac3)
binary.zip