summaryrefslogtreecommitdiff
path: root/elf/section.lua
blob: 64a91b2098f18e843e9deea2f29a236d75f2e9d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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