about summary refs log tree commit diff stats
path: root/focaccia/lldb_target.py
diff options
context:
space:
mode:
Diffstat (limited to 'focaccia/lldb_target.py')
-rw-r--r--focaccia/lldb_target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/focaccia/lldb_target.py b/focaccia/lldb_target.py
index 05ab66d..903e73d 100644
--- a/focaccia/lldb_target.py
+++ b/focaccia/lldb_target.py
@@ -178,7 +178,7 @@ class LLDBConcreteTarget:
         if not err.success:
             raise ConcreteMemoryError(f'Error when reading {size} bytes at'
                                       f' address {hex(addr)}: {err}')
-        return content
+        return bytes(reversed(content))  # Convert to big endian
 
     def write_memory(self, addr, value: bytes):
         """Write bytes to memory.