cppcheck/cfg/windows.cfg

370 lines
14 KiB
INI
Raw Normal View History

2013-12-29 19:23:34 +01:00
<?xml version="1.0"?>
<def>
<resource>
<alloc init="true">CreatePen</alloc>
<alloc init="true">CreateBrushIndirect</alloc>
<alloc init="true">CreateDIBPatternBrush</alloc>
<alloc init="true">CreateDIBPatternBrushPt</alloc>
<alloc init="true">CreateHatchBrush</alloc>
<alloc init="true">CreatePatternBrush</alloc>
<alloc init="true">CreateSolidBrush</alloc>
<alloc init="true">CreateFont</alloc>
<alloc init="true">CreateFontIndirect</alloc>
<alloc init="true">CreateFontIndirectEx</alloc>
<alloc init="true">CreateBitmap</alloc>
<alloc init="true">CreateBitmapIndirect</alloc>
<alloc init="true">CreateCompatibleBitmap</alloc>
<alloc init="true">CreateDIBitmap</alloc>
<alloc init="true">CreateDIBSection</alloc>
<alloc init="true">CreateDiscardableBitmap</alloc>
<alloc init="true">CreateEllipticRgn</alloc>
<alloc init="true">CreateEllipticRgnIndirect</alloc>
<alloc init="true">CreatePolygonRgn</alloc>
<alloc init="true">CreatePolyPolygonRgn</alloc>
<alloc init="true">CreateRectRgn</alloc>
<alloc init="true">CreateRectRgnIndirect</alloc>
<alloc init="true">CreateRoundRectRgn</alloc>
<alloc init="true">CreateHalftonePalette</alloc>
<alloc init="true">CreatePalette</alloc>
<dealloc>DeleteObject</dealloc>
2013-12-29 19:23:34 +01:00
</resource>
2014-01-26 09:42:46 +01:00
<resource>
<dealloc>closesocket</dealloc>
<alloc init="true">socket</alloc>
</resource>
<resource>
<alloc init="true">CreateThread</alloc>
<alloc init="true">CreateFile</alloc>
<alloc init="true">OpenFile</alloc>
<alloc init="true">CreateJobObject</alloc>
<alloc init="true">CreateRemoteThread</alloc>
<alloc init="true">CreateConsoleScreenBuffer</alloc>
<alloc init="true">OpenBackupEventLog</alloc>
<alloc init="true">OpenEventLog</alloc>
<alloc init="true">CreateFileMapping</alloc>
<alloc init="true">CreateFileMappingFromApp</alloc>
<alloc init="true">CreateFileMappingNuma</alloc>
<alloc init="true">CreateMemoryResourceNotification</alloc>
<alloc init="true">OpenFileMapping</alloc>
<alloc init="true">CreateNamedPipe</alloc>
<alloc init="true">CreateEvent</alloc>
<alloc init="true">CreateMutex</alloc>
<alloc init="true">CreateSemaphore</alloc>
<alloc init="true">CreateTimerQueue</alloc>
<alloc init="true">CreateWaitableTimer</alloc>
<alloc init="true">OpenEvent</alloc>
<alloc init="true">OpenMutex</alloc>
<alloc init="true">OpenSemaphore</alloc>
<alloc init="true">OpenWaitableTimer</alloc>
<alloc init="true">OpenJobObject</alloc>
<alloc init="true">OpenProcess</alloc>
<alloc init="true">OpenThread</alloc>
<alloc init="true">CreateMailslot</alloc>
<dealloc>CloseHandle</dealloc>
</resource>
<resource>
<alloc init="true">OpenSCManager</alloc>
<alloc init="true">OpenService</alloc>
<alloc init="true">CreateService</alloc>
<dealloc>CloseServiceHandle</dealloc>
</resource>
<resource>
<alloc init="true">LockServiceDatabase</alloc>
<dealloc>UnlockServiceDatabase</dealloc>
</resource>
<memory>
<alloc>ExAllocatePool</alloc>
<alloc>ExAllocatePoolWithQuota</alloc>
<alloc>ExAllocatePoolWithQuotaTag</alloc>
<alloc>ExAllocatePoolWithTag</alloc>
<alloc>ExAllocatePoolWithTagPriority</alloc>
<dealloc>ExFreePool</dealloc>
<dealloc>ExFreePoolWithTag</dealloc>
</memory>
<memory>
<alloc>HeapAlloc</alloc>
<alloc>HeapReAlloc</alloc>
<dealloc>HeapFree</dealloc>
</memory>
<memory>
<alloc>IoAllocateErrorLogEntry</alloc>
<dealloc>IoWriteErrorLogEntry</dealloc>
<dealloc>IoFreeErrorLogEntry</dealloc>
</memory>
<memory>
<alloc init="true">IoAllocateIrp</alloc>
<dealloc>IoFreeIrp</dealloc>
<dealloc>IofCallDriver</dealloc>
<dealloc>IoCallDriver</dealloc>
</memory>
<memory>
<alloc>IoAllocateMdl</alloc>
<dealloc>IoFreeMdl</dealloc>
</memory>
<memory>
<alloc>MmAllocateContiguousMemory</alloc>
<dealloc>MmFreeContiguousMemory</dealloc>
</memory>
<memory>
<alloc>MmAllocateContiguousMemorySpecifyCache</alloc>
<alloc>MmAllocateContiguousMemorySpecifyCacheNode</alloc>
<dealloc>MmFreeContiguousMemorySpecifyCache</dealloc>
</memory>
<memory>
<alloc>IoAllocateWorkItem</alloc>
<dealloc>IoFreeWorkItem</dealloc>
</memory>
<memory>
<alloc>RtlAllocateHeap</alloc>
<dealloc>RtlFreeHeap</dealloc>
</memory>
<memory>
<alloc>ExAllocateFromPagedLookasideList</alloc>
<dealloc>ExFreeToPagedLookasideList</dealloc>
</memory>
<memory>
<alloc>ExAllocateFromNPagedLookasideList</alloc>
<dealloc>ExFreeToNPagedLookasideList</dealloc>
</memory>
<memory>
<alloc>AllocateHeap</alloc>
<dealloc>FreeHeap</dealloc>
</memory>
<memory>
<alloc>AllocateLsaHeap</alloc>
<dealloc>FreeLsaHeap</dealloc>
</memory>
<memory>
<alloc>AllocatePrivateHeap</alloc>
<dealloc>FreePrivateHeap</dealloc>
</memory>
<memory>
<alloc>VirtualAlloc</alloc>
<dealloc>VirtualFree</dealloc>
</memory>
<memory>
<alloc>VirtualAllocEx</alloc>
<alloc>VirtualAllocExNuma</alloc>
<dealloc>VirtualFreeEx</dealloc>
</memory>
<memory>
<alloc>LocalAlloc</alloc>
<dealloc>LocalFree</dealloc>
</memory>
<memory>
<alloc>GlobalAlloc</alloc>
<dealloc>GlobalFree</dealloc>
</memory>
<memory>
<alloc init="true">MapViewOfFile</alloc>
<alloc init="true">MapViewOfFileEx</alloc>
<alloc init="true">MapViewOfFileExNuma</alloc>
<alloc init="true">MapViewOfFileFromApp</alloc>
<dealloc>UnmapViewOfFile</dealloc>
</memory>
<memory>
<alloc init="true">RtlCreateHeap</alloc>
<dealloc>RtlDestroyHeap</dealloc>
</memory>
<memory>
<alloc init="true">wcsdup</alloc>
<alloc init="true">_strdup</alloc>
<alloc init="true">_wcsdup</alloc>
<alloc init="true">_mbsdup</alloc>
<alloc init="true">_malloc_dbg</alloc>
<alloc init="true">_aligned_malloc</alloc>
<alloc init="true">_aligned_offset_malloc</alloc>
<alloc init="true">_strdup_dbg</alloc>
<alloc init="true">_wcsdup_dbg</alloc>
<dealloc>free</dealloc>
</memory>
2013-12-29 19:23:34 +01:00
<function name="RtlCompareMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlCopyBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlCopyMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlEqualMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlFillBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-uninit/></arg>
</function>
<function name="RtlFillMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-uninit/></arg>
</function>
<function name="RtlMoveMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlSecureZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlZeroBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
</function>
<function name="RtlZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
</function>
<function name="CopyMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="FillMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-uninit/></arg>
</function>
<function name="MoveMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
</function>
<function name="SecureZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
</function>
2013-12-29 19:23:34 +01:00
<function name="ZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
2013-12-29 19:23:34 +01:00
</function>
<function name="KeBugCheck">
<noreturn>true</noreturn>
</function>
<function name="KeBugCheckEx">
<noreturn>true</noreturn>
</function>
<function name="printf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fwprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snwprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrint"><noreturn>false</noreturn><leak-ignore/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrintEx"><noreturn>false</noreturn><leak-ignore/><arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintEx"><noreturn>false</noreturn><leak-ignore/><arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintExWithPrefix"><noreturn>false</noreturn><leak-ignore/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="scanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="sscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fwscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="swscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
2014-06-13 23:17:01 +02:00
<podtype name="ATOM" sign="u" size="2"/>
<podtype name="BOOL" sign="s" size="4"/>
<podtype name="BOOLEAN" sign="u" size="1"/>
<podtype name="BYTE" sign="u" size="1"/>
<podtype name="CCHAR" sign="s" size="1"/>
<podtype name="CHAR" sign="s" size="1"/>
<podtype name="COLORREF" sign="u" size="4"/>
<podtype name="DWORD" sign="u" size="4"/>
<podtype name="DWORDLONG" sign="u" size="8"/>
<podtype name="DWORD_PTR" sign="u"/>
2014-06-13 23:17:01 +02:00
<podtype name="DWORD32" sign="u" size="4"/>
<podtype name="DWORD64" sign="u" size="8"/>
<podtype name="HALF_PTR" sign="s"/>
2014-06-13 23:17:01 +02:00
<podtype name="HFILE" sign="s" size="4"/>
<podtype name="HRESULT" sign="s" size="4"/>
<podtype name="INT" sign="s" size="4"/>
<podtype name="INT_PTR" sign="s"/>
2014-06-13 23:17:01 +02:00
<podtype name="INT8" sign="s" size="1"/>
<podtype name="INT16" sign="s" size="2"/>
<podtype name="INT32" sign="s" size="4"/>
<podtype name="INT64" sign="s" size="8"/>
<podtype name="LANGID" sign="u" size="2"/>
<podtype name="LARGE_INTEGER" sign="s" size="8"/>
<podtype name="LCID" sign="u" size="4"/>
<podtype name="LCTYPE" sign="u" size="4"/>
<podtype name="LGRPID" sign="u" size="4"/>
<podtype name="LONG" sign="s" size="4"/>
<podtype name="LONGLONG" sign="s" size="8"/>
<podtype name="LONG_PTR" sign="s"/>
2014-06-13 23:17:01 +02:00
<podtype name="LONG32" sign="s" size="4"/>
<podtype name="LONG64" sign="s" size="8"/>
<podtype name="LPARAM" sign="s"/>
<podtype name="LRESULT" sign="s"/>
<podtype name="POINTER_SIGNED" sign="s"/>
<podtype name="POINTER_UNSIGNED" sign="u"/>
2014-06-13 23:17:01 +02:00
<podtype name="QWORD" sign="u" size="8"/>
<podtype name="SHORT" sign="s" size="2"/>
<podtype name="SIZE_T" sign="u"/>
<podtype name="SSIZE_T" sign="s"/>
2014-06-13 23:17:01 +02:00
<podtype name="UCHAR" sign="u" size="1"/>
<podtype name="UHALF_PTR" sign="u"/>
2014-06-13 23:17:01 +02:00
<podtype name="UINT" sign="u" size="4"/>
<podtype name="UINT_PTR" sign="u"/>
2014-06-13 23:17:01 +02:00
<podtype name="UINT8" sign="u" size="1"/>
<podtype name="UINT16" sign="u" size="2"/>
<podtype name="UINT32" sign="u" size="4"/>
<podtype name="UINT64" sign="u" size="8"/>
<podtype name="ULARGE_INTEGER" sign="u" size="8"/>
<podtype name="ULONG" sign="u" size="4"/>
<podtype name="ULONGLONG" sign="u" size="8"/>
<podtype name="ULONG_PTR" sign="u"/>
2014-06-13 23:17:01 +02:00
<podtype name="ULONG32" sign="u" size="4"/>
<podtype name="ULONG64" sign="u" size="8"/>
<podtype name="USHORT" sign="u" size="2"/>
<podtype name="USN" sign="s" size="8"/>
<podtype name="WORD" sign="u" size="2"/>
<podtype name="WPARAM" sign="u"/>
</def>