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)
Mon, Jun 15, 7:30 PM
Unknown Object (File)
Fri, Jun 12, 8:57 AM
Unknown Object (File)
Mon, Jun 8, 10:55 PM
Unknown Object (File)
Sun, May 31, 2:33 AM
Unknown Object (File)
May 14 2026, 5:46 PM
Unknown Object (File)
May 13 2026, 12:02 AM
Unknown Object (File)
May 12 2026, 11:58 PM
Unknown Object (File)
May 12 2026, 3:57 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40294
Build 37183: arc lint + arc unit

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