cppcheck/cfg/std.cfg

45 lines
2.2 KiB
INI

<?xml version="1.0"?>
<def>
<memory>
<dealloc>free</dealloc>
<alloc init="false">malloc</alloc>
<alloc init="true">calloc</alloc>
<alloc init="true">strdup</alloc>
<alloc init="true">strndup</alloc>
</memory>
<resource>
<dealloc>fclose</dealloc>
<alloc init="false">fopen</alloc>
</resource>
<function name="fopen"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="fclose"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="fflush"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="isalha"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="isalnum"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="isdigit"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="isxdigit"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="islower"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="isupper"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="memchr"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="memcpy"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="memmove"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="memset"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strcat"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strchr"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strcpy"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strcmp"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strdup"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strlen"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strncat"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strncpy"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strncmp"> <noreturn>false</noreturn> <leak-ignore/> </function>
<function name="strstr"> <noreturn>false</noreturn> <leak-ignore/> </function>
</def>