summaryrefslogtreecommitdiff
path: root/elf/section.lua
diff options
context:
space:
mode:
Diffstat (limited to 'elf/section.lua')
-rw-r--r--elf/section.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/elf/section.lua b/elf/section.lua
index 64a91b2..5e185fd 100644
--- a/elf/section.lua
+++ b/elf/section.lua
@@ -1,14 +1,15 @@
local fmt = require("elf.fmt")
-local M = {}
-
---@class Section
----@param section Section
+---@class Sections
+local M = {}
+
+---@param sections Sections
---@param endian Endian
---@return string
---@nodiscard
-function M.pack(section, endian)
+function M.pack(sections, endian)
-- TODO
return string.pack("B", 0x1)
end