blob: 6e6966a8e943b0400c7f83c1dea7f309911edd1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
local constants = require("elf.constants")
local header = require("elf.header")
local segment = require("elf.segment")
local section = require("elf.section")
local M = {}
M.VERSION = constants.VERSION
M.Class = constants.Class
M.Endian = constants.Endian
M.Osabi = constants.Osabi
M.Type = constants.Type
M.Machine = constants.Machine
M.SegmentType = constants.SegmentType
M.SegmentFlags = constants.SegmentFlags
M.header = header
M.segment = segment
M.section = section
return M
|