mirror of https://github.com/pwndbg/pwndbg.git
asm command: fix default arch (#2066)
Before this commit, running `asm mov rax, 0xdeadbeef` would not work on amd64 targets because the default arch was set in the argparse default argument value and it was populated once. Now, this `default=...` kwarg is not set and instead we fetch current arch inside the `asm` command directly when the user did not pass any architecture value.pull/2070/head
parent
d209d9a3b3
commit
638cd45e5e
Loading…
Reference in new issue