This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Make -fsanitize=kcfi,function incompatible
ClosedPublic

Authored by MaskRay on Apr 18 2023, 3:56 PM.

Details

Summary

A -fsanitize=kcfi instrumented function has a special instruction/data
before the function entry at a fixed offset.
A -fsanitize=function instrumented function has special instruction/data
after the function entry at a fixed offset (may change to *before* in D148665).

The two instrumentations are not intended to be used together and will become
incompatible after D148665.

Diff Detail

Event Timeline

MaskRay created this revision.Apr 18 2023, 3:56 PM
MaskRay requested review of this revision.Apr 18 2023, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2023, 3:56 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MaskRay added a reviewer: pcc.Apr 18 2023, 3:56 PM
samitolvanen accepted this revision.Apr 18 2023, 4:05 PM
This revision is now accepted and ready to land.Apr 18 2023, 4:05 PM
MaskRay updated this revision to Diff 515063.Apr 19 2023, 1:14 PM
MaskRay edited the summary of this revision. (Show Details)

rebase

This revision was landed with ongoing or failed builds.Apr 19 2023, 1:15 PM
This revision was automatically updated to reflect the committed changes.