summaryrefslogtreecommitdiff
path: root/run/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'run/common.hpp')
-rw-r--r--run/common.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/run/common.hpp b/run/common.hpp
new file mode 100644
index 0000000..becd0c9
--- /dev/null
+++ b/run/common.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <string>
+
+const std::string socket_name = "/tmp/openle.socket";
+
+struct __attribute__((packed, aligned(4))) BinaryLoadMessage {
+ uint32_t binary_size;
+ uint32_t base_address;
+ uint32_t eip;
+};