diff options
author | edef <edef@unfathomable.blue> | 2022-02-08 02:55:37 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-02-08 02:55:37 +0000 |
commit | 63c5c93b0f7ca209ceee7d4c1ab1e63b13640c23 (patch) | |
tree | 2f82f8753003de16aaf0b3211c57de8818c0d677 /ripple/minitrace/src | |
parent | 3a20ef6840e457352d959baefb6635afe5d7759c (diff) | |
download | unf-legacy-63c5c93b0f7ca209ceee7d4c1ab1e63b13640c23.tar.zst |
ripple/minitrace: log readlink paths
Change-Id: Idd2b174e0805e1a255f6a9a5cb9868aa59aa332a
Diffstat (limited to 'ripple/minitrace/src')
-rw-r--r-- | ripple/minitrace/src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index 7f50f27..a8781f5 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -254,7 +254,11 @@ fn check_syscall(process: &Process, entry: SyscallEntry) -> bool { 79 => {} // readlink - 89 => {} + 89 => { + let [pathname, _buf, _bufsiz, ..] = entry.args; + let pathname = process.read_mem_cstr(pathname).unwrap(); + println!("readlink({:?}, ..)", pathname); + } // sysinfo 99 => {} |