mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 08:12:44 +00:00
* Show cursor when color and bytes=0 in visual disasm
- Fix INVERT color issue in b&w mode
This commit is contained in:
parent
6485b55de4
commit
db63d59d92
11
TODO
11
TODO
@ -3,19 +3,24 @@
|
||||
| < V . | . V . < _/ .-' _/| () |
|
||||
|__\__|_|__|___/__|__|_\__\___/ |____(_)____/
|
||||
|
||||
To wipe:
|
||||
========
|
||||
- Move the content of libr/*/TODO here
|
||||
- linestyle?? for disassembly lines
|
||||
- remove libr/vm
|
||||
|
||||
To do:
|
||||
======
|
||||
* libmagic internal :?
|
||||
* Ranged/scrollable zoom mode
|
||||
* Add r_cons_prompt () ... calling set_prompt + fgets -- this api needs cleanup
|
||||
- strict width in visual
|
||||
* If [0-9] keybindings in visual point to same address use same reference
|
||||
* Remove linestyle???
|
||||
* Move the content of libr/*/TODO here
|
||||
* Honor string metadata for asmsteps ('jk' in visual)
|
||||
* Dupped javasm bin/asm
|
||||
|
||||
pancake
|
||||
-------
|
||||
* print format for libmagic
|
||||
* check search multiple keywords and signatures
|
||||
* Visual disassembly cursor does not displays on scr.color=0
|
||||
* if console width > X place comments there (ash)
|
||||
|
@ -250,8 +250,8 @@ static void r_print_disasm(RPrint *p, RCore *core, ut64 addr, ut8 *buf, int len,
|
||||
// core->assembler->pc + ret);
|
||||
continue;
|
||||
}
|
||||
if (core->inc == 0)
|
||||
core->inc = ret;
|
||||
if (core->inc == 0)
|
||||
core->inc = ret;
|
||||
r_anal_op (core->anal, &analop, at, buf+idx, (int)(len-idx));
|
||||
// Show xrefs
|
||||
if (show_xrefs) {
|
||||
@ -317,6 +317,8 @@ if (core->inc == 0)
|
||||
if (at == dest)
|
||||
r_cons_invert (R_TRUE, R_TRUE);
|
||||
printoffset (at, show_color);
|
||||
if (at == dest)
|
||||
r_cons_printf (Color_RESET);
|
||||
}
|
||||
if (show_trace) {
|
||||
RDebugTracepoint *tp = r_debug_trace_get (core->dbg, at);
|
||||
@ -371,6 +373,11 @@ if (core->inc == 0)
|
||||
line = refline = NULL;
|
||||
continue;
|
||||
}
|
||||
/* show cursor */
|
||||
if (core->print->cur_enabled &&
|
||||
cursor >= idx && cursor < (idx+asmop.inst_len))
|
||||
r_cons_printf ("* ");
|
||||
else r_cons_printf (" ");
|
||||
if (show_bytes) {
|
||||
char *str, pad[64];
|
||||
char extra[64];
|
||||
|
Loading…
x
Reference in New Issue
Block a user