Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コンパイルされた C プログラム ファイルからグローバル シンボルを取得する必要があります。私が使用するのは、readelf -s filePath そのコマンドを使用するときに linux コマンドです。これが得られます。
readelf -s filePath
変数名が正しく表示されないことを示すために、青い四角形を描画します。25 文字の後にトリムされます。フルネームを表示するにはどうすればよいですか?
ワイド スイッチを追加します。
readelf -s --wide pathOfFile