diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/emu/x86int3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/x86int3.c b/src/emu/x86int3.c index 967bda60..90e5fb5b 100755 --- a/src/emu/x86int3.c +++ b/src/emu/x86int3.c @@ -209,6 +209,9 @@ void x86Int3(x64emu_t* emu, uintptr_t* addr) } else if(strstr(s, "strncmp")==s || strstr(s, "__strncmp")==s) { snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\", \"%s\", %u)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), s, from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), from_ptrv(*(ptr_t*)from_ptr(R_ESP+8)), *(ulong*)from_ptr(R_ESP+12)); ret_fmt = 1; + } else if(strstr(s, "strncasecmp")==s) { + snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\", \"%s\", %u)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), s, from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), from_ptrv(*(ptr_t*)from_ptr(R_ESP+8)), *(ulong*)from_ptr(R_ESP+12)); + ret_fmt = 1; } else if(strstr(s, "memcmp")==s) { snprintf(buff, 255, "%04d|%p: Calling %s(%p, %p, %u)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), s, from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), from_ptrv(*(ptr_t*)from_ptr(R_ESP+8)), *(ulong*)from_ptr(R_ESP+12)); ret_fmt = 1; |