Searched refs:PolicyCompiler (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | policy_compiler.cc | 85 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 …]
|
D | bpf_dsl.cc | 28 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()
|
D | policy_compiler.h | 26 class SANDBOX_EXPORT PolicyCompiler { 30 PolicyCompiler(const Policy* policy, TrapRegistry* registry); 31 ~PolicyCompiler(); 147 DISALLOW_COPY_AND_ASSIGN(PolicyCompiler);
|
D | bpf_dsl_impl.h | 16 class PolicyCompiler; variable 26 virtual CodeGen::Node Compile(PolicyCompiler* pc, 44 virtual CodeGen::Node Compile(PolicyCompiler* pc) const = 0;
|
D | bpf_dsl_unittest.cc | 68 program_ = PolicyCompiler(&policy, &traps).Compile(); in PolicyEmulator()
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | sandbox_bpf.cc | 209 return bpf_dsl::PolicyCompiler::IsRequiredForUnsafeTrap(sysno); in IsRequiredForUnsafeTrap() 224 bpf_dsl::PolicyCompiler compiler(policy_.get(), Trap::Registry()); in AssembleFilter()
|