HomeSort by relevance Sort by last modified time
    Searched refs:HasUnsafeTraps (Results 1 - 4 of 4) sorted by null

  /external/libchrome/sandbox/linux/bpf_dsl/
bpf_dsl_impl.h 46 // HasUnsafeTraps returns whether the result expression is or recursively
48 virtual bool HasUnsafeTraps() const;
bpf_dsl.cc 61 bool HasUnsafeTraps() const override { return safe_ == false; }
90 bool HasUnsafeTraps() const override {
91 return then_result_->HasUnsafeTraps() || else_result_->HasUnsafeTraps();
211 bool ResultExprImpl::HasUnsafeTraps() const {
bpf_dsl_unittest.cc 461 TEST(BPFDSL, HasUnsafeTraps) {
463 EXPECT_FALSE(allow->HasUnsafeTraps());
466 EXPECT_FALSE(safe->HasUnsafeTraps());
469 EXPECT_TRUE(unsafe->HasUnsafeTraps());
473 EXPECT_TRUE(maybe->HasUnsafeTraps());
policy_compiler.cc 73 bool HasUnsafeTraps(const Policy* policy) {
76 if (policy->EvaluateSyscall(sysnum)->HasUnsafeTraps()) {
80 return policy->InvalidSyscall()->HasUnsafeTraps();
96 has_unsafe_traps_(HasUnsafeTraps(policy_)) {

Completed in 1359 milliseconds