Page MenuHomeFreeBSD

kern: add bounds-safety soft-trap runtime
AcceptedPublic

Authored by abhijeetsharma2002_gmail.com on Wed, Aug 19, 12:03 PM.
Tags
None
Referenced Files
F172074531: D58987.diff
Tue, Sep 15, 11:09 PM
F172074166: D58987.id186122.diff
Tue, Sep 15, 11:05 PM
F172074025: D58987.id186122.diff
Tue, Sep 15, 11:04 PM
F172072903: D58987.diff
Tue, Sep 15, 10:50 PM
Unknown Object (File)
Mon, Sep 14, 6:39 PM
Unknown Object (File)
Sun, Sep 13, 3:39 AM
Unknown Object (File)
Sat, Sep 12, 7:59 AM
Unknown Object (File)
Sat, Sep 12, 4:46 AM
Subscribers

Details

Reviewers
rpaulo
emaste
Summary

__bounds_safety_soft_trap() counts violations via counter(9), fires a
SDT probe carrying the trap site, and continues instead of panicking.
Console logging is opt-in and rate-limited. The deliberate-violation
test hook lives in a separate file so enabling it never instruments the
handler itself.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76626
Build 73509: arc lint + arc unit