Lines Matching refs:currPC

537 	uint64_t                currPC = 0ULL, currLR = 0ULL, currSP = 0ULL;  in chudxnu_thread_get_callstack64_internal()  local
588 currPC = (uint64_t)state->pc; /* r15 */ in chudxnu_thread_get_callstack64_internal()
590 currPC |= 1ULL; /* encode thumb mode into low bit of PC */ in chudxnu_thread_get_callstack64_internal()
599 buffer[bufferIndex++] = chudxnu_vm_unslide(currPC, supervisor); // save PC in position 0. in chudxnu_thread_get_callstack64_internal()
732 uint64_t currPC = 0ULL, currLR = 0ULL, currSP = 0ULL; in chudxnu_thread_get_callstack64_internal() local
787 currPC = state->pc; in chudxnu_thread_get_callstack64_internal()
795 buffer[bufferIndex++] = chudxnu_vm_unslide(currPC, kernel); // save PC in position 0. in chudxnu_thread_get_callstack64_internal()
929 currPC = (uint64_t)state->pc; /* r15 */ in chudxnu_thread_get_callstack64_internal()
931 currPC |= 1ULL; /* encode thumb mode into low bit of PC */ in chudxnu_thread_get_callstack64_internal()
940 buffer[bufferIndex++] = chudxnu_vm_unslide(currPC, kernel); // save PC in position 0. in chudxnu_thread_get_callstack64_internal()
1086 uint64_t currPC = 0ULL; local
1090 if (KERN_SUCCESS != chudxnu_kern_read(&currPC, (vm_offset_t)&(regs->k_rip), sizeof(uint64_t))) {
1097 uint32_t currPC = 0U; local
1101 if (KERN_SUCCESS != chudxnu_kern_read(&currPC, (vm_offset_t)&(regs->k_eip), sizeof(uint32_t))) {
1112 if (!currPC) {
1116 frames[ct++] = chudxnu_vm_unslide((uint64_t)currPC, 1);
1128 if (!currFP || !currPC) {
1129 currPC = 0;
1139 kr = chudxnu_kern_read(&currPC, (vm_offset_t)caller, sizeof(currPC));
1141 if (kr != KERN_SUCCESS || !currPC) {
1142 currPC = 0UL;
1151 kr = chudxnu_kern_read(&prevFP, (vm_offset_t)currFP, sizeof(currPC));
1158 frames[ct++] = chudxnu_vm_unslide((uint64_t)currPC, 1);
1159 prevPC = currPC;
1185 uint64_t currPC = (uint64_t) regs->eip; local
1197 frames[ct++] = chudxnu_vm_unslide(currPC, supervisor);
1204 currPC = 0;
1221 currPC = 0ULL;
1225 currPC = (uint64_t) tmpWord; // promote 32 bit address
1240 frames[ct++] = chudxnu_vm_unslide(currPC, supervisor);
1241 prevPC = currPC;
1264 uint64_t currPC = regs->isf.rip; local
1276 frames[ct++] = chudxnu_vm_unslide(currPC, supervisor);
1284 currPC = 0;
1295 kr = chudxnu_kern_read(&currPC, (vm_offset_t)caller, sizeof(uint64_t));
1297 kr = chudxnu_task_read(task, &currPC, caller, sizeof(uint64_t));
1301 currPC = 0ULL;
1317 frames[ct++] = chudxnu_vm_unslide(currPC, supervisor);
1318 prevPC = currPC;
1341 uint64_t currPC = 0ULL; local
1450 if (KERN_SUCCESS != chudxnu_kern_read(&currPC, (vm_offset_t)&(kregs->k_rip), sizeof(uint64_t))) {
1454 currPC = regs64->isf.rip;
1456 currPC = (uint64_t) regs32->eip;
1458 currPC = u_regs64->isf.rip;
1460 currPC = (uint64_t) u_regs32->eip;
1463 if (!currPC) {