diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-07-24 15:14:23 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-07-24 15:14:23 +0200 |
| commit | 4a625db27ab46e7b49e388d716591c92ea57e596 (patch) | |
| tree | 52db178ad97048530ab6042c13d248495c04a264 | |
| parent | 32cebc6137c7e42ac124e93fef3c6dea7176d61f (diff) | |
| download | box64-4a625db27ab46e7b49e388d716591c92ea57e596.tar.gz box64-4a625db27ab46e7b49e388d716591c92ea57e596.zip | |
[TRACE] More traces for LOG=2
| -rw-r--r-- | src/emu/x64int3.c | 8 |
1 files changed, 8 insertions, 0 deletions
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, |