gnu.cfg: Added support for secure_getenv()

This commit is contained in:
orbitcowboy 2022-03-22 09:32:34 +01:00
parent 3faff5e9fc
commit cb6f234a92
1 changed files with 13 additions and 0 deletions

View File

@ -140,6 +140,19 @@
<arg nr="variadic" direction="in"> <arg nr="variadic" direction="in">
<not-uninit/> <not-uninit/>
</arg> </arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/getenv.3.html -->
<!-- char * secure_getenv(const char *name); -->
<function name="secure_getenv">
<use-retval/>
<returnValue type="char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function> </function>
<!-- https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Alignment.html --> <!-- https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Alignment.html -->
<!-- __alignof__ is used like sizeof --> <!-- __alignof__ is used like sizeof -->