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
Unknown Object (File)
Wed, Mar 19, 3:28 PM
Unknown Object (File)
Sun, Mar 9, 3:48 AM
Unknown Object (File)
Thu, Mar 6, 8:34 PM
Unknown Object (File)
Sat, Mar 1, 11:34 PM
Unknown Object (File)
Tue, Feb 25, 3:32 AM
Unknown Object (File)
Jan 27 2025, 1:00 AM
Unknown Object (File)
Jan 26 2025, 12:56 AM
Unknown Object (File)
Jan 17 2025, 11:52 PM
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