Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 25 of 40) sorted by relevance

12

/xnu-11215/libkern/libkern/c++/
H A Dbounded_array_ref.h88 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
100 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
113 TrappingPolicy::trap("bounded_array_ref: The [first, last) constructor requires a valid range."); in bounded_array_ref()
116 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
128 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
140 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
256 … TrappingPolicy::trap("bounded_array_ref: n + m is larger than the size of any bounded_array_ref"); in slice()
259 …TrappingPolicy::trap("bounded_array_ref: invalid slice provided, the indices are of bounds for the… in slice()
H A Dbounded_ptr.h188 TrappingPolicy::trap("The range of valid memory is too large to be represented "
199 TrappingPolicy::trap("The offset of the pointer inside its valid memory "
266 TrappingPolicy::trap("bounded_ptr<T>::operator*: Dereferencing this pointer "
276 TrappingPolicy::trap("bounded_ptr<T>::operator->: Accessing a member through this pointer "
304 TrappingPolicy::trap("bounded_ptr<T>::discard_bounds: Discarding the bounds on "
395 TrappingPolicy::trap(
400 TrappingPolicy::trap(
415 TrappingPolicy::trap(
420 TrappingPolicy::trap(
485 TrappingPolicy::trap("This bounded_ptr is pointing to memory outside of what can "
H A DOSBoundedPtr.h51 trap(char const* message) in trap() function
/xnu-11215/iokit/DriverKit/
H A Dbounded_array_ref.h88 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
100 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
113 TrappingPolicy::trap("bounded_array_ref: The [first, last) constructor requires a valid range."); in bounded_array_ref()
116 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
128 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
140 TrappingPolicy::trap("bounded_array_ref: Can't construct from a size greater than UINT32_MAX"); in bounded_array_ref()
256 … TrappingPolicy::trap("bounded_array_ref: n + m is larger than the size of any bounded_array_ref"); in slice()
259 …TrappingPolicy::trap("bounded_array_ref: invalid slice provided, the indices are of bounds for the… in slice()
H A Dbounded_ptr.h188 TrappingPolicy::trap("The range of valid memory is too large to be represented "
199 TrappingPolicy::trap("The offset of the pointer inside its valid memory "
266 TrappingPolicy::trap("bounded_ptr<T>::operator*: Dereferencing this pointer "
276 TrappingPolicy::trap("bounded_ptr<T>::operator->: Accessing a member through this pointer "
304 TrappingPolicy::trap("bounded_ptr<T>::discard_bounds: Discarding the bounds on "
395 TrappingPolicy::trap(
400 TrappingPolicy::trap(
415 TrappingPolicy::trap(
420 TrappingPolicy::trap(
485 TrappingPolicy::trap("This bounded_ptr is pointing to memory outside of what can "
H A DOSBoundedPtr.h51 trap(char const* message) in trap() function
/xnu-11215/san/memory/
H A Dubsan_minimal.c68 ubsan_minimal_trap_to_str(uint16_t trap) in ubsan_minimal_trap_to_str() argument
70 return ubsan_traps[trap - UBSAN_MINIMAL_TRAPS_START].str; in ubsan_minimal_trap_to_str()
76 uint16_t trap) in ubsan_handle_brk_trap() argument
86 uint32_t trap_idx = trap - UBSAN_MINIMAL_TRAPS_START; in ubsan_handle_brk_trap()
89 panic("UBSAN trap for %s detected\n", ubsan_minimal_trap_to_str(trap)); in ubsan_handle_brk_trap()
/xnu-11215/tests/bounded_array_ref_src/
H A Dtest_policy.h15 trap(char const*) in trap() function
25 trap(char const* m) in trap() function
/xnu-11215/doc/arm/
H A Dsme.md80 accesses to trap.
116 EL2 may trap guest reads and writes to `SMPRI_EL1` using the fine-grained trap
127 `CPACR_EL1` and `CPTR_ELx` have controls that can trap SVE and SME operations.
131 - `SMEN`: trap SME instructions and register accesses, including SVE
133 - `FPEN`: trap FPSIMD, SME, and SVE instructions and most register accesses, but
137 own trapping mechanisms. `SMPRI_EL1` has fine-grained hypervisor trap controls
138 as described above. `SMIDR_EL1` accesses can trap to the hypervisor using the
140 control bit `SCTLR_ELx.EnTP2` along with fine-grained trap controls
198 the subsequent SME trap.
232 (1) The `hv_vcpu_run` trap handler returns control all the way back to the VMM
[all …]
/xnu-11215/tests/safe_allocation_src/
H A Dtest_utils.h15 trap(char const*) in trap() function
95 trap(char const*) in trap() function
/xnu-11215/EXTERNAL_HEADERS/image4/cs/
H A Dtraps.h248 image4_cs_trap_resolve_handler(image4_cs_trap_t trap);
264 image4_cs_trap_vector_size(image4_cs_trap_t trap);
/xnu-11215/doc/observability/
H A Dmt_stackshot.md17 called) sets up state. Then, it enters the debugger trap, and IPIs the other
18 cores into the debugger trap as well. The other CPUs call into stackshot from
19 the debugger trap instead of spinning, and determine if they are eligible to
22 IPI'd into the debugger trap, and we want to avoid overheating the CPU).
31 debugger trap, interrupts are re-enabled, and the kcdata from all of the CPUs
142 Since stackshot takes place entirely from within the debugger trap, if an
157 piggybacking on the debugger trap.
/xnu-11215/doc/building/
H A Dbound_checks.md27 * when it is enabled, whether a trap should be a panic, or whether it should
34 We can ask clang to give us one trap instruction per function, which can have
36 check in that function will jump to that trap instruction when they fail. Debug
37 information on the trap instruction will be meaningless and the debugger won't
41 On the other hand, we can ask clang to give us one trap instruction per bounds
43 always immediately readable and the trap location shows correctly in the
135 panicking. Kernels with known soft trap triggers are un-shippable, but they may
/xnu-11215/tests/bounded_ptr_src/
H A Dtest_utils.h10 trap(char const*) in trap() function
H A Dctor.convert.cpp31 trap(char const*) in trap() function
37 trap(char const*) in trap() function
H A Dassign.convert.cpp30 trap(char const*) in trap() function
36 trap(char const*) in trap() function
H A Dcompare.equal.cpp20 trap(char const*) in trap() function
26 trap(char const*) in trap() function
H A Dcompare.order.cpp26 trap(char const*) in trap() function
32 trap(char const*) in trap() function
H A Dcompare.equal.nullptr.cpp27 trap(char const*) in trap() function
H A Dreinterpret_cast.cpp28 trap(char const*) in trap() function
H A Ddiscard_bounds.cpp20 trap(char const*) in trap() function
H A Dunsafe_discard_bounds.cpp21 trap(char const*) in trap() function
H A Dderef.cpp28 trap(char const*) in trap() function
/xnu-11215/tests/bounded_array_src/
H A Dtest_policy.h12 trap(char const*) in trap() function
/xnu-11215/osfmk/ipc/
H A Dipc_policy.h159 #pragma mark legacy trap policies

12