gnu.cfg: Added support for xstrdup().

This commit is contained in:
orbitcowboy 2019-02-28 22:46:16 +01:00
parent 2a8f42d0f4
commit 43daaca19c
1 changed files with 11 additions and 0 deletions

View File

@ -23,6 +23,17 @@
<valid>0:</valid>
</arg>
</function>
<!-- char *xstrdup(const char *s); -->
<function name="xstrdup">
<noreturn>false</noreturn>
<returnValue type="char *"/>
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void * xcalloc(size_t nitems, size_t size); -->
<function name="xcalloc">
<use-retval/>