diff options
Diffstat (limited to 'run/common.hpp')
| -rw-r--r-- | run/common.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/run/common.hpp b/run/common.hpp index becd0c9..375bdf8 100644 --- a/run/common.hpp +++ b/run/common.hpp @@ -5,7 +5,13 @@ 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; }; + +struct __attribute__((packed, aligned(4))) BinarySizeMessage { + uint32_t binary_size; +}; + +struct __attribute__((packed, aligned(4))) BinaryBaseOffsetMessage { + uint32_t offset; +}; |
