diff options
| -rw-r--r-- | elf/constants.lua | 2 | ||||
| -rw-r--r-- | mkelf.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/elf/constants.lua b/elf/constants.lua index b06b275..0a7c735 100644 --- a/elf/constants.lua +++ b/elf/constants.lua @@ -73,7 +73,7 @@ M.Machine = { spu = 0x17, -- IBM SPC/SPU v800 = 0x24, -- NEC V800 fr20 = 0x25, -- Fujitsu FR20 - -- todo + -- TODO } ---@enum SegmentType @@ -35,6 +35,7 @@ local function loadconfig(fn) -- TODO error check for multiple headers local chunk, err = loadfile(fn, "t", env) if not chunk then die("%s", err) end + -- TODO sandbox against malformed configs local ok, perr = pcall(chunk) if not ok then die("%s", perr) end return header, segments, sections |
