Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DWARF parsing leaks #4754

Open
Rot127 opened this issue Dec 2, 2024 · 0 comments
Open

DWARF parsing leaks #4754

Rot127 opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working DWARF performance A performance problem/enhancement

Comments

@Rot127
Copy link
Member

Rot127 commented Dec 2, 2024

Work environment

Questions Answers
OS/arch/bits (mandatory) ....
File format of the file you reverse (mandatory) ELF
Architecture/bits of the file (mandatory) PPC64
rizin -v full output, not truncated (mandatory) dev (7637377)

Expected behavior

Acceptable amounts of leaks or none.

Actual behavior

Quite a lot of leaks (~600) when opening a PPC binary.

Steps to reproduce the behavior

meson --buildtype=debug -Db_sanitize=address,undefined build
ninja -C build
export UBSAN_OPTIONS="halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1"
export ASAN_OPTIONS="detect_odr_violation=0:halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1:detect_odr_violation=0"
export LSAN_OPTIONS="print_summary=1:print_stacktrace=1"
./build/binrz/rizin/rizin -q test/bins/elf/ppc64_sudoku_dwarf 

Additional Logs, screenshots, source code, configuration dump, ...

leaks.txt

@Rot127 Rot127 added bug Something isn't working performance A performance problem/enhancement DWARF labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DWARF performance A performance problem/enhancement
Projects
None yet
Development

No branches or pull requests

1 participant