aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-11-09 15:02:11 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-11-09 15:02:11 +0530
commit760918beb1383ad8adb666d5b793d60a4ec7d3fc (patch)
treeb31806500715854b115156169a14fb878e49887d
parent93b82c4ff7924594a708993f609fc4700c5c428f (diff)
Align comments.
-rw-r--r--elf/test.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/elf/test.lua b/elf/test.lua
index 9da65e9..a3aeb1f 100644
--- a/elf/test.lua
+++ b/elf/test.lua
@@ -250,17 +250,17 @@ test("header.pack 64_be_x86-64", function ()
-- "I2I2I4"
"0002003e00000001",
-- string.rep(fmt.word(hdr.class), 3), where I8 is selected
- "0102030405060708",
- "1112131415161718",
- "2122232425262728",
+ "0102030405060708", -- entry
+ "1112131415161718", -- phoff
+ "2122232425262728", -- shoff
-- "I4I2I2I2I2I2I2"
- "31323334", -- flags
- "3435", -- ehsize
- "3637", -- phentsize
- "3839", -- phnum
- "3a3b", -- shentsize
- "3c3d", -- shnum
- "3e3f" -- shstrndx
+ "31323334", -- flags
+ "3435", -- ehsize
+ "3637", -- phentsize
+ "3839", -- phnum
+ "3a3b", -- shentsize
+ "3c3d", -- shnum
+ "3e3f" -- shstrndx
}))
local actual = elf_header.pack(elf_header.normalize(header))
assert(#actual == 64, "invalid ELF64 header size")