summaryrefslogtreecommitdiff
path: root/elf/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'elf/init.lua')
-rw-r--r--elf/init.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/elf/init.lua b/elf/init.lua
new file mode 100644
index 0000000..6e6966a
--- /dev/null
+++ b/elf/init.lua
@@ -0,0 +1,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