Add more interfaces

This commit is contained in:
Alexander Mai 2017-06-02 22:58:39 +02:00
parent dc83f6783e
commit a350e6c7e8
3 changed files with 81 additions and 9 deletions

View File

@ -84,10 +84,14 @@
<alloc init="true">XmStringCreateLocalized</alloc>
<alloc init="true">XmStringCreateSimple</alloc>
<alloc init="true">XmStringGenerate</alloc>
<alloc>XmCvtCTToXmString</alloc>
</resource>
<resource>
<dealloc>XtFree</dealloc>
<alloc>XmFontListEntryGetTag</alloc>
<alloc>XmTextGetString</alloc>
<alloc>XmCvtXmStringToCT</alloc>
<alloc>XmWidgetGetBaselines</alloc>
</resource>
<resource>
<dealloc>XmFontListEntryFree</dealloc>

View File

@ -291,13 +291,6 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
<not-uninit/>
</arg>
</function>
<!-- void _Exit(int status); -->
<function name="_Exit">
<noreturn>true</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/access.2.html -->
<!-- int access(const char *pathname, int mode); -->
<function name="access">
@ -806,6 +799,13 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-uninit/>
</arg>
</function>
<function name="times">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int utime(const char *filename, struct utimbuf *buf); -->
<function name="utime">
<noreturn>false</noreturn>
@ -2443,12 +2443,67 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<warn severity="style" reason="Obsolescent" alternatives="sigaction"/>
</function>
<!-- pid_t fork(void); -->
<function name="fork">
<noreturn>false</noreturn>
<leak-ignore/>
</function>
<!-- pid_t vfork(void); -->
<function name="vfork">
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity="style" reason="Obsolescent" alternatives="fork"/>
</function>
<!-- int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); -->
<function name="pthread_atfork">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="3"/>
</function>
<!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); -->
<function name="pthread_create">
<noreturn>true</noreturn>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2"/>
<arg nr="3">
<not-null/>
</arg>
<arg nr="4"/>
</function>
<function name="pthread_detach">
<noreturn>true</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="pthread_equal">
<noreturn>true</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="pthread_exit">
<noreturn>true</noreturn>
<arg nr="1"/>
</function>
<!-- int pthread_join(pthread_t thread, void **value_ptr); -->
<function name="pthread_join">
<noreturn>true</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2"/>
</function>
<function name="pthread_self">
<noreturn>true</noreturn>
<use-retval/>
</function>
<!-- int pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr); -->
<function name="pthread_attr_setstackaddr">
<noreturn>false</noreturn>
@ -2709,6 +2764,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="1">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="2">
<not-uninit/>
@ -2966,7 +3022,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2"/>
</function>
<function name="siglongjmp">
<function name="siglongjmp,_longjmp">
<noreturn>true</noreturn>
<arg nr="1">
<not-uninit/>
@ -2977,7 +3033,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function>
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigsetjmp.html -->
<!-- int sigsetjmp(sigjmp_buf env, int savemask); -->
<function name="sigsetjmp">
<function name="sigsetjmp,_setjmp">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2">
@ -3067,6 +3123,11 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-uninit/>
</arg>
</function>
<function name="posix_spawn,posix_spawnp">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="6"/>
</function>
<memory>
<alloc init="true">strdup</alloc>
<alloc init="true">strndup</alloc>

View File

@ -766,6 +766,13 @@
<not-uninit/>
</arg>
</function>
<!-- void _Exit(int status); -->
<function name="_Exit,quick_exit">
<noreturn>true</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- double fabs(double x); -->
<!-- float fabsf(float x); -->
<!-- long double fabsl(long double x); -->