mirror of
https://github.com/ptitSeb/box64.git
synced 2024-12-03 12:11:01 +00:00
Better trace for vfprintf
This commit is contained in:
parent
e1108c5e17
commit
48f80ebc93
@ -207,6 +207,9 @@ void x64Int3(x64emu_t* emu, uintptr_t* addr)
|
||||
pu64 = (uint64_t*)R_RDI;
|
||||
post = 3;
|
||||
snprintf(buff, 256, "%04d|%p: Calling %s(%p, %zu, \"%s\" (,%p))", tid, *(void**)(R_RSP), s, (void*)R_RDI, R_RSI, (tmp)?tmp:"(nil)", (void*)(R_RCX));
|
||||
} else if (strstr(s, "vfprintf")) {
|
||||
tmp = (char*)(R_RSI);
|
||||
snprintf(buff, 256, "%04d|%p: Calling %s(%p, \"%s\", ...", tid, *(void**)(R_RSP), s, (void*)R_RDI, (tmp)?tmp:"(nil)");
|
||||
} else if (!strcmp(s, "getcwd")) {
|
||||
post = 2;
|
||||
snprintf(buff, 256, "%04d|%p: Calling %s(%p, %zu)", tid, *(void**)(R_RSP), s, (void*)R_RDI, R_RSI);
|
||||
|
Loading…
Reference in New Issue
Block a user