std.cfg: Improved support for overlapping data check

This commit is contained in:
orbitcowboy 2021-07-10 18:27:53 +02:00
parent 2c5af874fd
commit 021a72f84b
1 changed files with 3 additions and 1 deletions

View File

@ -4681,6 +4681,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<returnValue type="char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<not-overlapping-data ptr1-arg="1" ptr2-arg="2" strlen-arg="2"/>
<arg nr="1" direction="inout">
<not-null/>
<not-uninit/>
@ -4692,11 +4693,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<strz/>
</arg>
</function>
<!-- wchar_t wcscat(wchar_t *deststr, const char *srcstr); -->
<!-- wchar_t wcscat(wchar_t *deststr, const wchar_t *srcstr); -->
<function name="wcscat,std::wcscat">
<returnValue type="wchar_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<not-overlapping-data ptr1-arg="1" ptr2-arg="2" strlen-arg="2"/>
<arg nr="1" direction="inout">
<not-null/>
</arg>