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, Sep 9, 12:22 PM
Unknown Object (File)
Sat, Sep 5, 1:04 AM
Unknown Object (File)
Thu, Sep 3, 10:46 AM
Unknown Object (File)
Tue, Sep 1, 2:48 PM
Unknown Object (File)
Tue, Sep 1, 1:24 PM
Unknown Object (File)
Tue, Sep 1, 10:43 AM
Unknown Object (File)
Sun, Aug 30, 11:16 AM
Unknown Object (File)
Sun, Aug 30, 10:46 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
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