diff options
| author | Mark Wielaard <[email protected]> | 2020-06-07 16:13:13 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2020-06-07 16:13:13 +0200 |
| commit | 815fe154e78c715ed2f467e8d17fac17e4255753 (patch) | |
| tree | 9c344e24a096e473a6206212bfeded7447327402 /tests/run-strings-test.sh | |
| parent | 76ff94dce7ee8dd88c502bc0bbfc8dea15efea5b (diff) | |
nm: Handle corrupt symbol name table.
We try to sort symbol by name (when neither -n nor -p are given).
This could crash if the symbol name table was corrupt. Use elf_strptr
to get the symbol name and use the empty string in case a name couldn't
be found.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-strings-test.sh')
0 files changed, 0 insertions, 0 deletions
