posix.cfg and windows.cfg: Added support for more functions.
This commit is contained in:
parent
14670f743e
commit
b6fd9e2509
|
@ -2545,6 +2545,31 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int fseeko(FILE *stream, off_t offset, int whence); -->
|
||||
<function name="fseeko">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-null/>
|
||||
</arg>
|
||||
<arg nr="3">
|
||||
<not-null/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- off_t ftello(FILE *stream); -->
|
||||
<function name="ftello">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<memory>
|
||||
<alloc init="true">strdup</alloc>
|
||||
<alloc init="true">strndup</alloc>
|
||||
|
|
|
@ -982,6 +982,11 @@
|
|||
<alloc init="true">HeapCreate</alloc>
|
||||
<dealloc>HeapDestroy</dealloc>
|
||||
</resource>
|
||||
<resource>
|
||||
<alloc init="true">_wfopen</alloc>
|
||||
<alloc init="true">_tfopen</alloc>
|
||||
<dealloc>fclose</dealloc>
|
||||
</resource>
|
||||
<memory>
|
||||
<alloc>ExAllocatePool</alloc>
|
||||
<alloc>ExAllocatePoolWithQuota</alloc>
|
||||
|
@ -1890,17 +1895,17 @@ HFONT CreateFont(
|
|||
</arg>
|
||||
</function>
|
||||
<!-- int _stat(const char *path, struct _stat *buffer);
|
||||
int _stat32(const char *path, struct __stat32 *buffer);
|
||||
int _stat64(const char *path, struct __stat64 *buffer);
|
||||
int _stati64(const char *path, struct _stati64 *buffer);
|
||||
int _stat32i64(const char *path, struct _stat32i64 *buffer);
|
||||
int _stat64i32(const char *path, struct _stat64i32 *buffer);
|
||||
int _wstat(const wchar_t *path, struct _stat *buffer);
|
||||
int _wstat32(const wchar_t *path, struct __stat32 *buffer);
|
||||
int _wstat64(const wchar_t *path, struct __stat64 *buffer);
|
||||
int _wstati64(const wchar_t *path, struct _stati64 *buffer);
|
||||
int _wstat32i64(const wchar_t *path, struct _stat32i64 *buffer);
|
||||
int _wstat64i32(const wchar_t *path, struct _stat64i32 *buffer); -->
|
||||
int _stat32(const char *path, struct __stat32 *buffer);
|
||||
int _stat64(const char *path, struct __stat64 *buffer);
|
||||
int _stati64(const char *path, struct _stati64 *buffer);
|
||||
int _stat32i64(const char *path, struct _stat32i64 *buffer);
|
||||
int _stat64i32(const char *path, struct _stat64i32 *buffer);
|
||||
int _wstat(const wchar_t *path, struct _stat *buffer);
|
||||
int _wstat32(const wchar_t *path, struct __stat32 *buffer);
|
||||
int _wstat64(const wchar_t *path, struct __stat64 *buffer);
|
||||
int _wstati64(const wchar_t *path, struct _stati64 *buffer);
|
||||
int _wstat32i64(const wchar_t *path, struct _stat32i64 *buffer);
|
||||
int _wstat64i32(const wchar_t *path, struct _stat64i32 *buffer); -->
|
||||
<function name="_stat,_stat32,_stat64,_stati64,_stat32i64,_stat64i32,_wstat,_wstat32,_wstat64,_wstati64,_wstat32i64,_wstat64i32">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
@ -1912,4 +1917,42 @@ HFONT CreateFont(
|
|||
<not-null/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int _fseeki64(FILE *stream, __int64 offset, int origin); -->
|
||||
<function name="_fseeki64">
|
||||
<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>
|
||||
<!-- __int64 _ftelli64(FILE *stream); -->
|
||||
<function name="_ftelli64">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- FILE *_wfopen(const wchar_t *filename, const wchar_t *mode); -->
|
||||
<function name="_wfopen,_tfopen">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
<strz/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue