https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117196

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
"    I believe this is a compiler bug, as there doesn't seem to be a
    separate attribute to prevent instrumentation in this mode.
"
At least the above is not true.
`__attribute__((no_sanitize("hwaddress")))` and
`__attribute__((no_sanitize("kernel-hwaddress")))`

Turns off hwasan for the function.

Reply via email to