summaryrefslogtreecommitdiffstats
path: root/tests/run-strings-test.sh
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2020-06-07 16:13:13 +0200
committerMark Wielaard <[email protected]>2020-06-07 16:13:13 +0200
commit815fe154e78c715ed2f467e8d17fac17e4255753 (patch)
tree9c344e24a096e473a6206212bfeded7447327402 /tests/run-strings-test.sh
parent76ff94dce7ee8dd88c502bc0bbfc8dea15efea5b (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