mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 16:40:57 +00:00
Refix /j for the 3rd time, time to add a test
This commit is contained in:
parent
e9c9221627
commit
5ca8e5e24c
@ -394,8 +394,10 @@ static int __cb_hit(RSearchKeyword *kw, void *user, ut64 addr) {
|
||||
if (!first_hit) {
|
||||
r_cons_printf (",");
|
||||
}
|
||||
char *es = r_str_escape (s);
|
||||
r_cons_printf ("{\"offset\": %"PFMT64d ",\"id:\":%d,\"type\":\"%s\",\"data\":\"%s\"}",
|
||||
base_addr + addr, kw->kwidx, type, s);
|
||||
base_addr + addr, kw->kwidx, type, es);
|
||||
free (es);
|
||||
} else {
|
||||
r_cons_printf ("0x%08"PFMT64x " %s%d_%d %s\n",
|
||||
base_addr + addr, searchprefix, kw->kwidx, kw->count, s);
|
||||
|
Loading…
Reference in New Issue
Block a user