mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-01 10:38:51 +00:00
Fix empty disasm issue on Dalvik bins after analysis
This commit is contained in:
parent
519877f264
commit
b534abbea8
@ -436,8 +436,10 @@ static void handle_build_op_str (RCore *core, RDisasmState *ds) {
|
||||
core->parser->varlist = r_anal_var_list;
|
||||
r_parse_varsub (core->parser, f,
|
||||
ds->opstr, ds->strsub, sizeof (ds->strsub));
|
||||
free (ds->opstr);
|
||||
ds->opstr = strdup (ds->strsub);
|
||||
if (ds->strsub && *ds->strsub) {
|
||||
free (ds->opstr);
|
||||
ds->opstr = strdup (ds->strsub);
|
||||
}
|
||||
}
|
||||
}
|
||||
asm_str = colorize_asm_string (core, ds);
|
||||
|
Loading…
Reference in New Issue
Block a user