Page MenuHomeFreeBSD

cdefs: add bounds-safety annotation macros
AcceptedPublic

Authored by abhijeetsharma2002_gmail.com on Wed, Aug 19, 11:52 AM.
Tags
None
Referenced Files
F167674096: D58983.id184350.diff
Sun, Aug 23, 5:06 PM
F167625012: D58983.id184350.diff
Sun, Aug 23, 6:53 AM
Unknown Object (File)
Sat, Aug 22, 9:29 AM
Unknown Object (File)
Fri, Aug 21, 8:20 AM
Unknown Object (File)
Wed, Aug 19, 4:53 PM
Unknown Object (File)
Wed, Aug 19, 12:28 PM
Unknown Object (File)
Wed, Aug 19, 12:27 PM
Subscribers

Details

Reviewers
rpaulo
emaste
imp
Summary

Define the -fbounds-safety vocabulary (counted_by, sized_by,
__single, the forge escape hatches). Every macro expands to nothing
under compilers without the extension, so the annotated tree builds
unchanged with the stock toolchain.

Sponsored by: The FreeBSD Foundation

Diff Detail

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