Skip to content

Commit 1c6af2d

Browse files
authored
drsyscall: capture lseek and unlinkat syscalls for attach-memory-dump-syscall-test. (#7602)
Capture lseek and unlinkat syscalls in suite/tests/client-interface/attach-memory-dump-syscall-test.dll.c. These two syscalls are used by suite/tests/linux/syscall-records-attach.c through lseek() and remove(). Issue: #7588
1 parent 1db3f38 commit 1c6af2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

suite/tests/client-interface/attach-memory-dump-syscall-test.dll.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ event_filter_syscall(void *drcontext, int sysnum)
6969
}
7070
switch (sysnum) {
7171
case SYS_close:
72+
case SYS_lseek:
7273
case SYS_openat:
7374
case SYS_read:
75+
case SYS_unlinkat:
7476
case SYS_write: return true;
7577
default: return false;
7678
}

0 commit comments

Comments
 (0)