summaryrefslogtreecommitdiff
path: root/lib/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elf.h')
-rw-r--r--lib/elf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/elf.h b/lib/elf.h
index e5f90365..6f592afd 100644
--- a/lib/elf.h
+++ b/lib/elf.h
@@ -1,5 +1,8 @@
#pragma once
#include<string.h>
+#include<stdbool.h>
+#include<stdint.h>
-void load_elf(char *filename);
+void load_elf(char *filename, bool *is32bit_p, uint64_t *entry);
+int lookup_sym(const char *filename, const char *symname, uint64_t *value);