mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
Add task_struct address in linux r2k procinfo
This commit is contained in:
parent
9cb30f102a
commit
3e619bff12
@ -738,6 +738,7 @@ int run_old_command(RIO *io, RIODesc *iodesc, const char *buf) {
|
||||
}
|
||||
} else {
|
||||
io->cb_printf ("pid = %d\nprocess name = %s\n", proc_data.pid, proc_data.comm);
|
||||
io->cb_printf ("task_struct = 0x%08"PFMT64x"\n", proc_data.task);
|
||||
for (i = 0; i < buffsize;) {
|
||||
nextstart = 0;
|
||||
if (i + 7 < buffsize) {
|
||||
|
@ -75,6 +75,7 @@ struct r2k_proc_info {
|
||||
char comm[16];
|
||||
size_t vmareastruct[4096];
|
||||
size_t stack;
|
||||
size_t task;
|
||||
};
|
||||
|
||||
#define R2_TYPE 0x69
|
||||
|
Loading…
x
Reference in New Issue
Block a user