On Wed, 18 Apr 2018, Martin Liška wrote: > I would like to mention the attribute in GCC 8 changes. Index: htdocs/gcc-8/changes.html =================================================================== >
no_sanitize
attribute has been added. The attribute
> on functions is used to inform the compiler that it should
> not do sanitization of all options mentioned in sanitize option.
> A list of values acceptable by -fsanitize
option can be
> provided.
> >> void __attribute__ ((no_sanitize ("alignment", "object-size"))) > f () { /* Do something. */; } >
no_sanitize
attribute has been added. The attribute
- on functions is used to inform the compiler that it should
- not do sanitization of all options mentioned in sanitize option.
- A list of values acceptable by -fsanitize
option can be
- provided.
+ A new attribute no_sanitize
can be applied to functions
+ to instruct the compiler not to do sanitization of any of the options
+ specified. Acceptable values for no_sanitize
match those
+ acceptable by the -fsanitize
command-line option.
Geraldvoid __attribute__ ((no_sanitize ("alignment", "object-size"))) f () { /* Do something. */; }