diff options
| -rw-r--r-- | miasm/core/bin_stream_ida.py | 2 | ||||
| -rw-r--r-- | setup.py | 4 |
2 files changed, 3 insertions, 3 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) diff --git a/setup.py b/setup.py index e317877a..52fc6f0a 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ if is_win and is_64bit: if not win_force_clang: print("Warning: couldn't find a Clang/LLVM installation. Some runtime functions needed by the jitter won't be compiled.") -def buil_all(): +def build_all(): packages=[ "miasm", "miasm/arch", @@ -352,5 +352,5 @@ def _write_pkg_file(self, file): DistributionMetadata.write_pkg_file = _write_pkg_file -buil_all() +build_all() |