Fix config.disasm_annotations fetching (#2256)

Fixes a bug introduced in "future syscalls" PR
pull/2258/head
Disconnect3d 1 year ago committed by GitHub
parent 8eacacfb68
commit 684d7f9485
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -217,7 +217,7 @@ class DisassemblyAssistant:
# Set the .target and .next fields
enhancer._enhance_next(instruction, emu, jump_emu)
if bool(pwndbg.gdblib.config.disasm_annotations):
if bool(pwndbg.config.disasm_annotations):
enhancer._set_annotation_string(instruction, emu)
# Disable emulation after CALL instructions. We do it after enhancement, as we can use emulation

Loading…
Cancel
Save