mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 00:38:55 +00:00
Use unsigned format in xref addresses
This commit is contained in:
parent
e5b4d9294c
commit
0d089f7f4b
@ -246,7 +246,7 @@ R_API void r_anal_xrefs_list(RAnal *anal, int rad) {
|
||||
anal->cb_printf ("\"name\":\"%s\",", name);
|
||||
free (name);
|
||||
}
|
||||
anal->cb_printf ("\"from\":%"PFMT64d",\"type\":\"%s\",\"addr\":%"PFMT64d,
|
||||
anal->cb_printf ("\"from\":%"PFMT64u",\"type\":\"%s\",\"addr\":%"PFMT64u,
|
||||
ref->at, r_anal_xrefs_type_tostring (t), ref->addr);
|
||||
name = anal->coreb.getNameDelta (anal->coreb.core, ref->addr);
|
||||
if (name) {
|
||||
|
@ -4250,9 +4250,8 @@ static void showmem_json (RList *list, PJ *pj) {
|
||||
if (!r_list_empty (list)) {
|
||||
RListIter *iter;
|
||||
AeaMemItem *item;
|
||||
|
||||
r_list_foreach (list, iter, item) {
|
||||
pj_n (pj, item->addr);
|
||||
pj_n (pj, item->addr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user