aboutsummaryrefslogtreecommitdiffstats
path: root/source/elf_load.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2020-08-15 09:16:54 -0400
committerClyne Sullivan <clyne@bitgloo.com>2020-08-15 09:16:54 -0400
commit29e4b4cf091dd47c9f435ef1d315a1609b83fb19 (patch)
tree3eb041dee817a21e879c84bb460e2c09c2143364 /source/elf_load.hpp
parentd060dce4ec03dad8bcde265ff5b5eb68cd009ea2 (diff)
add elf load draft, filter program template
Diffstat (limited to 'source/elf_load.hpp')
-rw-r--r--source/elf_load.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/elf_load.hpp b/source/elf_load.hpp
new file mode 100644
index 0000000..722b19b
--- /dev/null
+++ b/source/elf_load.hpp
@@ -0,0 +1,12 @@
+#ifndef ELF_LOAD_HPP_
+#define ELF_LOAD_HPP_
+
+namespace elf
+{
+ using entry_t = void (*)();
+
+ entry_t load(void *file_data);
+}
+
+#endif // ELF_LOAD_HPP_
+