mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 18:43:45 +00:00
Escape dwarf info in json (#10616)
This commit is contained in:
parent
812b96a66c
commit
9bedab5184
@ -3234,6 +3234,9 @@ static void ds_print_dwarf(RDisasmState *ds) {
|
||||
}
|
||||
// handle_set_pre (ds, " ");
|
||||
ds_align_comment (ds);
|
||||
if (ds->use_json) {
|
||||
chopstr = r_str_escape (chopstr);
|
||||
}
|
||||
if (ds->show_color) {
|
||||
r_cons_printf ("%s; %s"Color_RESET, ds->pal_comment, chopstr);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user