From 4a625db27ab46e7b49e388d716591c92ea57e596 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 24 Jul 2025 15:14:23 +0200 Subject: [TRACE] More traces for LOG=2 --- src/emu/x64int3.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c index 0926b467..641a04d9 100644 --- a/src/emu/x64int3.c +++ b/src/emu/x64int3.c @@ -316,6 +316,14 @@ void x64Int3(x64emu_t* emu, uintptr_t* addr) } else if (!strcmp(s, "__isoc99_fscanf")) { tmp = (char*)(R_RSI); snprintf(buff, 256, "%04d|%p: Calling %s(%p, \"%s\" (,%p))", tid, *(void**)(R_RSP), s, (void*)R_RDI, (tmp)?tmp:"(nil)", (void*)(R_RDX)); + } else if (!strcmp(s, "inotify_add_watch")) { + tmp = (char*)(R_RSI); + snprintf(buff, 256, "%04d|%p: Calling %s(%d, \"%s\" , 0x%x)", tid, *(void**)(R_RSP), s, R_EDI, (tmp)?tmp:"(nil)", R_EDX); + perr = 1; + } else if (!strcmp(s, "__xstat64")) { + tmp = (char*)(R_RSI); + snprintf(buff, 256, "%04d|%p: Calling %s(%d, \"%s\" , %p)", tid, *(void**)(R_RSP), s, R_EDI, (tmp)?tmp:"(nil)", (void*)R_RDX); + perr = 1; } else if (!strcmp(s, "XCreateWindow")) { tmp = (char*)(R_RSI); snprintf(buff, 256, "%04d|%p: Calling %s(%p, %p, %d, %d, %u, %u, %u, %d, %u, %p, 0x%lx, %p)", tid, *(void**)(R_RSP), s, -- cgit 1.4.1