| /xnu-12377.61.12/tests/unit/mocks/ |
| H A D | unit_test_utils.c | 34 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 D | exclaves_panic.c | 180 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 D | trap_telemetry.c | 142 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 D | iotrace.h | 56 void *backtrace[MAX_IOTRACE_BTFRAMES]; member 92 (void) OSBacktrace(cur_iotrace_ring[nextidx].backtrace, in iotrace()
|
| H A D | backtrace.h | 132 unsigned int backtrace(uintptr_t *bt, unsigned int btlen,
|
| H A D | timeout.c | 76 (void) backtrace(&to->bt[0], TO_BT_FRAMES, NULL, NULL); in kern_timeout_start()
|
| H A D | Makefile | 61 backtrace.h \
|
| H A D | backtrace.c | 276 backtrace(uintptr_t *bt, unsigned int max_frames, in backtrace() function
|
| /xnu-12377.61.12/osfmk/vm/ |
| H A D | vm_sanitize_telemetry.c | 160 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 D | checker.c | 48 …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 D | kern_backtrace.c | 53 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 D | task_ref.md | 36 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 D | Makefile | 10 backtrace.9 \
|
| /xnu-12377.61.12/san/memory/ |
| H A D | kasan-denylist-arm64 | 33 src:./osfmk/kern/backtrace.c
|
| H A D | kasan-report.c | 156 nframes = backtrace(bt, nframes, &ctl, NULL); in kasan_log_report()
|
| H A D | kasan_dynamic_denylist.c | 366 nframes = backtrace(bt, MAX_FRAMES, &ctl, NULL); in kasan_is_denylisted()
|
| /xnu-12377.61.12/osfmk/i386/ |
| H A D | cpu_data.h | 137 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 D | README.md | 19 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 D | kasan.py | 200 def backtrace(self): member in MemObject
|
| /xnu-12377.61.12/osfmk/conf/ |
| H A D | Makefile.template | 210 backtrace.o_CWARNFLAGS_ADD += -Wno-shorten-64-to-32 253 backtrace.o_CWARNFLAGS_ADD += -Wno-sign-conversion
|
| H A D | files | 115 osfmk/kern/backtrace.c standard
|
| /xnu-12377.61.12/doc/building/ |
| H A D | bound_checks.md | 40 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 D | callstack.c | 231 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 D | IOKitDebug.cpp | 510 num = backtrace(&mem->bt[0], kIOTrackingCallSiteBTs, NULL, NULL); in IOTrackingAddUser() 573 num = backtrace(&bt[0], kIOTrackingCallSiteBTs + 1, NULL, NULL); in IOTrackingAdd()
|
| H A D | IOStatistics.cpp | 1249 btCount = backtrace((uintptr_t*)bt, btCount, NULL, NULL); in getKextNodeFromBacktrace()
|