---@meta local elf = require("elf") -- TODO keep in sync with mkelf:loadconfig() env. Class = elf.Class Endian = elf.Endian Osabi = elf.Osabi Type = elf.Type Machine = elf.Machine SegmentType = elf.SegmentType SegmentFlags = elf.SegmentFlags ELFVERSION = elf.VERSION ---@param hdr Header function header(hdr) end ---@param xs Section[] function sections(xs) end ---@param xs Segment[] function segments(xs) end