[clang] [llvm] [analyzer] bypass io sandbox in debug checks (PR #224783)
Jan Svoboda via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 10:50:35 PDT 2026
================
@@ -657,8 +657,6 @@ std::error_code access(const Twine &Path, AccessMode Mode) {
}
bool can_execute(const Twine &Path) {
- sandbox::violationIfEnabled();
----------------
jansvoboda11 wrote:
For these low-level functions, I want it to be clear that it could trigger a sandbox violation. Having it at the top of the body is clearer than relying on some transitive property. Please revert this hunk.
https://github.com/llvm/llvm-project/pull/224783
More information about the llvm-commits
mailing list