From 14f803accad2225b28dc9612a35b1ecdf0f9d8df Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Jun 2023 11:20:12 +0200 Subject: Add more system call formattings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sctrace.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sctrace.c') diff --git a/sctrace.c b/sctrace.c index 54bd977..320bc3a 100644 --- a/sctrace.c +++ b/sctrace.c @@ -30,6 +30,7 @@ handle_syscall(struct process *proc) proc->scall ^= proc->scall_xor; #endif GET_SYSCALL_ARGUMENTS(proc, ®s); + memset(proc->save, 0, sizeof(proc->save)); /* Print system call */ print_systemcall(proc); -- cgit v1.2.3-70-g09d2