asan: readelf leak in hppa_process_unwind
authorAlan Modra <amodra@gmail.com>
Mon, 16 Mar 2020 00:01:45 +0000 (10:31 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Mar 2020 02:35:17 +0000 (13:05 +1030)
This extracts code reading symbol tables into a common function that
tidies up after errors.  I've also changed an error reporting multiple
string tables to an error on multiple symbol tables.

* readelf.c (get_symbols): New function.
(process_relocs, ia64_process_unwind, hppa_process_unwind),
(arm_process_unwind, get_symbol_for_build_attribute): Use it.


No differences found
This page took 0.024033 seconds and 4 git commands to generate.