So I want to track when a certain file is loaded into an Win32 app. That's way I put a break-point on 'CreateFile' which compares the first parameter with the target file name, but the problem is that it is a case-sensitive comparison. How to do it non-sensitive?Here is the break-point condition on 'CreateFileA':GetString(DbgDword(esp + 0x4), -1, ASCSTR_C)  == D:\\3K-MILLENNIUM\\3K-MILLENNIUM\\USER_LAW.TXTAny ideas?
How to compare no-case sensitive strings IDC
ida;debugging;winapi
I was able to do this comparsion using IDA-Python 1.7.0 and IDA Demo 6.6. The script code is this:Tmp = GetString(DbgDword(cpu.ESP + 0x4), -1, ASCSTR_C)return str(Tmp).upper() == D:\\3K-MILLENNIUM\\3K-MILLENNIUM\\USER_LAW.TXTLink to IDA-Python 1.7.0, compiled for Win32 (32bit & 64bit).