about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-07-16 21:31:35 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-07-16 21:31:35 +0200
commit729d19ab24a2600789f5a7cf7148f7c025c759f9 (patch)
tree87bd1ac981c202a667342c94d0af6bd4b0454ca7 /src
parentca9a1b6666ba07ed813266fd26aa01d516326708 (diff)
downloadbox64-729d19ab24a2600789f5a7cf7148f7c025c759f9.tar.gz
box64-729d19ab24a2600789f5a7cf7148f7c025c759f9.zip
Better trace for recvmsg
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64int3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c
index 07113eed..fd0d2f3a 100755
--- a/src/emu/x64int3.c
+++ b/src/emu/x64int3.c
@@ -137,6 +137,9 @@ void x64Int3(x64emu_t* emu)
                 } else if (!strcmp(s, "lseek")) {
                     snprintf(buff, 255, "%04d|%p: Calling %s(%d, %ld, %d)", tid, *(void**)(R_RSP), s, (int)R_EDI, (int64_t)R_RSI, (int)R_EDX);
                     perr = 1;
+                } else if (!strcmp(s, "recvmsg")) {
+                    snprintf(buff, 255, "%04d|%p: Calling %s(%d, %p, 0x%x)", tid, *(void**)(R_RSP), s, R_EDI, (void*)R_RSI, R_RDX);
+                    perr = 1;
                 } else if (strstr(s, "puts")==s) {
                     tmp = (char*)(R_RDI);
                     snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\")", tid, *(void**)(R_RSP), s, (tmp)?tmp:"(nil)");