about summary refs log tree commit diff stats
path: root/miasm/core/bin_stream_ida.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/core/bin_stream_ida.py')
-rw-r--r--miasm/core/bin_stream_ida.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/bin_stream_ida.py b/miasm/core/bin_stream_ida.py
index 585bea57..15bd9d8b 100644
--- a/miasm/core/bin_stream_ida.py
+++ b/miasm/core/bin_stream_ida.py
@@ -19,7 +19,7 @@ class bin_stream_ida(bin_stream_str):
         for ad in range(l):
             offset = ad + start + self.base_address
             if not is_mapped(offset):
-                raise IOError("not enough bytes")
+                raise IOError(f"not enough bytes @ offset {offset:x}")
             out.append(int_to_byte(get_wide_byte(offset)))
         return b''.join(out)