aboutsummaryrefslogtreecommitdiff
path: root/types/elf.d.lua
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-11-05 23:39:00 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-11-05 23:39:00 +0530
commit4adc84d5e955c2c0b413ce47f233929dc8b7431d (patch)
treeed7f0ee39de813177bee7642b9c1cc0007eca5f0 /types/elf.d.lua
parente2b60152beb61147ffa05fb46fb18fa0c297ed04 (diff)
Need to improve comments, wip.
Diffstat (limited to 'types/elf.d.lua')
-rw-r--r--types/elf.d.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/types/elf.d.lua b/types/elf.d.lua
index 40f88df..db50eb2 100644
--- a/types/elf.d.lua
+++ b/types/elf.d.lua
@@ -17,7 +17,7 @@ ELFVERSION = ec.VERSION
There can be only one header per configuration file.
class, data, type and machine are mandatory fields while
-the remaining fields are assigned defaults or computed after layout.
+the remaining fields are assigned defaults or computed during layout.
]]
---@param hdr HeaderOptions
function header(hdr) end
@@ -26,11 +26,14 @@ function header(hdr) end
The program headers are derived from these segment entries.
type field is mandatory and rest of fields are assigned defaults
-or computed after layout.A segment describes either a range of sections
-or a raw mapping. Do not mix the two forms.
+or computed during layout.
]]
---@param xs SegmentOptions[]
function segments(xs) end
+--[[ ELF sections.
+
+TODO
+]]
---@param xs SectionOptions[]
function sections(xs) end