Displaying 3 results from an estimated 3 matches for "__builtin___vsnprintf_chk".
Did you mean:
__builtin___snprintf_chk
2019 Jan 22
2
Newbie - SNMP-UPS Driver Issue
...te/Documents/GitHub/nut/include/proto.h:48:5: error: expected parameter declarator
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:75:40: note: expanded from macro 'vsnprintf'
__builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)
^
In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:
In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:
In file included from /Users/deantrasente/Doc...
2019 Dec 03
5
clang and -D_FORTIFY_SOURCE=1
...wing builtins:
- __builtin___memcpy_chk
- __builtin___memmove_chk
- __builtin___mempcpy_chk
- __builtin___memset_chk
- __builtin___snprintf_chk
- __builtin___sprintf_chk
- __builtin___stpcpy_chk
- __builtin___strcat_chk
- __builtin___strcpy_chk
- __builtin___strncat_chk
- __builtin___strncpy_chk
- __builtin___vsnprintf_chk
- __builtin___vsprintf_chk
And I'd like to implement them at clang level, leveraging their existing
implementation. Is that the right way to go / any comments / issue with that
approach ?
2019 Dec 04
2
[cfe-dev] clang and -D_FORTIFY_SOURCE=1
...hk
> > - __builtin___memset_chk
> > - __builtin___snprintf_chk
> > - __builtin___sprintf_chk
> > - __builtin___stpcpy_chk
> > - __builtin___strcat_chk
> > - __builtin___strcpy_chk
> > - __builtin___strncat_chk
> > - __builtin___strncpy_chk
> > - __builtin___vsnprintf_chk
> > - __builtin___vsprintf_chk
> >
> > And I'd like to implement them at clang level, leveraging their existing
> > implementation. Is that the right way to go / any comments / issue with
> that
> > approach ?
> > __________________________________________...