Prevent sanitization also for inlined functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I wish to sanitize a large codebase except for a certain set of
time-critical functions. To this end, I globally set the flag 
-fsanitize=undefined and annotate the functions which should not be
sanitized with a __no_sanitize_undefined__ attribute.

Unfortunately, it seems that sanitization is performed before inlining,
so that despite the annotations, the functions include instrumentation 
of the inlined functions (https://godbolt.org/z/b5qoqTYvE ).

Is there any way to prevent that?

-- 
Philipp Lucas
philipp.lucas@xxxxxxxxxxx

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux