Searched refs:HasUnsafeTraps (Results 1 – 4 of 4) sorted by relevance
60 bool HasUnsafeTraps() const override { return safe_ == false; } in HasUnsafeTraps() function in sandbox::bpf_dsl::__anon424c09e80111::TrapResultExprImpl90 bool HasUnsafeTraps() const override { in HasUnsafeTraps() function in sandbox::bpf_dsl::__anon424c09e80111::IfThenResultExprImpl91 return then_result_->HasUnsafeTraps() || else_result_->HasUnsafeTraps(); in HasUnsafeTraps()204 bool ResultExprImpl::HasUnsafeTraps() const { in HasUnsafeTraps() function in sandbox::bpf_dsl::internal::ResultExprImpl
73 bool HasUnsafeTraps(const Policy* policy) { in HasUnsafeTraps() function76 if (policy->EvaluateSyscall(sysnum)->HasUnsafeTraps()) { in HasUnsafeTraps()80 return policy->InvalidSyscall()->HasUnsafeTraps(); in HasUnsafeTraps()96 has_unsafe_traps_(HasUnsafeTraps(policy_)) { in PolicyCompiler()
461 TEST(BPFDSL, HasUnsafeTraps) { in TEST() argument463 EXPECT_FALSE(allow->HasUnsafeTraps()); in TEST()466 EXPECT_FALSE(safe->HasUnsafeTraps()); in TEST()469 EXPECT_TRUE(unsafe->HasUnsafeTraps()); in TEST()473 EXPECT_TRUE(maybe->HasUnsafeTraps()); in TEST()
48 virtual bool HasUnsafeTraps() const;