diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-24 08:09:06 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-30 17:22:38 +0000 |
| commit | 834b5ef47016191a239c8901d0d8d7f185bde768 (patch) | |
| tree | 18ce8e288d62a2d3226545b65af3ad5baa6e9d1a | |
| parent | 46f97ce500e1e7b23096f54036f616d9b2931daa (diff) | |
| download | focaccia-834b5ef47016191a239c8901d0d8d7f185bde768.tar.gz focaccia-834b5ef47016191a239c8901d0d8d7f185bde768.zip | |
Print alternative disassembly
| -rw-r--r-- | src/focaccia/symbolic.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/focaccia/symbolic.py b/src/focaccia/symbolic.py index 76bb237..f83c4ac 100644 --- a/src/focaccia/symbolic.py +++ b/src/focaccia/symbolic.py @@ -724,8 +724,12 @@ class SymbolicTracer: instr = instr.instr except: if self.force: - warn(f'Unable to disassemble instruction {hex(pc)}: {err}.' - f' Skipping.') + if alt_disas: + warn(f'Unable to handle instruction {alt_disas} at {hex(pc)} in Miasm.' + f' Skipping.') + else: + warn(f'Unable to disassemble instruction {hex(pc)}: {err}.' + f' Skipping.') target.step() continue raise # forward exception |