1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 #include "sandbox/linux/bpf_dsl/codegen.h"
8 #include "sandbox/sandbox_export.h"
13 class SANDBOX_EXPORT DumpBPF
{
15 // PrintProgram writes |program| in a human-readable format to stderr.
16 static void PrintProgram(const CodeGen::Program
& program
);
18 // StringPrintProgram writes |program| in a human-readable format to
20 static std::string
StringPrintProgram(const CodeGen::Program
& program
);
23 } // namespace bpf_dsl
24 } // namespace sandbox