blob: a2b774decc5b1063bf5fd53dabf7205a7f2a9430 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---@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
|