New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual mode assembler only writes one instruction #11138
Comments
It is probably because visual mode doesn't quote the command. |
I think it worked time ago. |
Yes this has been working fine always. Didnt tried to reproduce
… On 19 Aug 2018, at 14:14, Riccardo Schirone ***@***.***> wrote:
I think it worked time ago.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
cant repro |
It is still certainly broken for me on master ( |
Define broken. Works for me
… On 28 Sep 2018, at 18:12, ikdc ***@***.***> wrote:
It is still certainly broken for me on master. Can you please reopen this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Works here too, can you make an asciinema? |
Hi, unfortunately this still doesn't work for me. I didn't point it out before but in order to reproduce you have to use lower-case @XVilka already pointed out the cause: comparing https://github.com/radare/radare2/blob/da112132c8041d37773c91d7191776c07a8dafc3/libr/core/visual.c#L2445 Thanks for your time & effort! |
This line should be using the api but adding the quotes can be a workaround for now. Can you submit a PR?
… On 30 Jun 2019, at 09:28, Lily Chung ***@***.***> wrote:
Hi, unfortunately this still doesn't work for me. I didn't point it out before but in order to reproduce you have to use lower-case a button and not upper-case A. Only the lower-case one is broken.
@XVilka already pointed out the cause: comparing https://github.com/radare/radare2/blob/da112132c8041d37773c91d7191776c07a8dafc3/libr/core/visual.c#L2445
with
https://github.com/radare/radare2/blob/da112132c8041d37773c91d7191776c07a8dafc3/libr/core/visual.c#L2734
you can see that the latter quotes the command while the former doesn't. The behavior I see is consistent with that, as everything after the semicolon gets interpreted as a separate command.
Thanks for your time & effort!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Work environment
Expected behavior
a
command in visual disassembly mode should overwrite multiple instructionsActual behavior
a
command only changes first instructionSteps to reproduce the behavior
In visual mode:
p
to enter disassembly viewa
keynop;nop;nop;nop;nop
Observe that only one
nop
is there rather than 5. On the other hand, using"wa nop;nop;nop;nop;nop"
command in non-visual mode works fine.The text was updated successfully, but these errors were encountered: