Skip to content

Commit

Permalink
Remove instr operands padding in enhance (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcz committed Nov 11, 2022
1 parent dd64540 commit 12e8ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwndbg/enhance.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def enhance(value, code=True, safe_linking=False):
if exe:
instr = pwndbg.disasm.one(value)
if instr:
instr = "%-6s %s" % (instr.mnemonic, instr.op_str)
instr = "%s %s" % (instr.mnemonic, instr.op_str)
if pwndbg.gdblib.config.syntax_highlight:
instr = syntax_highlight(instr)

Expand Down

0 comments on commit 12e8ad8

Please sign in to comment.