[PATCH] D91898: [attributes] Add a facility for defining and enforcing a Trusted Computing Base.
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 23 06:56:33 PST 2020
aaron.ballman added reviewers: aaronpuchert, delesley.
aaron.ballman added a comment.
This feels an awful lot like a set of attributes we already have -- can capability attributes be used for this instead? https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#basic-concepts-capabilities The documentation is largely centered around thread safety, but the gist of the idea seems similar to what you're proposing here -- certain parts of the program have different roles and you want to control how functions in one role can interact with functions in another role.
(I'll give a more thorough review to the proposed patch here but I wanted to pose that question first as it may obviate the need for this patch.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91898/new/
https://reviews.llvm.org/D91898
More information about the cfe-commits
mailing list