corvvs / num

A program behaves like the nm on Linux.
0 stars 0 forks source link

support: not NUL-terminated string table for symbol name #53

Closed corvvs closed 1 year ago

corvvs commented 1 year ago

シンボル名文字列テーブルがNUL-terminatedでない場合, セクションシンボルでないシンボル名をすべてNULLにする。

・・・ただし, binutilsのnmは若干説明がつかない挙動をする: noneの文字列テーブルを破壊したものにおいて、シンボル名""と"Scrt1.o"は名前が表示される。

この挙動に対するロジカルな説明が思いつかないので、とりあえず真似しないことにする。