2015-01-11 10:12:39 +01:00
|
|
|
<?xml version="1.0"?>
|
2017-07-23 12:09:41 +02:00
|
|
|
<def format="2">
|
2015-01-11 10:12:39 +01:00
|
|
|
<memory>
|
|
|
|
<dealloc>free</dealloc>
|
|
|
|
<alloc init="true">get_current_dir_name</alloc>
|
|
|
|
</memory>
|
2015-07-14 09:07:47 +02:00
|
|
|
<!-- http://man7.org/linux/man-pages/man2/accept.2.html -->
|
|
|
|
<!-- int accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags); -->
|
|
|
|
<function name="accept">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-07-14 09:07:47 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
2015-05-11 08:53:54 +02:00
|
|
|
<!-- long long atoq(const char *nptr); -->
|
|
|
|
<function name="atoq">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="long long"/>
|
2015-05-11 08:53:54 +02:00
|
|
|
<use-retval/>
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2016-01-21 16:32:00 +01:00
|
|
|
<!-- char *strndupa(const char *s, size_t n); -->
|
2015-02-16 22:19:51 +01:00
|
|
|
<function name="strndupa">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2015-02-16 22:19:51 +01:00
|
|
|
<use-retval/>
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
2016-12-05 10:37:13 +01:00
|
|
|
<valid>0:</valid>
|
2015-02-16 22:19:51 +01:00
|
|
|
</arg>
|
|
|
|
</function>
|
2017-02-22 10:27:05 +01:00
|
|
|
<!-- http://man7.org/linux/man-pages/man3/strsep.3.html -->
|
|
|
|
<!-- char *strsep(char **stringp, const char *delim); -->
|
|
|
|
<function name="strsep">
|
|
|
|
<use-retval/>
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2017-02-22 10:27:05 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2016-01-21 16:32:00 +01:00
|
|
|
<!-- char *strdupa(const char *s); -->
|
2015-02-16 22:19:51 +01:00
|
|
|
<function name="strdupa">
|
|
|
|
<use-retval/>
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2015-02-16 22:19:51 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2015-02-21 11:08:58 +01:00
|
|
|
<!-- http://www.gnu.org/software/libc/manual/html_node/Backtraces.html -->
|
|
|
|
<!-- int backtrace (void **buffer, int size) -->
|
|
|
|
<function name="backtrace">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-02-21 11:08:58 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
2015-10-23 09:46:39 +02:00
|
|
|
<minsize type="argvalue" arg="2"/>
|
2015-02-21 11:08:58 +01:00
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- char ** backtrace_symbols (void *const *buffer, int size) -->
|
|
|
|
<function name="backtrace_symbols">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char **"/>
|
2015-02-21 11:08:58 +01:00
|
|
|
<noreturn>false</noreturn>
|
2015-03-08 14:24:54 +01:00
|
|
|
<use-retval/>
|
2015-02-21 11:08:58 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
2015-10-23 09:46:39 +02:00
|
|
|
<minsize type="argvalue" arg="2"/>
|
2015-02-21 11:08:58 +01:00
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void backtrace_symbols_fd (void *const *buffer, int size, int fd) -->
|
|
|
|
<function name="backtrace_symbols_fd">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
2015-10-23 09:46:39 +02:00
|
|
|
<minsize type="argvalue" arg="2"/>
|
2015-02-21 11:08:58 +01:00
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2015-03-01 20:18:26 +01:00
|
|
|
<!-- char *qecvt(long double value, int ndigit, int * decpt, int * sign); -->
|
|
|
|
<function name="ecvt">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- char *qfcvt(double value, int ndigit, int * decpt, int * sign); -->
|
|
|
|
<function name="qfcvt">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- char *qgcvt(long double value, int ndigit, char *buf); -->
|
|
|
|
<function name="qgcvt">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- int ecvt_r (double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
|
|
<function name="ecvt_r">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
2015-03-08 14:24:54 +01:00
|
|
|
<pure/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2016-12-05 10:37:13 +01:00
|
|
|
<arg nr="6">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
2015-03-01 20:18:26 +01:00
|
|
|
</function>
|
|
|
|
<!-- int fcvt_r (double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
2015-03-05 06:48:44 +01:00
|
|
|
<function name="fcvt_r">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
2015-03-08 14:24:54 +01:00
|
|
|
<pure/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2016-12-05 10:37:13 +01:00
|
|
|
<arg nr="6">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
2015-03-01 20:18:26 +01:00
|
|
|
</function>
|
|
|
|
<!-- int qecvt_r (long double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
|
|
<function name="qecvt_r">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
2015-03-08 14:24:54 +01:00
|
|
|
<pure/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2016-12-05 10:37:13 +01:00
|
|
|
<arg nr="6">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
2015-03-01 20:18:26 +01:00
|
|
|
</function>
|
|
|
|
<!-- int qfcvt_r (long double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
|
|
<function name="qfcvt_r">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<noreturn>false</noreturn>
|
2015-03-08 14:24:54 +01:00
|
|
|
<pure/>
|
2015-03-01 20:18:26 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2016-12-05 10:37:13 +01:00
|
|
|
<arg nr="6">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
2015-03-01 20:18:26 +01:00
|
|
|
</function>
|
2015-03-08 14:04:09 +01:00
|
|
|
<!-- https://www.gnu.org/software/gnulib/manual/html_node/c_002dstrcasestr.html -->
|
|
|
|
<!-- size_t strcasestr(const char *s1, const char *s2); -->
|
|
|
|
<function name="strcasestr">
|
|
|
|
<use-retval/>
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="size_t"/>
|
2015-03-08 14:04:09 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
2015-03-08 14:24:54 +01:00
|
|
|
<pure/>
|
2015-03-08 14:04:09 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2015-07-14 09:07:47 +02:00
|
|
|
<!-- http://linux.die.net/man/2/getresuid -->
|
|
|
|
<!-- int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); -->
|
|
|
|
<function name="getresuid">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-07-14 09:07:47 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<pure/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- http://linux.die.net/man/2/getresuid -->
|
|
|
|
<!-- int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); -->
|
|
|
|
<function name="getresgid">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-07-14 09:07:47 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<pure/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- http://man7.org/linux/man-pages/man2/setresuid.2.html -->
|
|
|
|
<!-- int setresuid(uid_t ruid, uid_t euid, uid_t suid);-->
|
|
|
|
<function name="setresuid">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-07-14 09:07:47 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- http://man7.org/linux/man-pages/man2/setresuid.2.html -->
|
|
|
|
<!-- int setresgid(gid_t rgid, gid_t egid, gid_t sgid);-->
|
|
|
|
<function name="setresgid">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2015-07-14 09:07:47 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
2016-01-08 10:59:00 +01:00
|
|
|
<!-- int inet_aton (const char *name, struct in_addr *addr); -->
|
|
|
|
<function name="inet_aton">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- uint32_t inet_addr (const char *name); -->
|
|
|
|
<function name="inet_addr">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="uint32_t"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- uint32_t inet_network (const char *name); -->
|
|
|
|
<function name="inet_network">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="uint32_t"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- char * inet_ntoa (struct in_addr addr); -->
|
|
|
|
<function name="inet_ntoa">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- struct in_addr inet_makeaddr (uint32_t net, uint32_t local); -->
|
|
|
|
<function name="inet_makeaddr">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="struct in_addr"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
2016-12-05 10:37:13 +01:00
|
|
|
<valid>0:4294967295</valid>
|
|
|
|
<!-- 0:UINT32_MAX-->
|
2016-01-08 10:59:00 +01:00
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
2016-12-05 10:37:13 +01:00
|
|
|
<valid>0:4294967295</valid>
|
|
|
|
<!-- 0:UINT32_MAX-->
|
2016-01-08 10:59:00 +01:00
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- uint32_t inet_lnaof (struct in_addr addr); -->
|
|
|
|
<function name="inet_lnaof">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="uint32_t"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- uint32_t inet_netof (struct in_addr addr); -->
|
|
|
|
<function name="inet_netof">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="uint32_t"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- int inet_pton (int af, const char *cp, void *buf); -->
|
|
|
|
<function name="inet_pton">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
|
|
|
<!-- const char * inet_ntop (int af, const void *cp, char *buf, socklen_t len);-->
|
|
|
|
<function name="inet_ntop">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2016-01-08 10:59:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<leak-ignore/>
|
|
|
|
</function>
|
2016-01-11 15:00:36 +01:00
|
|
|
<!-- char *canonicalize_file_name(const char *path); -->
|
|
|
|
<function name="canonicalize_file_name">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2016-01-11 15:00:36 +01:00
|
|
|
<use-retval/>
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2016-01-11 15:22:40 +01:00
|
|
|
</function>
|
2016-01-13 11:57:21 +01:00
|
|
|
<!-- int execvpe(const char *file, char *const argv[], char *const envp[]); -->
|
|
|
|
<function name="execvpe">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-13 11:57:21 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2016-01-21 16:32:00 +01:00
|
|
|
<!-- int mkostemp(char *template, int flags);
|
|
|
|
int mkstemps(char *template, int suffixlen);-->
|
|
|
|
<function name="mkostemp,mkstemps">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-21 16:32:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- int mkostemps(char *template, int suffixlen, int flags); -->
|
|
|
|
<function name="mkostemps">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-21 16:32:00 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- see http://man7.org/linux/man-pages/man3/memmem.3.html-->
|
|
|
|
<!-- void *memmem(const void *haystack, size_t haystacklen,
|
|
|
|
const void *needle, size_t needlelen);-->
|
|
|
|
<function name="memmem">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
2016-12-04 20:30:33 +01:00
|
|
|
<use-retval/>
|
2017-10-05 11:45:46 +02:00
|
|
|
<returnValue type="void *"/>
|
2016-01-21 16:32:00 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
2016-12-04 20:30:33 +01:00
|
|
|
<valid>0:</valid>
|
2016-01-21 16:32:00 +01:00
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-uninit/>
|
2016-12-04 20:30:33 +01:00
|
|
|
<valid>0:</valid>
|
2016-01-21 16:32:00 +01:00
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- http://man7.org/linux/man-pages/man3/memrchr.3.html -->
|
|
|
|
<!-- void *memrchr(const void *s, int c, size_t n); -->
|
|
|
|
<function name="memrchr">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
2017-10-05 11:45:46 +02:00
|
|
|
<returnValue type="void *"/>
|
2016-01-21 16:32:00 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-bool/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- http://man7.org/linux/man-pages/man3/rawmemchr.3.html -->
|
|
|
|
<!-- void *rawmemchr(const void *s, int c); -->
|
|
|
|
<function name="rawmemchr">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
2017-10-05 11:45:46 +02:00
|
|
|
<returnValue type="void *"/>
|
2016-01-21 16:32:00 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2016-01-22 10:40:04 +01:00
|
|
|
<!-- http://man7.org/linux/man-pages/man3/ffs.3.html -->
|
|
|
|
<!-- int ffsl(long int i);
|
|
|
|
int ffsll(long long int i); -->
|
|
|
|
<function name="ffsl,ffsll">
|
|
|
|
<use-retval/>
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-22 10:40:04 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- http://man7.org/linux/man-pages/man3/strchr.3.html -->
|
|
|
|
<!-- char *strchrnul(const char *s, int c); -->
|
|
|
|
<function name="strchrnul">
|
|
|
|
<use-retval/>
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="char *"/>
|
2016-01-22 10:40:04 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
<strz/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- http://man7.org/linux/man-pages/man2/setrlimit.2.html -->
|
|
|
|
<!-- int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
|
|
|
|
struct rlimit *old_limit); -->
|
|
|
|
<function name="prlimit">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2016-01-22 10:40:04 +01:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4"/>
|
|
|
|
</function>
|
2015-08-10 20:21:30 +02:00
|
|
|
<!-- see https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html -->
|
|
|
|
<define name="__builtin_expect(X,Y)" value="(X)"/>
|
|
|
|
<!-- see http://kernelnewbies.org/FAQ/LikelyUnlikely -->
|
2015-08-08 12:49:42 +02:00
|
|
|
<define name="likely(X)" value="(X)"/>
|
|
|
|
<define name="unlikely(X)" value="(X)"/>
|
2017-05-29 00:47:24 +02:00
|
|
|
<podtype name="epoll_event"/>
|
|
|
|
<!-- int epoll_create(int size);
|
|
|
|
int epoll_create1(int flags); -->
|
|
|
|
<function name="epoll_create,epoll_create1">
|
|
|
|
<noreturn>false</noreturn>
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2017-05-29 00:47:24 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); -->
|
|
|
|
<function name="epoll_ctl">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2017-05-29 00:47:24 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-bool/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); -->
|
|
|
|
<function name="epoll_wait">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2017-05-29 00:47:24 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-bool/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>1:</valid>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask); -->
|
|
|
|
<function name="epoll_pwait">
|
2017-08-02 14:34:06 +02:00
|
|
|
<returnValue type="int"/>
|
2017-05-29 00:47:24 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-bool/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>1:</valid>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-bool/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5">
|
|
|
|
<not-bool/>
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<resource>
|
|
|
|
<dealloc>close</dealloc>
|
|
|
|
<alloc init="true">epoll_create</alloc>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<dealloc>close</dealloc>
|
|
|
|
<alloc init="true">epoll_create1</alloc>
|
|
|
|
</resource>
|
|
|
|
<podtype name="epoll_event"/>
|
2015-01-11 10:12:39 +01:00
|
|
|
</def>
|