posix.cfg: Added more returnValue-types and increased function support.
This commit is contained in:
parent
5c7591db9e
commit
4024420a4d
144
cfg/posix.cfg
144
cfg/posix.cfg
|
@ -1121,6 +1121,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- ssize_t read(int fd, void *buf, size_t count); -->
|
<!-- ssize_t read(int fd, void *buf, size_t count); -->
|
||||||
<function name="read">
|
<function name="read">
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1136,6 +1137,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<function name="write">
|
<function name="write">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1148,7 +1150,9 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- ssize_t recv(int sockfd, void *buf, size_t len, int flags); -->
|
||||||
<function name="recv">
|
<function name="recv">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1162,7 +1166,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- ssize_t recvfrom(int sockfd, void *buf, size_t len, int flags,
|
||||||
|
struct sockaddr *src_addr, socklen_t *addrlen); -->
|
||||||
<function name="recvfrom">
|
<function name="recvfrom">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1178,7 +1185,19 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<arg nr="5"/>
|
<arg nr="5"/>
|
||||||
<arg nr="6"/>
|
<arg nr="6"/>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags); -->
|
||||||
|
<function name="recvmsg">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- ssize_t send(int sockfd, const void *buf, size_t len, int flags); -->
|
||||||
<function name="send">
|
<function name="send">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1192,7 +1211,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- ssize_t sendto(int sockfd, const void *buf, size_t len, int flags,
|
||||||
|
const struct sockaddr *dest_addr, socklen_t addrlen); -->
|
||||||
<function name="sendto">
|
<function name="sendto">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1208,6 +1230,19 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<arg nr="5"/>
|
<arg nr="5"/>
|
||||||
<arg nr="6"/>
|
<arg nr="6"/>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags); -->
|
||||||
|
<function name="sendmsg">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); -->
|
<!-- void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); -->
|
||||||
<function name="mmap">
|
<function name="mmap">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -1260,6 +1295,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int munmap(void *addr, size_t length); -->
|
<!-- int munmap(void *addr, size_t length); -->
|
||||||
<function name="munmap">
|
<function name="munmap">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1288,6 +1324,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<function name="fcntl">
|
<function name="fcntl">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1328,23 +1365,29 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- gid_t getgid(void) -->
|
||||||
<function name="getgid">
|
<function name="getgid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="gid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- gid_t getegid(void) -->
|
||||||
<function name="getegid">
|
<function name="getegid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="gid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- uid_t getuid (void); -->
|
<!-- uid_t getuid (void); -->
|
||||||
<function name="getuid">
|
<function name="getuid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="uid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t getsid(pid_t pid); -->
|
<!-- pid_t getsid(pid_t pid); -->
|
||||||
<function name="getsid">
|
<function name="getsid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1354,30 +1397,35 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- uid_t geteuid(void); -->
|
<!-- uid_t geteuid(void); -->
|
||||||
<function name="geteuid">
|
<function name="geteuid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="uid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t getppid(void); -->
|
<!-- pid_t getppid(void); -->
|
||||||
<function name="getppid">
|
<function name="getppid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t getpid(void); -->
|
<!-- pid_t getpid(void); -->
|
||||||
<function name="getpid">
|
<function name="getpid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t getpgrp(void); -->
|
<!-- pid_t getpgrp(void); -->
|
||||||
<function name="getpgrp">
|
<function name="getpgrp">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
<!-- ppid_t getpgid(pid_t pid); -->
|
<!-- ppid_t getpgid(pid_t pid); -->
|
||||||
<function name="getpgid">
|
<function name="getpgid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="ppid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1387,6 +1435,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int setuid(uid_t uid); -->
|
<!-- int setuid(uid_t uid); -->
|
||||||
<function name="setuid">
|
<function name="setuid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1396,14 +1445,17 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int seteuid(uid_t euid); -->
|
<!-- int seteuid(uid_t euid); -->
|
||||||
<function name="seteuid">
|
<function name="seteuid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int setgid(gid_t gid); -->
|
||||||
<function name="setgid">
|
<function name="setgid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1413,6 +1465,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int setegid(gid_t egid); -->
|
<!-- int setegid(gid_t egid); -->
|
||||||
<function name="setegid">
|
<function name="setegid">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1421,6 +1474,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int setpgid(pid_t pid, pid_t pgid); -->
|
<!-- int setpgid(pid_t pid, pid_t pgid); -->
|
||||||
<function name="setpgid">
|
<function name="setpgid">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1431,14 +1485,17 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int pipe(int fildes[2]); -->
|
<!-- int pipe(int fildes[2]); -->
|
||||||
<function name="pipe">
|
<function name="pipe">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t setpgrp(void); -->
|
<!-- pid_t setpgrp(void); -->
|
||||||
<function name="setpgrp">
|
<function name="setpgrp">
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- int setregid(gid_t rgid, gid_t egid); -->
|
<!-- int setregid(gid_t rgid, gid_t egid); -->
|
||||||
<function name="setregid">
|
<function name="setregid">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1449,6 +1506,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int setreuid(uid_t ruid, uid_t euid); -->
|
<!-- int setreuid(uid_t ruid, uid_t euid); -->
|
||||||
<function name="setreuid">
|
<function name="setreuid">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1459,6 +1517,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int setfsuid(uid_t fsuid); -->
|
<!-- int setfsuid(uid_t fsuid); -->
|
||||||
<function name="setfsuid">
|
<function name="setfsuid">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1467,6 +1526,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int setfsgid(uid_t fsgid); -->
|
<!-- int setfsgid(uid_t fsgid); -->
|
||||||
<function name="setfsgid">
|
<function name="setfsgid">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1475,11 +1535,13 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t setsid(void); -->
|
<!-- pid_t setsid(void); -->
|
||||||
<function name="setsid">
|
<function name="setsid">
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<!-- it is a good idea to do: <use-retval/> -->
|
<!-- it is a good idea to do: <use-retval/> -->
|
||||||
</function>
|
</function>
|
||||||
<!-- char *getwd(char *path_name);-->
|
<!-- char *getwd(char *path_name);-->
|
||||||
<function name="getwd">
|
<function name="getwd">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1490,6 +1552,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/arpa/inet.h.html -->
|
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/arpa/inet.h.html -->
|
||||||
<!-- uint32_t htonl(uint32_t); -->
|
<!-- uint32_t htonl(uint32_t); -->
|
||||||
<function name="htonl">
|
<function name="htonl">
|
||||||
|
<returnValue type="uint32_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1497,6 +1560,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- uint16_t htons(uint16_t); -->
|
<!-- uint16_t htons(uint16_t); -->
|
||||||
<function name="htons">
|
<function name="htons">
|
||||||
|
<returnValue type="uint16_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1504,6 +1568,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- uint32_t ntohl(uint32_t); -->
|
<!-- uint32_t ntohl(uint32_t); -->
|
||||||
<function name="ntohl">
|
<function name="ntohl">
|
||||||
|
<returnValue type="uint32_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1511,6 +1576,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- uint16_t ntohs(uint16_t); -->
|
<!-- uint16_t ntohs(uint16_t); -->
|
||||||
<function name="ntohs">
|
<function name="ntohs">
|
||||||
|
<returnValue type="uint16_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1518,6 +1584,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int mq_close(mqd_t); -->
|
<!-- int mq_close(mqd_t); -->
|
||||||
<function name="mq_close">
|
<function name="mq_close">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1525,6 +1592,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int mq_getattr(mqd_t, struct mq_attr *); -->
|
<!-- int mq_getattr(mqd_t, struct mq_attr *); -->
|
||||||
<function name="mq_getattr">
|
<function name="mq_getattr">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1533,6 +1601,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int mq_notify(mqd_t, const struct sigevent *); -->
|
<!-- int mq_notify(mqd_t, const struct sigevent *); -->
|
||||||
<function name="mq_notify">
|
<function name="mq_notify">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1542,10 +1611,12 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- mqd_t mq_open(const char *, int, ...); -->
|
<!-- mqd_t mq_open(const char *, int, ...); -->
|
||||||
<function name="mq_open">
|
<function name="mq_open">
|
||||||
|
<returnValue type="mqd_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); -->
|
<!-- ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); -->
|
||||||
<function name="mq_receive">
|
<function name="mq_receive">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1554,6 +1625,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int mq_send(mqd_t, const char *, size_t, unsigned); -->
|
<!-- int mq_send(mqd_t, const char *, size_t, unsigned); -->
|
||||||
<function name="mq_send">
|
<function name="mq_send">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1563,6 +1635,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int mq_setattr(mqd_t, const struct mq_attr *restrict,-->
|
<!-- int mq_setattr(mqd_t, const struct mq_attr *restrict,-->
|
||||||
<!-- struct mq_attr *restrict); -->
|
<!-- struct mq_attr *restrict); -->
|
||||||
<function name="mq_setattr">
|
<function name="mq_setattr">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1572,6 +1645,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- ssize_t mq_timedreceive(mqd_t, char *restrict, size_t,-->
|
<!-- ssize_t mq_timedreceive(mqd_t, char *restrict, size_t,-->
|
||||||
<!-- unsigned *restrict, const struct timespec *restrict); -->
|
<!-- unsigned *restrict, const struct timespec *restrict); -->
|
||||||
<function name="mq_timedreceive">
|
<function name="mq_timedreceive">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1581,6 +1655,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int mq_timedsend(mqd_t, const char *, size_t, unsigned,-->
|
<!-- int mq_timedsend(mqd_t, const char *, size_t, unsigned,-->
|
||||||
<!-- const struct timespec *); -->
|
<!-- const struct timespec *); -->
|
||||||
<function name="mq_timedsend">
|
<function name="mq_timedsend">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1589,6 +1664,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int mq_unlink(const char *); -->
|
<!-- int mq_unlink(const char *); -->
|
||||||
<function name="mq_unlink">
|
<function name="mq_unlink">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1597,6 +1673,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int dbm_clearerr(DBM *); -->
|
<!-- int dbm_clearerr(DBM *); -->
|
||||||
<function name="dbm_clearerr">
|
<function name="dbm_clearerr">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1613,6 +1690,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int dbm_delete(DBM *, datum); -->
|
<!-- int dbm_delete(DBM *, datum); -->
|
||||||
<function name="dbm_delete">
|
<function name="dbm_delete">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1625,6 +1703,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int dbm_error(DBM *); -->
|
<!-- int dbm_error(DBM *); -->
|
||||||
<function name="dbm_error">
|
<function name="dbm_error">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1634,6 +1713,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- datum dbm_fetch(DBM *, datum); -->
|
<!-- datum dbm_fetch(DBM *, datum); -->
|
||||||
<function name="dbm_fetch">
|
<function name="dbm_fetch">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="datum"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1646,6 +1726,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- datum dbm_firstkey(DBM *); -->
|
<!-- datum dbm_firstkey(DBM *); -->
|
||||||
<function name="dbm_firstkey">
|
<function name="dbm_firstkey">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="datum"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1655,6 +1736,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- datum dbm_nextkey(DBM *); -->
|
<!-- datum dbm_nextkey(DBM *); -->
|
||||||
<function name="dbm_nextkey">
|
<function name="dbm_nextkey">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="datum"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1663,6 +1745,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- DBM *dbm_open(const char *, int, mode_t); -->
|
<!-- DBM *dbm_open(const char *, int, mode_t); -->
|
||||||
<function name="dbm_open">
|
<function name="dbm_open">
|
||||||
|
<returnValue type="DBM *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1677,6 +1760,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int dbm_store(DBM *, datum, datum, int); -->
|
<!-- int dbm_store(DBM *, datum, datum, int); -->
|
||||||
<function name="dbm_store">
|
<function name="dbm_store">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1705,6 +1789,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/freeaddrinfo.html -->
|
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/freeaddrinfo.html -->
|
||||||
<!-- int getaddrinfo(const char * nodename, const char * servname, const struct addrinfo * hints, struct addrinfo ** res); -->
|
<!-- int getaddrinfo(const char * nodename, const char * servname, const struct addrinfo * hints, struct addrinfo ** res); -->
|
||||||
<function name="getaddrinfo">
|
<function name="getaddrinfo">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1737,6 +1822,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int uname(struct utsname *buf); -->
|
<!-- int uname(struct utsname *buf); -->
|
||||||
<function name="uname">
|
<function name="uname">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1763,6 +1849,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char *strtok(char *s, const char *ct); -->
|
<!-- char *strtok(char *s, const char *ct); -->
|
||||||
<function name="strtok,std::strtok">
|
<function name="strtok,std::strtok">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<pure/>
|
<pure/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -1779,6 +1866,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<function name="strtok_r">
|
<function name="strtok_r">
|
||||||
<!-- strtok may modify the first argument, so using the return value is not mandatory -->
|
<!-- strtok may modify the first argument, so using the return value is not mandatory -->
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="char *"/>
|
||||||
<pure/>
|
<pure/>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1795,6 +1883,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!--int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); -->
|
<!--int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); -->
|
||||||
<function name="getpwnam_r">
|
<function name="getpwnam_r">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1816,6 +1905,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); -->
|
<!-- int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); -->
|
||||||
<function name="getpwuid_r">
|
<function name="getpwuid_r">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1832,6 +1922,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int catclose(nl_catd); -->
|
<!-- int catclose(nl_catd); -->
|
||||||
<function name="catclose">
|
<function name="catclose">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1839,6 +1930,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char *catgets(nl_catd, int, int, const char *); -->
|
<!-- char *catgets(nl_catd, int, int, const char *); -->
|
||||||
<function name="catgets">
|
<function name="catgets">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1856,6 +1948,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- nl_catd catopen(const char *, int); -->
|
<!-- nl_catd catopen(const char *, int); -->
|
||||||
<function name="catopen">
|
<function name="catopen">
|
||||||
|
<returnValue type="nl_catd"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1868,6 +1961,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html -->
|
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html -->
|
||||||
<!-- int poll(struct pollfd [], nfds_t, int); -->
|
<!-- int poll(struct pollfd [], nfds_t, int); -->
|
||||||
<function name="poll">
|
<function name="poll">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1881,6 +1975,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int regcomp(regex_t *, const char *, int); -->
|
<!-- int regcomp(regex_t *, const char *, int); -->
|
||||||
<function name="regcomp">
|
<function name="regcomp">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1894,6 +1989,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- size_t regerror(int, const regex_t *, char *, size_t); -->
|
<!-- size_t regerror(int, const regex_t *, char *, size_t); -->
|
||||||
<function name="regerror">
|
<function name="regerror">
|
||||||
|
<returnValue type="size_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1908,6 +2004,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int regexec(const regex_t *, const char *, size_t, regmatch_t [restrict], int); -->
|
<!-- int regexec(const regex_t *, const char *, size_t, regmatch_t [restrict], int); -->
|
||||||
<function name="regexec">
|
<function name="regexec">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -1938,6 +2035,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_get_priority_max(int); -->
|
<!-- int sched_get_priority_max(int); -->
|
||||||
<function name="sched_get_priority_max">
|
<function name="sched_get_priority_max">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1945,6 +2043,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_get_priority_min(int); -->
|
<!-- int sched_get_priority_min(int); -->
|
||||||
<function name="sched_get_priority_min">
|
<function name="sched_get_priority_min">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1952,6 +2051,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_getparam(pid_t, struct sched_param *); -->
|
<!-- int sched_getparam(pid_t, struct sched_param *); -->
|
||||||
<function name="sched_getparam">
|
<function name="sched_getparam">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1962,6 +2062,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_getscheduler(pid_t); -->
|
<!-- int sched_getscheduler(pid_t); -->
|
||||||
<function name="sched_getscheduler">
|
<function name="sched_getscheduler">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1970,6 +2071,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int sched_rr_get_interval(pid_t, struct timespec *); -->
|
<!-- int sched_rr_get_interval(pid_t, struct timespec *); -->
|
||||||
<function name="sched_rr_get_interval">
|
<function name="sched_rr_get_interval">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="int"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
@ -1979,6 +2081,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_setparam(pid_t, const struct sched_param *); -->
|
<!-- int sched_setparam(pid_t, const struct sched_param *); -->
|
||||||
<function name="sched_setparam">
|
<function name="sched_setparam">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -1989,6 +2092,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_setscheduler(pid_t, int, const struct sched_param *); -->
|
<!-- int sched_setscheduler(pid_t, int, const struct sched_param *); -->
|
||||||
<function name="sched_setscheduler">
|
<function name="sched_setscheduler">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2002,11 +2106,13 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int sched_yield(void); -->
|
<!-- int sched_yield(void); -->
|
||||||
<function name="sched_yield">
|
<function name="sched_yield">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- char *ecvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
|
<!-- char *ecvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
|
||||||
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
|
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
|
||||||
<function name="ecvt">
|
<function name="ecvt">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2025,6 +2131,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- char *fcvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
|
<!-- char *fcvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
|
||||||
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
|
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
|
||||||
<function name="fcvt">
|
<function name="fcvt">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2043,6 +2150,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- char *gcvt(double value, int ndigit, char *buf);-->
|
<!-- char *gcvt(double value, int ndigit, char *buf);-->
|
||||||
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
|
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
|
||||||
<function name="gcvt">
|
<function name="gcvt">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2057,6 +2165,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- off_t lseek(int fildes, off_t offset, int whence); -->
|
<!-- off_t lseek(int fildes, off_t offset, int whence); -->
|
||||||
<function name="lseek">
|
<function name="lseek">
|
||||||
|
<returnValue type="off_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2071,6 +2180,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); -->
|
<!-- int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); -->
|
||||||
<function name="nanosleep">
|
<function name="nanosleep">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2089,6 +2199,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char *getpass(const char *prompt); -->
|
<!-- char *getpass(const char *prompt); -->
|
||||||
<function name="getpass">
|
<function name="getpass">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2099,10 +2210,12 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- double drand48(void); -->
|
<!-- double drand48(void); -->
|
||||||
<function name="drand48">
|
<function name="drand48">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="double"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- int putenv(char *string); -->
|
<!-- int putenv(char *string); -->
|
||||||
<function name="putenv">
|
<function name="putenv">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -2111,6 +2224,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int setenv(const char *envname, const char *envval, int overwrite); -->
|
<!-- int setenv(const char *envname, const char *envval, int overwrite); -->
|
||||||
<function name="setenv">
|
<function name="setenv">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -2126,6 +2240,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int unsetenv(const char *name); -->
|
<!-- int unsetenv(const char *name); -->
|
||||||
<function name="unsetenv">
|
<function name="unsetenv">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -2135,6 +2250,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- struct tm * localtime(const time_t *tp); -->
|
<!-- struct tm * localtime(const time_t *tp); -->
|
||||||
<function name="localtime,std::localtime">
|
<function name="localtime,std::localtime">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="struct tm *"/>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -2145,6 +2261,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- struct tm *localtime_r(const time_t *timep, struct tm *result); -->
|
<!-- struct tm *localtime_r(const time_t *timep, struct tm *result); -->
|
||||||
<function name="localtime_r">
|
<function name="localtime_r">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="struct tm *"/>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
@ -2156,6 +2273,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- struct dirent *readdir(DIR *dirp); -->
|
<!-- struct dirent *readdir(DIR *dirp); -->
|
||||||
<function name="readdir">
|
<function name="readdir">
|
||||||
|
<returnValue type="struct dirent *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2166,6 +2284,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); -->
|
<!-- int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); -->
|
||||||
<function name="readdir_r">
|
<function name="readdir_r">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2181,6 +2300,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- ssize_t readlink(const char *path, char *buf, size_t bufsiz); -->
|
<!-- ssize_t readlink(const char *path, char *buf, size_t bufsiz); -->
|
||||||
<function name="readlink">
|
<function name="readlink">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2197,6 +2317,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); -->
|
<!-- int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); -->
|
||||||
<function name="readlinkat">
|
<function name="readlinkat">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2216,6 +2337,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char *asctime_r(const struct tm *tm, char *buf); -->
|
<!-- char *asctime_r(const struct tm *tm, char *buf); -->
|
||||||
<function name="asctime_r">
|
<function name="asctime_r">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2229,6 +2351,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char *ctime_r(const time_t *timep, char *buf); -->
|
<!-- char *ctime_r(const time_t *timep, char *buf); -->
|
||||||
<function name="ctime_r">
|
<function name="ctime_r">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2242,6 +2365,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- struct tm *gmtime_r(const time_t *timep, struct tm *result); -->
|
<!-- struct tm *gmtime_r(const time_t *timep, struct tm *result); -->
|
||||||
<function name="gmtime_r">
|
<function name="gmtime_r">
|
||||||
|
<returnValue type="struct tm *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2254,6 +2378,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- struct tm * gmtime(const time_t *tp); -->
|
<!-- struct tm * gmtime(const time_t *tp); -->
|
||||||
<function name="gmtime">
|
<function name="gmtime">
|
||||||
|
<returnValue type="struct tm *"/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -2266,6 +2391,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- http://pubs.opengroup.org/onlinepubs/007908799/xsh/time.h.html -->
|
<!-- http://pubs.opengroup.org/onlinepubs/007908799/xsh/time.h.html -->
|
||||||
<!-- int clock_settime(clockid_t clock_id, const struct timespec *tp); -->
|
<!-- int clock_settime(clockid_t clock_id, const struct timespec *tp); -->
|
||||||
<function name="clock_settime">
|
<function name="clock_settime">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2276,6 +2402,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int killpg(int pgrp, int sig); -->
|
<!-- int killpg(int pgrp, int sig); -->
|
||||||
<function name="killpg">
|
<function name="killpg">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2286,6 +2413,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int kill(pid_t pid, int sig); -->
|
<!-- int kill(pid_t pid, int sig); -->
|
||||||
<function name="kill">
|
<function name="kill">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2296,6 +2424,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int clock_gettime(clockid_t clock_id, struct timespec *tp); -->
|
<!-- int clock_gettime(clockid_t clock_id, struct timespec *tp); -->
|
||||||
<function name="clock_gettime">
|
<function name="clock_gettime">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2306,6 +2435,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int clock_getres(clockid_t clock_id, struct timespec *res); -->
|
<!-- int clock_getres(clockid_t clock_id, struct timespec *res); -->
|
||||||
<function name="clock_getres">
|
<function name="clock_getres">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -2314,6 +2444,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char* tmpnam(char *s); -->
|
<!-- char* tmpnam(char *s); -->
|
||||||
<function name="tmpnam,tmpnam_r">
|
<function name="tmpnam,tmpnam_r">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2361,6 +2492,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- useconds_t ualarm(useconds_t useconds, useconds_t interval); -->
|
<!-- useconds_t ualarm(useconds_t useconds, useconds_t interval); -->
|
||||||
<function name="ualarm">
|
<function name="ualarm">
|
||||||
|
<returnValue type="useconds_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2373,6 +2505,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- double scalb(double x, double n); -->
|
<!-- double scalb(double x, double n); -->
|
||||||
<function name="scalb">
|
<function name="scalb">
|
||||||
|
<returnValue type="double"/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -2404,6 +2537,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int bcmp(const void *s1, void *s2, size_t n); -->
|
<!-- int bcmp(const void *s1, void *s2, size_t n); -->
|
||||||
<function name="bcmp">
|
<function name="bcmp">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2435,6 +2569,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- int ftime(struct timeb *tp); -->
|
<!-- int ftime(struct timeb *tp); -->
|
||||||
<function name="ftime">
|
<function name="ftime">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2445,6 +2580,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2); -->
|
<!-- wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2); -->
|
||||||
<function name="wcswcs">
|
<function name="wcswcs">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="wchar_t *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2459,6 +2595,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- char *stpcpy(char *desstr, const char *srcstr); -->
|
<!-- char *stpcpy(char *desstr, const char *srcstr); -->
|
||||||
<function name="stpcpy">
|
<function name="stpcpy">
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2474,6 +2611,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- char *index(const char *s, int c); -->
|
<!-- char *index(const char *s, int c); -->
|
||||||
<function name="index">
|
<function name="index">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2488,6 +2626,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- char *rindex(const char *s, int c); -->
|
<!-- char *rindex(const char *s, int c); -->
|
||||||
<function name="rindex">
|
<function name="rindex">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
<returnValue type="char *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2501,6 +2640,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- sighandler_t bsd_signal(int signum, sighandler_t handler); -->
|
<!-- sighandler_t bsd_signal(int signum, sighandler_t handler); -->
|
||||||
<function name="bsd_signal">
|
<function name="bsd_signal">
|
||||||
|
<returnValue type="sighandler_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2513,23 +2653,27 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t fork(void); -->
|
<!-- pid_t fork(void); -->
|
||||||
<function name="fork">
|
<function name="fork">
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t vfork(void); -->
|
<!-- pid_t vfork(void); -->
|
||||||
<function name="vfork">
|
<function name="vfork">
|
||||||
|
<returnValue type="pid_t"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<warn severity="style" reason="Obsolescent" alternatives="fork"/>
|
<warn severity="style" reason="Obsolescent" alternatives="fork"/>
|
||||||
</function>
|
</function>
|
||||||
<!-- int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); -->
|
<!-- int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); -->
|
||||||
<function name="pthread_atfork">
|
<function name="pthread_atfork">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="3"/>
|
<arg nr="3"/>
|
||||||
</function>
|
</function>
|
||||||
<!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); -->
|
<!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); -->
|
||||||
<function name="pthread_create">
|
<function name="pthread_create">
|
||||||
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-null/>
|
<not-null/>
|
||||||
|
|
Loading…
Reference in New Issue