mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
PDB: dump the size of structure and union in JSON mode.
This commit is contained in:
parent
1205aea171
commit
38d3d3651c
@ -961,8 +961,8 @@ static void print_types(R_PDB *pdb, int mode) {
|
||||
break;
|
||||
case eLF_STRUCTURE:
|
||||
case eLF_UNION:
|
||||
pdb->cb_printf ("{\"type\":\"%s\",\"name\":\"%s\",\"%s\":[",
|
||||
"structure", name, "members");
|
||||
pdb->cb_printf ("{\"type\":\"%s\",\"name\":\"%s\",\"size\":%d,\"%s\":[",
|
||||
"structure", name, val, "members");
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user