Page MenuHomeFreeBSD

Don't instrument the rdtsc ifunc when building with ASAN/UBSAN
ClosedPublic

Authored by arichardson on Jul 5 2021, 10:52 AM.
Tags
None
Referenced Files
F146953571: D31046.diff
Sat, Mar 7, 2:13 AM
Unknown Object (File)
Fri, Mar 6, 9:37 AM
Unknown Object (File)
Fri, Mar 6, 6:10 AM
Unknown Object (File)
Sat, Feb 14, 2:39 PM
Unknown Object (File)
Jan 27 2026, 4:21 PM
Unknown Object (File)
Jan 24 2026, 7:43 AM
Unknown Object (File)
Jan 15 2026, 5:26 PM
Unknown Object (File)
Jan 2 2026, 12:35 AM
Subscribers

Details

Summary

The ifunc resolver is called before the sanitizer runtime is initialized,
so any instrumentation results in an immediate crash.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arichardson retitled this revision from Don't instrument the rdtsc ifunction when building with ASAN/UBSAN to Don't instrument the rdtsc ifunc when building with ASAN/UBSAN.Jul 5 2021, 1:01 PM
arichardson edited the summary of this revision. (Show Details)
arichardson added a reviewer: kib.
This revision is now accepted and ready to land.Jul 5 2021, 1:07 PM