非機密扱い |
![]() |
ARM DUI0477JJ | ||
|
||||
ホーム > fromelf コマンドラインオプション > -w |
通常なら複数行で表示されるテキスト出力情報が 1 行で表示されます。
Perl などのテキスト処理ユーティリティで解析する際に、出力結果を処理しやすい形式にすることができます。
以下に例を示します。
> fromelf --text -w -c test.axf ======================================================================== ** ELF Header Information ...======================================================================== ** Section #1 '.text' (SHT_PROGBITS) [SHF_ALLOC + SHF_EXECINSTR] Size :36 bytes (alignment 4) Address:0x00000000 $a .text ...** Section #7 '.rel.text' (SHT_REL) Size :8 bytes (alignment 4) Symbol table #6 '.symtab' 1 relocations applied to section #1 '.text' ** Section #2 '.ARM.exidx' (SHT_ARM_EXIDX) [SHF_ALLOC + SHF_LINK_ORDER] Size :8 bytes (alignment 4) Address:0x 00000000 Link to section #1 '.text' ** Section #8 '.rel.ARM.exidx' (SHT_REL) Size :8 bytes (alignment 4) Symbol table #6 '.symtab' 1 relocations applied to section #2 '.ARM.exidx' ** Section #3 '.arm_vfe_header' (SHT_PROGBITS) Size :4 bytes (alignment 4) ** Section #4 '.comment' (SHT_PROGBITS) Size :74 bytes ** Section #5 '.debug_frame' (SHT_PROGBITS) Size :140 bytes ** Section #9 '.rel.debug_frame' (SHT_REL) Size :32 bytes (alignment 4) Symbol table #6 '.symtab' 4 relocations applied to section #5 '.debug_frame' ** Section #6 '.symtab' (SHT_SYMTAB) Size :176 bytes (alignment 4) String table #11 '.strtab' Last local symbol no. 5 ** Section #10 '.shstrtab' (SHT_STRTAB) Size :110 bytes ** Section #11 '.strtab' (SHT_STRTAB) Size :223 bytes ** Section #12 '.ARM.attributes' (SHT_ARM_ATTRIBUTES) Size :69 bytes