add lengths to data blobs
This commit is contained in:
Kartik Agaram 2019-05-19 12:47:21 -07:00
parent 2a72df4a57
commit 90fd6a669a
1 changed files with 6 additions and 0 deletions

View File

@ -240,6 +240,9 @@ Heap:
# some fields filled in.
# http://www.sco.com/developers/gabi/latest/ch4.eheader.html
Elf_header:
# - length
0x34/imm32
# - data
$e_ident:
7f 45/E 4c/L 46/F
01/32-bit 01/little-endian 01/file-version 00/no-os-extensions
@ -275,6 +278,9 @@ $e_shstrndx:
# Some fields need filling in each time.
# https://docs.oracle.com/cd/E19683-01/816-1386/chapter6-83432/index.html
Elf_program_header_entry:
# - length
0x20/imm32
# - data
$p_type:
1/imm32/PT_LOAD
Elf_p_offset: