summaryrefslogtreecommitdiff
path: root/src/gen
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen')
-rw-r--r--src/gen/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gen/main.c b/src/gen/main.c
index 3c8d513..5d6be0a 100644
--- a/src/gen/main.c
+++ b/src/gen/main.c
@@ -10,6 +10,7 @@
#include <unistd.h>
#include <string.h>
#include <stdio.h>
+#include <dlfcn.h>
#include "stage1_primitives.h"
#include "stage0_primitives.h"
@@ -202,6 +203,8 @@ int main(int argc,
fprintf(fp, "# - with love from spv <3\n");
fprintf(fp, "\n");
+ fprintf(stderr, "0x%x\n", RTLD_DEFAULT);
+
uint32_t stack_base = 0x1c7738; // my shell setup
// uint32_t stack_base = 0x1c7c88; // my 4s shell setup
// uint32_t stack_base = 0x1c2e48; // my lldb