OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sandbox/linux/seccomp-bpf/codegen.h" | 5 #include "sandbox/linux/bpf_dsl/codegen.h" |
6 #include "sandbox/sandbox_export.h" | 6 #include "sandbox/sandbox_export.h" |
7 | 7 |
8 namespace sandbox { | 8 namespace sandbox { |
9 namespace bpf_dsl { | 9 namespace bpf_dsl { |
10 | 10 |
11 class SANDBOX_EXPORT DumpBPF { | 11 class SANDBOX_EXPORT DumpBPF { |
12 public: | 12 public: |
13 // PrintProgram writes |program| in a human-readable format to stderr. | 13 // PrintProgram writes |program| in a human-readable format to stderr. |
14 static void PrintProgram(const CodeGen::Program& program); | 14 static void PrintProgram(const CodeGen::Program& program); |
15 }; | 15 }; |
16 | 16 |
17 } // namespace bpf_dsl | 17 } // namespace bpf_dsl |
18 } // namespace sandbox | 18 } // namespace sandbox |
OLD | NEW |