php-src/win32/build/cppcheck.cfg
2017-03-07 01:29:45 +01:00

453 lines
9.5 KiB
INI

<?xml version="1.0"?>
<def format="2">
<function name="_zend_mm_realloc">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="_zend_mm_realloc2">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="_emalloc,_emalloc_large,_emalloc_huge">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<minsize type="argvalue" arg="1"/>
</arg>
</function>
<function name="_safe_emalloc">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="3">
<minsize type="argvalue" arg="1"/>
</arg>
</function>
<function name="_ecalloc">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
</function>
<function name="_estrdup">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="_efree,_efree_large,_efree_huge">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="_zend_mm_free">
<noreturn>false</noreturn>
</function>
<function name="_estrndup">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
</function>
<function name="_erealloc">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="_erealloc2">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="_safe_erealloc">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="_safe_realloc">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="__zend_realloc">
<use-retval/>
<noreturn>false</noreturn>
</function>
<function name="_zend_hash_real_init">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2"/>
</function>
<function name="_zend_hash_init">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2"/>
<arg nr="3"/>
<arg nr="4"/>
</function>
<function name="_zend_hash_init_ex">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2"/>
<arg nr="3"/>
<arg nr="4"/>
<arg nr="5"/>
</function>
<function name="_zend_hash_destroy">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="_zend_hash_clean">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_string_alloc">
<use-retval/>
<arg nr="1">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="2"/>
</function>
<function name="zend_string_addref">
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_string_delref">
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_string_safe_alloc">
<use-retval/>
<arg nr="1"/>
<arg nr="2"/>
<arg nr="3"/>
<arg nr="4"/>
</function>
<function name="zend_string_init">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="3"/>
</function>
<function name="zend_string_copy">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_string_dup">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2"/>
</function>
<function name="zend_string_realloc">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="3"/>
</function>
<function name="zend_string_extend">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="3"/>
</function>
<function name="zend_string_truncate">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="3"/>
</function>
<function name="zend_string_safe_realloc">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="3">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="4">
<minsize type="argvalue" arg="1"/>
</arg>
<arg nr="5"/>
</function>
<function name="zend_string_free">
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_string_release">
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_string_equals">
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<memory>
<alloc init="false">_emalloc</alloc>
<alloc init="true">_safe_emalloc</alloc>
<alloc init="true">_ecalloc</alloc>
<alloc init="true">_estrdup</alloc>
<alloc init="true">_estrndup</alloc>
<dealloc>_efree</dealloc>
</memory>
<memory>
<alloc init="true">_emalloc_large</alloc>
<dealloc>_efree_large</dealloc>
</memory>
<memory>
<alloc init="true">_emalloc_huge</alloc>
<dealloc>_efree_huge</dealloc>
</memory>
<memory>
<alloc init="true">__zend_malloc</alloc>
<alloc init="true">__zend_calloc</alloc>
<alloc init="true">_safe_malloc</alloc>
<alloc init="true">zend_strndup</alloc>
<dealloc>free</dealloc>
</memory>
<memory>
<alloc init="true">_zend_mm_malloc</alloc>
<alloc init="true">_zend_mm_calloc</alloc>
<dealloc>_zend_mm_free</dealloc>
</memory>
<!--
<resource>
<alloc init="true">_zend_hash_init</alloc>
<alloc init="true">_zend_hash_init_ex</alloc>
<alloc init="true">_zend_hash_real_init_ex</alloc>
<dealloc>_zend_hash_destroy</dealloc>
</resource>
<resource>
<alloc init="true">zend_string_alloc</alloc>
<alloc init="true">zend_string_safe_alloc</alloc>
<dealloc>zend_string_free</dealloc>
<dealloc>zend_string_release</dealloc>
</resource>
-->
<function name="zend_error_noreturn">
<noreturn>true</noreturn>
<leak-ignore/>
</function>
<function name="zend_mm_panic">
<noreturn>true</noreturn>
<leak-ignore/>
</function>
<function name="zend_mm_safe_error">
<noreturn>true</noreturn>
<leak-ignore/>
</function>
<function name="zend_out_of_memory">
<noreturn>true</noreturn>
<leak-ignore/>
</function>
<function name="zend_out_of_memory">
<noreturn>true</noreturn>
<leak-ignore/>
</function>
<function name="_zend_mm_alloc">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="1"/>
</arg>
</function>
<function name="_zend_mm_free">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2"/>
</function>
<function name="smart_str_alloc">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2"/>
<arg nr="3"/>
</function>
<function name="smart_str_appendl_ex">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3"/>
<arg nr="4"/>
</function>
<function name="smart_str_free">
<noreturn>false</noreturn>
<arg nr="1"/>
</function>
<resource>
<alloc init="true">zend_str_alloc</alloc>
<dealloc>zend_str_free</dealloc>
</resource>
<function name="_php_stream_alloc">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2"/>
<arg nr="3"/>
<arg nr="4"/>
</function>
<function name="_php_stream_free">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2"/>
</function>
<resource>
<alloc init="true">_php_stream_alloc</alloc>
<dealloc>_php_stream_free</dealloc>
</resource>
<function name="zend_init_rsrc_list">
<noreturn>false</noreturn>
</function>
<function name="zend_init_rsrc_plist">
<noreturn>false</noreturn>
</function>
<function name="zend_close_rsrc_plist">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="zend_destroy_rsrc_plist">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<resource>
<alloc init="true">zend_init_rsrc_list</alloc>
<alloc init="true">zend_init_rsrc_plist</alloc>
<dealloc>zend_close_rsrc_plist</dealloc>
<dealloc>zend_destroy_rsrc_plist</dealloc>
</resource>
<function name="zend_init_rsrc_list_dtors">
<noreturn>false</noreturn>
</function>
<function name="zend_destroy_rsrc_list_dtors">
<noreturn>false</noreturn>
</function>
<resource>
<alloc init="true">zend_init_rsrc_list_dtors</alloc>
<dealloc>zend_destroy_rsrc_list_dtors</dealloc>
</resource>
<function name="zend_list_insert,zend_register_resource">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2"/>
</function>
<function name="zend_list_close">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<resource>
<alloc init="true">zend_list_insert</alloc>
<dealloc>zend_list_close</dealloc>
</resource>
<function name="zend_bailout">
<noreturn>true</noreturn>
<leak-ignore/>
</function>
<function name="php_hashcontext_dtor">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="php_hashcontext_create">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<resource>
<alloc init="true">php_hashcontext_create</alloc>
<dealloc>php_hashcontext_dtor</dealloc>
</resource>
</def>