Skip to content

Commit

Permalink
adds opc options to asm
Browse files Browse the repository at this point in the history
  • Loading branch information
huettenhain committed Nov 1, 2023
1 parent 4b47f8c commit d320fef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion refinery/units/sinks/asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class asm(opc):
looking for more programmatic disassembly.
"""
def __init__(
self, mode='x32', *,
self, mode='x32', *, count=None, until=None,
no_address: Arg.Switch('-A', help='Disable address display.') = False,
no_hexdump: Arg.Switch('-H', help='Disable opcodes hexdump.') = False,
):
Expand All @@ -21,6 +21,8 @@ def __init__(
nvar='_name',
avar='_addr',
ovar='_arg',
count=count,
until=until,
no_address=no_address,
no_hexdump=no_hexdump,
)
Expand Down

0 comments on commit d320fef

Please sign in to comment.