summaryrefslogtreecommitdiff
path: root/elf/section.lua
blob: 5e185fd7319b4882cd501ad8e3e3a1434c768361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local fmt = require("elf.fmt")

---@class Section

---@class Sections
local M = {}

---@param sections Sections
---@param endian Endian
---@return string
---@nodiscard
function M.pack(sections, endian)
    -- TODO
    return string.pack("B", 0x1)
end

return M