ELF结构图

  • ELF结构布局图=ELF layout
    • elf_layout_text
    • 文字版
          +-------------------------------+
          | ELF File Header               |
          +-------------------------------+
          | Program Header for segment #1 |
          +-------------------------------+
          | Program Header for segment #2 |
          +-------------------------------+
          | ...                           |
          +-------------------------------+
          | Contents (Byte Stream)        |
          | ...                           |
          +-------------------------------+
          | Section Header for section #1 |
          +-------------------------------+
          | Section Header for section #2 |
          +-------------------------------+
          | ...                           |
          +-------------------------------+
          | ".shstrtab" section           |
          +-------------------------------+
          | ".symtab"   section           |
          +-------------------------------+
          | ".strtab"   section           |
          +-------------------------------+
      
      • 举例
        • 打开so可以看到顶部有ELF字样
          • elf_header_show_elf
    • elf_layout_2
    • elf_layout_offset

举例

Android ELF 文件格式

  • Android ELF 文件格式
    • android_elf_file_foramt_example

results matching ""

    No results matching ""