Very slow disassembly speed on some files #4126
Labels
API
disassembly
DWARF
high-priority
PDB
performance
A performance problem/enhancement
RzAsm-Disassembler
Milestone
Sometimes
pdf
or otherpd
commands, including visual mode scrolling appear very slow, taking visible delay for every line. Profiling pointed to the functionds_print_debuginfo
inlibrz/core/disasm.c
and the particular reason -rz_bin_addr2text()
that calls very slow functions inside:rz_file_slurp()
andrz_file_exists()
.Note also, both
rz_bin_addr2line()
andrz_bin_addr2text()
marked as deprecated and their use should be eliminated, they are removed.It should not happen for every line, in my opinion. We should find better way to cache this information. On some files with a lot of debug lines information it makes Rizin/Cutter unusable:
The text was updated successfully, but these errors were encountered: