mirror of
https://github.com/hfiref0x/UACME
synced 2026-06-08 14:39:53 +00:00
fc57720a18
Hybrid Simda/Carberp with AppVerif added.
28 lines
287 B
C
28 lines
287 B
C
#include "rtltypes.h"
|
|
|
|
size_t _strlen_a(const char *s)
|
|
{
|
|
char *s0 = (char *)s;
|
|
|
|
if ( s==0 )
|
|
return 0;
|
|
|
|
while ( *s!=0 )
|
|
s++;
|
|
|
|
return (s-s0);
|
|
}
|
|
|
|
size_t _strlen_w(const wchar_t *s)
|
|
{
|
|
wchar_t *s0 = (wchar_t *)s;
|
|
|
|
if ( s==0 )
|
|
return 0;
|
|
|
|
while ( *s!=0 )
|
|
s++;
|
|
|
|
return (s-s0);
|
|
}
|