// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ #define SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ #include <stddef.h> #include <stdint.h> #include <vector> #include "base/memory/raw_ptr.h" #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" #include "sandbox/linux/bpf_dsl/codegen.h" #include "sandbox/linux/bpf_dsl/trap_registry.h" #include "sandbox/sandbox_export.h" namespace sandbox { namespace bpf_dsl { class Policy; // PolicyCompiler implements the bpf_dsl compiler, allowing users to // transform bpf_dsl policies into BPF programs to be executed by the // Linux kernel. class SANDBOX_EXPORT PolicyCompiler { … }; } // namespace bpf_dsl } // namespace sandbox #endif // SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_