mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Do not clearline in -A
This commit is contained in:
parent
0a62808017
commit
6c6628ae26
@ -6639,7 +6639,7 @@ R_API int r_core_cmd_command(RCore *core, const char *command) {
|
||||
R_API char *r_core_disassemble_instr(RCore *core, ut64 addr, int l) {
|
||||
R_RETURN_VAL_IF_FAIL (core, NULL);
|
||||
char *cmd, *ret = NULL;
|
||||
cmd = r_str_newf ("pd %i @ 0x%08"PFMT64x, l, addr);
|
||||
cmd = r_str_newf ("pi %i @ 0x%08"PFMT64x, l, addr);
|
||||
if (cmd) {
|
||||
ret = r_core_cmd_str (core, cmd);
|
||||
free (cmd);
|
||||
|
@ -9467,8 +9467,8 @@ static void cmd_anal_opcode(RCore *core, const char *input) {
|
||||
r_config_set_b (core->config, "asm.lines", false);
|
||||
r_config_set_b (core->config, "asm.xrefs", false);
|
||||
|
||||
hooks = r_core_anal_cycles (core, ccl); //analyse
|
||||
r_cons_clear_line (1);
|
||||
hooks = r_core_anal_cycles (core, ccl); // analyse
|
||||
// r_cons_clear_line (1);
|
||||
r_list_foreach (hooks, iter, hook) {
|
||||
instr_tmp = r_core_disassemble_instr (core, hook->addr, 1);
|
||||
r_cons_printf ("After %4i cycles:\t%s", (ccl - hook->cycles), instr_tmp);
|
||||
@ -13678,7 +13678,7 @@ static void cmd_aaa(RCore *core, const char *input) {
|
||||
if (r_cons_is_breaked ()) {
|
||||
goto jacuzzi;
|
||||
}
|
||||
r_cons_clear_line (1);
|
||||
// r_cons_clear_line (1);
|
||||
const bool cfg_debug = r_config_get_b (core->config, "cfg.debug");
|
||||
if (*input == 'a') { // "aaa" .. which is checked just in the case above
|
||||
if (r_str_startswith (r_config_get (core->config, "bin.lang"), "go")) {
|
||||
|
@ -4125,7 +4125,7 @@ static void trace_traverse(RTree *t) {
|
||||
RTreeVisitor vis = {0};
|
||||
|
||||
/* clear the line on stderr, because somebody has written there */
|
||||
fprintf (stderr, "\x1b[2K\r");
|
||||
eprintf (R_CONS_CLEAR_LINE"\r");
|
||||
fflush (stderr);
|
||||
vis.pre_visit = (RTreeNodeVisitCb)trace_traverse_pre;
|
||||
r_tree_dfs (t, &vis);
|
||||
|
@ -131223,19 +131223,19 @@ INFO: Analyze entrypoint (af@ entry0)
|
||||
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
INFO: Analyze symbols (af@@@s)
|
||||
INFO: Recovering variables (afva@@@F)
|
||||
INFO: Analyze all functions arguments/locals (afva@@@F)
|
||||
[2K
INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze imports (af@@@i)
|
||||
INFO: Analyze entrypoint (af@ entry0)
|
||||
INFO: Analyze symbols (af@@@s)
|
||||
INFO: Recovering variables (afva@@@F)
|
||||
INFO: Analyze all functions arguments/locals (afva@@@F)
|
||||
[2K
INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze imports (af@@@i)
|
||||
INFO: Analyze entrypoint (af@ entry0)
|
||||
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
INFO: Analyze symbols (af@@@s)
|
||||
INFO: Recovering variables (afva@@@F)
|
||||
INFO: Analyze all functions arguments/locals (afva@@@F)
|
||||
[2K
ERROR: Cannot find basic block
|
||||
ERROR: Cannot find basic block
|
||||
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
[2K
ERROR: Cannot find basic block
|
||||
ERROR: Cannot find basic block
|
||||
ERROR: Cannot find basic block
|
||||
|
@ -141,7 +141,7 @@ INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze imports (af@@@i)
|
||||
INFO: Analyze symbols (af@@@s)
|
||||
INFO: Analyze all functions arguments/locals (afva@@@F)
|
||||
[2K
INFO: Analyze function calls (aac)
|
||||
INFO: Analyze function calls (aac)
|
||||
INFO: find and analyze function preludes (aap)
|
||||
INFO: Analyze len bytes of instructions for references (aar)
|
||||
INFO: Finding and parsing C++ vtables (avrr)
|
||||
@ -155,7 +155,7 @@ INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze imports (af@@@i)
|
||||
INFO: Analyze symbols (af@@@s)
|
||||
INFO: Analyze all functions arguments/locals (afva@@@F)
|
||||
[2K
INFO: Analyze function calls (aac)
|
||||
INFO: Analyze function calls (aac)
|
||||
INFO: find and analyze function preludes (aap)
|
||||
INFO: Analyze len bytes of instructions for references (aar)
|
||||
INFO: Finding and parsing C++ vtables (avrr)
|
||||
@ -169,7 +169,7 @@ INFO: Analyze all flags starting with sym. and entry0 (aa)
|
||||
INFO: Analyze imports (af@@@i)
|
||||
INFO: Analyze symbols (af@@@s)
|
||||
INFO: Analyze all functions arguments/locals (afva@@@F)
|
||||
[2K
INFO: Analyze function calls (aac)
|
||||
INFO: Analyze function calls (aac)
|
||||
INFO: find and analyze function preludes (aap)
|
||||
INFO: Analyze len bytes of instructions for references (aar)
|
||||
INFO: Finding and parsing C++ vtables (avrr)
|
||||
|
Loading…
Reference in New Issue
Block a user