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)
Fri, Jan 17, 11:52 PM
Unknown Object (File)
Sun, Jan 12, 8:05 PM
Unknown Object (File)
Sat, Jan 11, 5:56 PM
Unknown Object (File)
Sat, Dec 28, 5:20 PM
Unknown Object (File)
Dec 24 2024, 8:11 PM
Unknown Object (File)
Dec 15 2024, 3:43 AM
Unknown Object (File)
Dec 8 2024, 3:31 AM
Unknown Object (File)
Nov 22 2024, 12:45 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