mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 18:27:18 +00:00
* Fix io_ptrace read in 64bits
This commit is contained in:
parent
96797846e9
commit
cfc6dcea96
@ -39,7 +39,7 @@ static int debug_os_read_at(int pid, void *buf, int sz, ut64 addr) {
|
||||
(void *)(&((long*)(long)addr)[x]));
|
||||
if (((long *)buf)[x] == -1) // && errno)
|
||||
return s;
|
||||
s += 4;
|
||||
s += sizeof (long);
|
||||
}
|
||||
if (last) {
|
||||
lr = debug_read_raw (pid, &((long*)(long)addr)[x]);
|
||||
|
Loading…
Reference in New Issue
Block a user