Home
last modified time | relevance | path

Searched refs:PolicyCompiler (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/sandbox/linux/bpf_dsl/
Dpolicy_compiler.cc85 struct PolicyCompiler::Range {
90 PolicyCompiler::PolicyCompiler(const Policy* policy, TrapRegistry* registry) in PolicyCompiler() function in sandbox::bpf_dsl::PolicyCompiler
100 PolicyCompiler::~PolicyCompiler() { in ~PolicyCompiler()
103 CodeGen::Program PolicyCompiler::Compile() { in Compile()
125 void PolicyCompiler::DangerousSetEscapePC(uint64_t escapepc) { in DangerousSetEscapePC()
129 void PolicyCompiler::SetPanicFunc(PanicFunc panic_func) { in SetPanicFunc()
133 CodeGen::Node PolicyCompiler::AssemblePolicy() { in AssemblePolicy()
143 CodeGen::Node PolicyCompiler::CheckArch(CodeGen::Node passed) { in CheckArch()
153 CodeGen::Node PolicyCompiler::MaybeAddEscapeHatch(CodeGen::Node rest) { in MaybeAddEscapeHatch()
185 CodeGen::Node PolicyCompiler::DispatchSyscall() { in DispatchSyscall()
[all …]
Dbpf_dsl.cc28 CodeGen::Node Compile(PolicyCompiler* pc) const override { in Compile()
57 CodeGen::Node Compile(PolicyCompiler* pc) const override { in Compile()
82 CodeGen::Node Compile(PolicyCompiler* pc) const override { in Compile()
108 CodeGen::Node Compile(PolicyCompiler* pc, in Compile()
130 CodeGen::Node Compile(PolicyCompiler* pc, in Compile()
151 CodeGen::Node Compile(PolicyCompiler* pc, in Compile()
170 CodeGen::Node Compile(PolicyCompiler* pc, in Compile()
191 CodeGen::Node Compile(PolicyCompiler* pc, in Compile()
Dpolicy_compiler.h26 class SANDBOX_EXPORT PolicyCompiler {
30 PolicyCompiler(const Policy* policy, TrapRegistry* registry);
31 ~PolicyCompiler();
147 DISALLOW_COPY_AND_ASSIGN(PolicyCompiler);
Dbpf_dsl_impl.h16 class PolicyCompiler; variable
26 virtual CodeGen::Node Compile(PolicyCompiler* pc,
44 virtual CodeGen::Node Compile(PolicyCompiler* pc) const = 0;
Dbpf_dsl_unittest.cc68 program_ = PolicyCompiler(&policy, &traps).Compile(); in PolicyEmulator()
/external/libchrome/sandbox/linux/seccomp-bpf/
Dsandbox_bpf.cc209 return bpf_dsl::PolicyCompiler::IsRequiredForUnsafeTrap(sysno); in IsRequiredForUnsafeTrap()
224 bpf_dsl::PolicyCompiler compiler(policy_.get(), Trap::Registry()); in AssembleFilter()