diff options
-rw-r--r-- | sctrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -59,6 +59,8 @@ usage(void) static char * get_string_or_memory(pid_t pid, unsigned long int addr, size_t m, int string, const char **errorp) { + /* TODO use process_vm_readv if supported */ + size_t orig_addr = (size_t)addr; size_t off; char *ret = NULL; |