Home
last modified time | relevance | path

Searched refs:backtrace (Results 1 – 25 of 31) sorted by relevance

12

/xnu-12377.61.12/tests/unit/mocks/
H A Dunit_test_utils.c34 extern int backtrace(void **array, int size);
82 bt->nptrs = backtrace(bt->buffer, 100); in collect_current_backtrace()
112 bt.nptrs = backtrace(bt.buffer, 100); in print_current_backtrace()
/xnu-12377.61.12/osfmk/kern/
H A Dexclaves_panic.c180 if ((exclaves_panic_buffer.panicked_thread.backtrace.frames > in exclaves_append_panic_backtrace()
185 words = exclaves_panic_buffer.backtrace.words; in exclaves_append_panic_backtrace()
187 for (size_t i = 0; i < exclaves_panic_buffer.panicked_thread.backtrace.frames; i++) { in exclaves_append_panic_backtrace()
189 (const unsigned char *)exclaves_panic_buffer.backtrace.images[words[i].image].uuid, in exclaves_append_panic_backtrace()
192 exclaves_panic_buffer.backtrace.words[i].offset); in exclaves_append_panic_backtrace()
H A Dtrap_telemetry.c142 CA_STATIC_STRING(TRAP_TELEMETRY_BT_STR_LEN), backtrace,
146 CA_STATIC_STRING(TRAP_TELEMETRY_BT_STR_LEN), backtrace,
154 CA_STATIC_STRING(TRAP_TELEMETRY_BT_STR_LEN), backtrace,
727 /* buf */ event->backtrace, in rsb_entry_submit()
748 /* buf */ event->backtrace, in rsb_entry_submit()
796 /* buf */ event->backtrace, in rsb_entry_submit()
1119 submission_e.bt_frames_count = backtrace( in trap_telemetry_report_exception()
1156 size_t frames_valid_count = backtrace(frames, frames_count, &ctl, NULL); in trap_telemetry_report_simulated_trap_impl()
H A Diotrace.h56 void *backtrace[MAX_IOTRACE_BTFRAMES]; member
92 (void) OSBacktrace(cur_iotrace_ring[nextidx].backtrace, in iotrace()
H A Dbacktrace.h132 unsigned int backtrace(uintptr_t *bt, unsigned int btlen,
H A Dtimeout.c76 (void) backtrace(&to->bt[0], TO_BT_FRAMES, NULL, NULL); in kern_timeout_start()
H A DMakefile61 backtrace.h \
H A Dbacktrace.c276 backtrace(uintptr_t *bt, unsigned int max_frames, in backtrace() function
/xnu-12377.61.12/osfmk/vm/
H A Dvm_sanitize_telemetry.c160 CA_STATIC_STRING(CA_VM_BACKTRACE_AND_SYM_LEN), backtrace,
188 int backtrace_count = backtrace(frames, VM_SANITIZE_BACKTRACE_FRAME_COUNT, &ctl, &info); in vm_sanitize_populate_symbolicatable_backtrace_string()
227 …tring((uintptr_t)__builtin_frame_address(0), event_data->backtrace, sizeof(event_data->backtrace)); in vm_sanitize_send_telemetry_core_analytics()
/xnu-12377.61.12/tests/unit/mocks/fibers/
H A Dchecker.c48 …struct backtrace_array *backtrace; /* backtrace collected at program point of the memory operation… member
209 print_collected_backtrace(conflicting_entry->backtrace); in report_race()
318 new_watchpoint.backtrace = collect_current_backtrace(); in check_and_set_watchpoint()
340 free(removed_entry.backtrace); in post_check_and_remove_watchpoint()
/xnu-12377.61.12/bsd/kern/
H A Dkern_backtrace.c53 SYSCTL_NODE(_kern, OID_AUTO, backtrace, CTLFLAG_RW | CTLFLAG_LOCKED, 0,
87 unsigned int len = backtrace(bt, bt_len, NULL, &info);
/xnu-12377.61.12/doc/debugging/
H A Dtask_ref.md36 configured backtrace information) for a set of references. Reference groups are
105 groups. To enable backtrace logging and reference group statistics, the `rlog`
111 To enable statistics for all reference groups and backtrace logging for the
/xnu-12377.61.12/bsd/man/man9/
H A DMakefile10 backtrace.9 \
/xnu-12377.61.12/san/memory/
H A Dkasan-denylist-arm6433 src:./osfmk/kern/backtrace.c
H A Dkasan-report.c156 nframes = backtrace(bt, nframes, &ctl, NULL); in kasan_log_report()
H A Dkasan_dynamic_denylist.c366 nframes = backtrace(bt, MAX_FRAMES, &ctl, NULL); in kasan_is_denylisted()
/xnu-12377.61.12/osfmk/i386/
H A Dcpu_data.h137 uint64_t backtrace[MAX_TRACE_BTFRAMES]; member
580 rbtrace_bt(&cur_traptrace_ring[nextidx].backtrace[0], in traptrace_start()
/xnu-12377.61.12/tools/lldbmacros/
H A DREADME.md19 i. Reading a exception backtrace
300 …ter is bad or the memory is corrupted lldb macros will fail with a long backtrace that may not mak…
407 i. Reading a exception backtrace
409 In case of an error the lldbmacros may print out an exception backtrace and halt immediately. The i…
416 a case lldb command may fail and show you a confusing backtrace.
H A Dkasan.py200 def backtrace(self): member in MemObject
/xnu-12377.61.12/osfmk/conf/
H A DMakefile.template210 backtrace.o_CWARNFLAGS_ADD += -Wno-shorten-64-to-32
253 backtrace.o_CWARNFLAGS_ADD += -Wno-sign-conversion
H A Dfiles115 osfmk/kern/backtrace.c standard
/xnu-12377.61.12/doc/building/
H A Dbound_checks.md40 entry in the backtrace.
43 check. In that configuration, we get arguably bad codegen, but the backtrace is
/xnu-12377.61.12/osfmk/kperf/
H A Dcallstack.c231 cs->kpkc_nframes = backtrace(cs->kpkc_word_frames, cs->kpkc_nframes - 1, in kperf_backtrace_sample()
286 cs->kpkc_nframes = backtrace(cs->kpkc_word_frames, cs->kpkc_nframes - 1, in kperf_kcallstack_sample()
/xnu-12377.61.12/iokit/Kernel/
H A DIOKitDebug.cpp510 num = backtrace(&mem->bt[0], kIOTrackingCallSiteBTs, NULL, NULL); in IOTrackingAddUser()
573 num = backtrace(&bt[0], kIOTrackingCallSiteBTs + 1, NULL, NULL); in IOTrackingAdd()
H A DIOStatistics.cpp1249 btCount = backtrace((uintptr_t*)bt, btCount, NULL, NULL); in getKextNodeFromBacktrace()

12