Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 18th, 2010 | Syntax: None | Size: 6.08 KB | Hits: 57 | Expires: Never
Copy text to clipboard
  1. $ readelf -el vmlinux
  2. ELF Header:
  3.   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  4.   Class:                             ELF32
  5.   Data:                              2's complement, little endian
  6.   Version:                           1 (current)
  7.   OS/ABI:                            UNIX - System V
  8.   ABI Version:                       0
  9.   Type:                              EXEC (Executable file)
  10.   Machine:                           Intel 80386
  11.   Version:                           0x1
  12.   Entry point address:               0x1001000
  13.   Start of program headers:          52 (bytes into file)
  14.   Start of section headers:          64408064 (bytes into file)
  15.   Flags:                             0x0
  16.   Size of this header:               52 (bytes)
  17.   Size of program headers:           32 (bytes)
  18.   Number of program headers:         10
  19.   Size of section headers:           40 (bytes)
  20.   Number of section headers:         43
  21.   Section header string table index: 40
  22.  
  23. Section Headers:
  24.   [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  25.   [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  26.   [ 1] .text             PROGBITS        00000000 001000 20f786 00  AX  0   0 32
  27.   [ 2] .notes            NOTE            c1210000 211000 000024 00  AX  0   0  4
  28.   [ 3] __ex_table        PROGBITS        c1210030 211030 006990 00   A  0   0  4
  29.   [ 4] .rodata           PROGBITS        c1217000 218000 0e15ae 00  WA  0   0 4096
  30.   [ 5] __bug_table       PROGBITS        c12f85b0 2f95b0 0033e4 00   A  0   0  1
  31.   [ 6] .pci_fixup        PROGBITS        c12fb994 2fc994 000a38 00   A  0   0  4
  32.   [ 7] __ksymtab         PROGBITS        c12fc3cc 2fd3cc 0055a8 00   A  0   0  4
  33.   [ 8] __ksymtab_gpl     PROGBITS        c1301974 302974 002260 00   A  0   0  4
  34.   [ 9] __kcrctab         PROGBITS        c1303bd4 304bd4 002ad4 00   A  0   0  4
  35.   [10] __kcrctab_gpl     PROGBITS        c13066a8 3076a8 001130 00   A  0   0  4
  36.   [11] __ksymtab_strings PROGBITS        c13077d8 3087d8 010ae9 00   A  0   0  1
  37.   [12] __init_rodata     PROGBITS        c13182d0 3192d0 003756 00   A  0   0 16
  38.   [13] __param           PROGBITS        c131ba28 31ca28 0005d8 00   A  0   0  4
  39.   [14] .rodata.page_alig PROGBITS        c131c000 31d000 004000 00   A  0   0 16
  40.   [15] .vmi.rom          PROGBITS        c1320000 321000 002000 00  WA  0   0 4096
  41.   [16] .module.text      PROGBITS        c1322000 323000 4de000 00  WA  0   0  1
  42.   [17] .data             PROGBITS        c1800000 801000 049970 00  WA  0   0 32
  43.   [18] .init.begin       PROGBITS        c1849970 84a970 3b6690 00  WA  0   0  1
  44.   [19] .data.percpu      PROGBITS        00000000 c01000 005698 00  WA  0   0 32
  45.   [20] .init.text        PROGBITS        00c06000 c07000 028000 00  AX  0   0 16
  46.   [21] .exit.text        PROGBITS        00c2e000 c2f000 000540 00  AX  0   0  1
  47.   [22] .init.data        PROGBITS        c1c2f000 c30000 01c200 00  WA  0   0 16
  48.   [23] .x86_cpu_dev.init PROGBITS        c1c4b200 c4c200 00001c 00   A  0   0  4
  49.   [24] .parainstructions PROGBITS        c1c4b220 c4c220 003eb0 00   A  0   0  4
  50.   [25] .altinstructions  PROGBITS        c1c4f0d0 c500d0 002cdb 00   A  0   0  4
  51.   [26] .altinstr_replace PROGBITS        c1c51dab c52dab 000bb5 00   A  0   0  1
  52.   [27] .smp_locks        PROGBITS        c1c53000 c54000 005000 00   A  0   0  4
  53.   [28] .bss              NOBITS          c1c58000 c59000 0695d4 00  WA  0   0 4096
  54.   [29] .brk              NOBITS          c1cc2000 c59000 33e000 00  WA  0   0  1
  55.   [30] .comment          PROGBITS        00000000 c59000 000011 01  MS  0   0  1
  56.   [31] .debug_aranges    PROGBITS        00000000 c59018 009db8 00      0   0  8
  57.   [32] .debug_pubnames   PROGBITS        00000000 c62dd0 039b6e 00      0   0  1
  58.   [33] .debug_info       PROGBITS        00000000 c9c93e 28ece4e 00      0   0  1
  59.   [34] .debug_abbrev     PROGBITS        00000000 358978c 1135de 00      0   0  1
  60.   [35] .debug_line       PROGBITS        00000000 369cd6a 231452 00      0   0  1
  61.   [36] .debug_frame      PROGBITS        00000000 38ce1bc 080204 00      0   0  4
  62.   [37] .debug_str        PROGBITS        00000000 394e3c0 102eec 01  MS  0   0  1
  63.   [38] .debug_loc        PROGBITS        00000000 3a512ac 293e59 00      0   0  1
  64.   [39] .debug_ranges     PROGBITS        00000000 3ce5108 087710 00      0   0  8
  65.   [40] .shstrtab         STRTAB          00000000 3d6c818 0001e8 00      0   0  1
  66.   [41] .symtab           SYMTAB          00000000 3d6d0b8 0918c0 10     42 24385  4
  67.   [42] .strtab           STRTAB          00000000 3dfe978 0c8c69 00      0   0  1
  68. Key to Flags:
  69.   W (write), A (alloc), X (execute), M (merge), S (strings)
  70.   I (info), L (link order), G (group), x (unknown)
  71.   O (extra OS processing required) o (OS specific), p (processor specific)
  72.  
  73. Program Headers:
  74.   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  75.   LOAD           0x001000 0x00000000 0x01000000 0x20f786 0x20f786 R E 0x1000
  76.   LOAD           0x211000 0xc1210000 0x01210000 0x110000 0x110000 R   0x1000
  77.   LOAD           0x321000 0xc1320000 0x01320000 0x4e0000 0x4e0000 R E 0x1000
  78.   LOAD           0x801000 0xc1800000 0x01800000 0x49970 0x49970 RW  0x1000
  79.   LOAD           0x84a970 0xc1849970 0x01849970 0x3b6690 0x3b6690 RW  0x1000
  80.   LOAD           0xc01000 0x00000000 0x01c00000 0x05698 0x05698 RW  0x1000
  81.   LOAD           0xc07000 0x00c06000 0x01c06000 0x28000 0x28000 R E 0x1000
  82.   LOAD           0xc2f000 0x00c2e000 0x40c2e000 0x00540 0x00540 R E 0x1000
  83.   LOAD           0xc30000 0xc1c2f000 0x01c2f000 0x29000 0x3d1000 RWE 0x1000
  84.   NOTE           0x211000 0xc1210000 0x01210000 0x00024 0x00024     0x4
  85.  
  86.  Section to Segment mapping:
  87.   Segment Sections...
  88.    00     .text
  89.    01     .notes __ex_table .rodata __bug_table .pci_fixup __ksymtab __ksymtab_gpl __kcrctab __kcrctab_gpl __ksymtab_strings __init_rodata __param .rodata.page_aligned
  90.    02     .vmi.rom .module.text
  91.    03     .data
  92.    04     .init.begin
  93.    05     .data.percpu
  94.    06     .init.text
  95.    07     .exit.text
  96.    08     .init.data .x86_cpu_dev.init .parainstructions .altinstructions .altinstr_replacement .smp_locks .bss .brk
  97.    09     .notes