Home
last modified time | relevance | path

Searched refs:Trap (Results 1 – 25 of 33) sorted by relevance

12

/external/libchrome/sandbox/linux/seccomp-bpf/
Dtrap.cc79 Trap::Trap() in Trap() function in sandbox::Trap
112 bpf_dsl::TrapRegistry* Trap::Registry() { in Registry()
119 global_trap_ = new Trap(); in Registry()
127 void Trap::SigSysAction(int nr, LinuxSigInfo* info, void* void_context) { in SigSysAction()
147 void Trap::SigSys(int nr, LinuxSigInfo* info, ucontext_t* ctx) { in SigSys()
256 bool Trap::TrapKey::operator<(const TrapKey& o) const { in operator <()
260 uint16_t Trap::Add(TrapFnc fnc, const void* aux, bool safe) { in Add()
358 bool Trap::SandboxDebuggingAllowedByUser() { in SandboxDebuggingAllowedByUser()
363 bool Trap::EnableUnsafeTraps() { in EnableUnsafeTraps()
385 Trap* Trap::global_trap_;
Dtrap.h28 class SANDBOX_EXPORT Trap : public bpf_dsl::TrapRegistry {
55 Trap();
59 ~Trap() = delete;
71 static Trap* global_trap_;
81 DISALLOW_COPY_AND_ASSIGN(Trap);
Dtrap_unittest.cc15 SANDBOX_TEST_ALLOW_NOISE(Trap, SigSysAction) { in SANDBOX_TEST_ALLOW_NOISE() argument
18 Trap::Registry(); in SANDBOX_TEST_ALLOW_NOISE()
Dsandbox_bpf.cc119 return bpf_dsl::Trap(SandboxPanicTrap, error); in SandboxPanic()
224 bpf_dsl::PolicyCompiler compiler(policy_.get(), Trap::Registry()); in AssembleFilter()
225 if (Trap::SandboxDebuggingAllowedByUser()) { in AssembleFilter()
Dsyscall_unittest.cc31 using sandbox::bpf_dsl::Trap;
119 return Trap(CopySyscallArgsToAux, aux_); in EvaluateSyscall()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsigsys_handlers.cc248 return bpf_dsl::Trap(CrashSIGSYS_Handler, NULL); in CrashSIGSYS()
252 return bpf_dsl::Trap(SIGSYSCloneFailure, NULL); in CrashSIGSYSClone()
256 return bpf_dsl::Trap(SIGSYSPrctlFailure, NULL); in CrashSIGSYSPrctl()
260 return bpf_dsl::Trap(SIGSYSIoctlFailure, NULL); in CrashSIGSYSIoctl()
264 return bpf_dsl::Trap(SIGSYSKillFailure, NULL); in CrashSIGSYSKill()
268 return bpf_dsl::Trap(SIGSYSFutexFailure, NULL); in CrashSIGSYSFutex()
272 return bpf_dsl::Trap(SIGSYSSchedHandler, NULL); in RewriteSchedSIGSYS()
/external/tpm2/
DCpriCryptPri.c12 static void Trap(const char *function, int line, int code);
13 FAIL_FUNCTION TpmFailFunction = (FAIL_FUNCTION)&Trap;
23 Trap( in Trap() function
/external/mksh/src/
Dhistrap.c32 Trap sigtraps[ksh_NSIG + 1];
1115 Trap *
1119 Trap *p; in gettrap()
1176 Trap *p = &sigtraps[i]; in trapsig()
1209 Trap *p = sigtraps; in fatal_trap_check()
1230 Trap *p = sigtraps; in trap_pending()
1249 Trap *p = sigtraps; in runtraps()
1280 runtrap(Trap *p, bool is_last) in runtrap()
1343 Trap *p = sigtraps; in cleartraps()
1362 Trap *p = sigtraps; in restoresigs()
[all …]
Dsh.h915 } Trap; typedef
945 extern Trap sigtraps[ksh_NSIG + 1];
1817 Trap *gettrap(const char *, bool, bool);
1823 void runtrap(Trap *, bool);
1826 void settrap(Trap *, const char *);
1829 int setsig(Trap *, sig_t, int);
1830 void setexecsig(Trap *, int);
Dfuncs.c1344 Trap *t = NULL; in c_kill()
2337 Trap *p = sigtraps; in c_trap()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc291 return Trap(UnameTrap, &count_);
451 ResultExpr trap = Trap(DummyTrap, nullptr); in TEST()
465 ResultExpr safe = Trap(DummyTrap, nullptr); in TEST()
Dbpf_dsl.cc58 return pc->Trap(func_, arg_, safe_); in Compile()
262 ResultExpr Trap(TrapRegistry::TrapFnc trap_func, const void* aux) { in Trap() function
Dpolicy_compiler.h59 CodeGen::Node Trap(TrapRegistry::TrapFnc fnc, const void* aux, bool safe);
Dpolicy_compiler.cc442 return Trap(ReturnErrno, reinterpret_cast<void*>(ret & SECCOMP_RET_DATA), in Return()
449 CodeGen::Node PolicyCompiler::Trap(TrapRegistry::TrapFnc fnc, in Trap() function in sandbox::bpf_dsl::PolicyCompiler
Dbpf_dsl.h107 Trap(TrapRegistry::TrapFnc trap_func, const void* aux);
/external/valgrind/gdbserver_tests/
Dmcsignopass.stdinB.gdb8 # Trap the below signals, we make them stop and then continue.
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2122 Sema::SFINAETrap Trap(S); in FinishTemplateArgumentDeduction() local
2230 if (Trap.hasErrorOccurred()) in FinishTemplateArgumentDeduction()
2254 SFINAETrap Trap(*this); in DeduceTemplateArguments() local
2271 if (Trap.hasErrorOccurred()) in DeduceTemplateArguments()
2292 Sema::SFINAETrap Trap(S); in FinishTemplateArgumentDeduction() local
2391 if (Trap.hasErrorOccurred()) in FinishTemplateArgumentDeduction()
2420 SFINAETrap Trap(*this); in DeduceTemplateArguments() local
2435 if (Trap.hasErrorOccurred()) in DeduceTemplateArguments()
2500 SFINAETrap Trap(*this); in SubstituteExplicitTemplateArguments() local
2524 Builder) || Trap.hasErrorOccurred()) { in SubstituteExplicitTemplateArguments()
[all …]
DSemaExprMember.cpp1012 SFINAETrap Trap(*this, true); in BuildMemberReferenceExpr() local
1018 if (RetryExpr.isUsable() && !Trap.hasErrorOccurred()) { in BuildMemberReferenceExpr()
1024 if (Trap.hasErrorOccurred()) in BuildMemberReferenceExpr()
DSemaDeclCXX.cpp4709 DiagnosticErrorTrap Trap(S.Diags); in ReferenceDllExportedMethods() local
4711 if (Trap.hasErrorOccurred()) { in ReferenceDllExportedMethods()
8951 DiagnosticErrorTrap Trap(Diags); in DefineImplicitDefaultConstructor() local
8953 Trap.hasErrorOccurred()) { in DefineImplicitDefaultConstructor()
9293 DiagnosticErrorTrap Trap(Diags); in DefineInheritingConstructor() local
9295 Trap.hasErrorOccurred()) { in DefineInheritingConstructor()
9423 DiagnosticErrorTrap Trap(Diags); in DefineImplicitDestructor() local
9427 if (CheckDestructor(Destructor) || Trap.hasErrorOccurred()) { in DefineImplicitDestructor()
10173 DiagnosticErrorTrap Trap(Diags); in DefineImplicitCopyAssignment() local
10332 if (Trap.hasErrorOccurred()) { in DefineImplicitCopyAssignment()
[all …]
DSemaStmt.cpp2104 Sema::SFINAETrap Trap(SemaRef); in RebuildForRangeWithDereference() local
2131 : Trap(SemaRef.Diags), D(D), Enabled(Enabled) {} in InvalidateOnErrorScope()
2133 if (Enabled && Trap.hasErrorOccurred()) in ~InvalidateOnErrorScope()
2137 DiagnosticErrorTrap Trap; member
DSemaExprCXX.cpp6091 DiagnosticErrorTrap Trap(Diags); in BuildCXXMemberCallExpr() local
6543 Sema::SFINAETrap Trap(SemaRef); in TryTransform() local
6545 if (Trap.hasErrorOccurred() || Res.isInvalid()) in TryTransform()
/external/llvm/test/Instrumentation/MemorySanitizer/
Dvector_cvt.ll41 ; Trap on %a shadow.
/external/clang/lib/Driver/
DDriver.cpp566 DiagnosticErrorTrap Trap(Diags); in generateCompilationDiagnostics() local
631 if (Trap.hasErrorOccurred()) { in generateCompilationDiagnostics()
/external/valgrind/docs/internals/
D3_2_BUGSTATUS.txt94 149182 vx1784/5 PPC Trap instructions not implemented in valgrind
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.td807 // Section B.26 - Return from Trap Instruction
817 // Section B.27 - Trap on Integer Condition Codes Instruction

12