public inbox for
 help / color / mirror / Atom feed
* Prevent sanitization also for inlined functions
@ 2022-05-18 13:28 Lucas, Philipp
  0 siblings, 0 replies; only message in thread
From: Lucas, Philipp @ 2022-05-18 13:28 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]


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 ( ).

Is there any way to prevent that?

Philipp Lucas

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 14895 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-18 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 13:28 Prevent sanitization also for inlined functions Lucas, Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).