cppcheck/cfg/posix.cfg

45 lines
2.0 KiB
INI
Raw Normal View History

<?xml version="1.0"?>
<def>
<function name="usleep"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><valid>0-999999</valid></arg> </function>
<function name="_exit"> <noreturn>true</noreturn> </function>
<function name="closedir"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-uninit/><not-null/></arg> </function>
2014-02-11 13:49:17 +01:00
<function name="mkstemp"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="mkdtemp"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="mktemp"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="getcwd">
<noreturn>false</noreturn>
<arg nr="1"><not-null/></arg>
2014-03-25 18:24:41 +01:00
<arg nr="2"><not-uninit/><not-null/></arg>
<leak-ignore/>
</function>
<function name="mkdir">
<noreturn>false</noreturn>
<arg nr="1"><not-uninit/><not-null/></arg>
2014-03-25 18:24:41 +01:00
<arg nr="2"><not-uninit/><not-null/></arg>
<leak-ignore/>
</function>
<function name="rmdir"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
2014-03-25 18:24:41 +01:00
<function name="chdir"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="link">
<noreturn>false</noreturn>
<arg nr="1"><not-uninit/><not-null/></arg>
2014-03-25 18:24:41 +01:00
<arg nr="2"><not-uninit/><not-null/></arg>
<leak-ignore/>
2014-03-25 18:40:50 +01:00
</function>
<function name="rename"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="isatty"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/></arg> <leak-ignore/> </function>
2014-01-26 09:42:46 +01:00
<resource>
<dealloc>close</dealloc>
<alloc init="true">open</alloc>
2014-01-26 09:42:46 +01:00
<alloc init="true">socket</alloc>
</resource>
<resource>
<dealloc>closedir</dealloc>
<alloc init="true">opendir</alloc>
<alloc init="true">fdopendir</alloc>
</resource>
</def>