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">XmStringCreateLocalized</alloc>
<alloc init="true">XmStringCreateSimple</alloc> <alloc init="true">XmStringCreateSimple</alloc>
<alloc init="true">XmStringGenerate</alloc> <alloc init="true">XmStringGenerate</alloc>
<alloc>XmCvtCTToXmString</alloc>
</resource> </resource>
<resource> <resource>
<dealloc>XtFree</dealloc> <dealloc>XtFree</dealloc>
<alloc>XmFontListEntryGetTag</alloc>
<alloc>XmTextGetString</alloc> <alloc>XmTextGetString</alloc>
<alloc>XmCvtXmStringToCT</alloc>
<alloc>XmWidgetGetBaselines</alloc>
</resource> </resource>
<resource> <resource>
<dealloc>XmFontListEntryFree</dealloc> <dealloc>XmFontListEntryFree</dealloc>

View File

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

View File

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