[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:36 PDT 2026
================
@@ -158,6 +159,7 @@ class CFGViewer : public Checker<check::ASTCodeBody> {
public:
void checkASTCodeBody(const Decl *D, AnalysisManager& mgr,
BugReporter &BR) const {
+ auto BypassSandbox = llvm::sys::sandbox::scopedDisable();
----------------
jansvoboda11 wrote:
Please add an explanation to each of these disablements. Ideally, we could find the graph viewer separately and pass that into the writer, which would make the disablement a bit more finer-grained.
https://github.com/llvm/llvm-project/pull/224783
More information about the llvm-commits
mailing list