std.cfg: Defined own rule for wmemcpy to avoid FPs because of different return types.
This commit is contained in:
parent
3a67c9a33d
commit
f396571b6c
23
cfg/std.cfg
23
cfg/std.cfg
|
@ -3859,8 +3859,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
</arg>
|
||||
</function>
|
||||
<!-- void * memcpy(void *ct, const void *cs, size_t n);-->
|
||||
<!-- wchar_t * wmemcpy(wchar_t *ct, const wchar_t *cs, size_t n);-->
|
||||
<function name="memcpy,std::memcpy,wmemcpy,std::wmemcpy">
|
||||
<function name="memcpy">
|
||||
<returnValue type="void *"/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
@ -3879,6 +3878,26 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
|||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- wchar_t * wmemcpy(wchar_t *ct, const wchar_t *cs, size_t n);-->
|
||||
<function name="std::memcpy,wmemcpy,std::wmemcpy">
|
||||
<returnValue type="wchar_t *"/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="out">
|
||||
<not-null/>
|
||||
<minsize type="argvalue" arg="3"/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
<minsize type="argvalue" arg="3"/>
|
||||
</arg>
|
||||
<arg nr="3" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- errno_t memcpy_s( void *restrict dest, rsize_t destsz, const void *restrict src, rsize_t count );-->
|
||||
<!-- errno_t wmemcpy_s( wchar_t *restrict dest, rsize_t destsz, const wchar_t *restrict src, rsize_t count );-->
|
||||
<function name="memcpy_s,wmemcpy_s">
|
||||
|
|
Loading…
Reference in New Issue