about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-19 12:47:21 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-19 12:47:21 -0700
commit90fd6a669a1700761cfc7f3f8eaa44c58dd6df9b (patch)
tree440bd2eae7f8015fb1e487ca87aa679731140430
parent2a72df4a579599fce556245211952c0da6664329 (diff)
downloadmu-90fd6a669a1700761cfc7f3f8eaa44c58dd6df9b.tar.gz
.
add lengths to data blobs
-rw-r--r--subx/apps/survey.subx6
1 files changed, 6 insertions, 0 deletions
diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx
index 9afb6340..a7580ccc 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -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: