diff options
Diffstat (limited to 'elf/section.lua')
| -rw-r--r-- | elf/section.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/elf/section.lua b/elf/section.lua new file mode 100644 index 0000000..64a91b2 --- /dev/null +++ b/elf/section.lua @@ -0,0 +1,16 @@ +local fmt = require("elf.fmt") + +local M = {} + +---@class Section + +---@param section Section +---@param endian Endian +---@return string +---@nodiscard +function M.pack(section, endian) + -- TODO + return string.pack("B", 0x1) +end + +return M |
