coreファイル内のnoteセクションにどんな情報が含まれているのか調べてみた。 まず、objdumpでセクション情報を調べる $ objdump -h core.3313 core.3313: file format elf32-i386 Sections: Idx Name Size VMA LMA File off Algn 0 note0 000001d8 00000000 00000000 000001d4 2**0 CONTENTS, READONLY ... readelfで見てみる $ readelf -a core.3313 ... Notes at offset 0x000001d4 with length 0x000001d8: Owner Data size Description CORE 0x00000090 NT_PRSTATUS (prstatus structure) CORE 0x0000007c NT_PRPSINFO (prpsinfo structure) CORE 0x00000090 NT_AUXV (auxiliary vector) 出力の一番最後にnoteの情報が出ている。 更に、note0のダンプを取り、readelfの結果と付き合わせてみる。 $ objdump -s -j note0 core.3313 core.3313: file format elf32-i386 Contents of section note0: 0000 05000000 90000000 01000000 434f5245 ............CORE 0010 00000000 0b000000 00000000 00000000 ................ 0020 0b000000 00000000 00000000 f10c0000 ................ 0030 460c0000 f10c0000 460c0000 00000000 F.......F....... 00...