Searched refs:theInstr (Results 1 – 3 of 3) sorted by relevance
| /xnu-8019.80.24/bsd/dev/arm/ |
| H A D | fbt_arm.c | 337 machine_inst_t *instr, *pushinstr = NULL, *limit, theInstr; in fbt_provide_probe() local 354 for (j = 0, instr = symbolStart, theInstr = 0; in fbt_provide_probe() 356 theInstr = *instr; in fbt_provide_probe() 357 if (FBT_IS_THUMB_PUSH_LR(theInstr)) { in fbt_provide_probe() 360 savedRegs = FBT_THUMB_STACK_REGS(theInstr); in fbt_provide_probe() 363 if (foundPushLR && (FBT_IS_THUMB_SET_R7(theInstr) || FBT_IS_THUMB_MOV_SP_TO_R7(theInstr))) { in fbt_provide_probe() 367 if (FBT_IS_THUMB_BX_REG(theInstr)) { /* We've gone too far, bail. */ in fbt_provide_probe() 370 if (FBT_IS_THUMB_POP_PC(theInstr)) { /* We've gone too far, bail. */ in fbt_provide_probe() 375 if (dtrace_instr_size(theInstr, 1) == 4) { in fbt_provide_probe() 380 if (!(foundPushLR && (FBT_IS_THUMB_SET_R7(theInstr) || FBT_IS_THUMB_MOV_SP_TO_R7(theInstr)))) { in fbt_provide_probe() [all …]
|
| /xnu-8019.80.24/bsd/dev/arm64/ |
| H A D | fbt_arm.c | 283 machine_inst_t *instr, *pushinstr = NULL, *limit, theInstr; in fbt_provide_probe() local 303 for (instr = symbolStart, theInstr = 0; instr < instrHigh; instr++) { in fbt_provide_probe() 310 theInstr = *instr; in fbt_provide_probe() 311 if (FBT_IS_ARM64_FRAME_PUSH(theInstr)) { in fbt_provide_probe() 316 if (foundPushLR && (FBT_IS_ARM64_ADD_FP_SP(theInstr))) { in fbt_provide_probe() 320 if (FBT_IS_ARM64_RET(theInstr)) { /* We've gone too far, bail. */ in fbt_provide_probe() 323 if (FBT_IS_ARM64_FRAME_POP(theInstr)) { /* We've gone too far, bail. */ in fbt_provide_probe() 328 if (!(foundPushLR && (FBT_IS_ARM64_ADD_FP_SP(theInstr)))) { in fbt_provide_probe() 373 newfbt->fbtp_savedval = theInstr; in fbt_provide_probe() 432 theInstr = *instr; in fbt_provide_probe() [all …]
|
| /xnu-8019.80.24/bsd/dev/i386/ |
| H A D | fbt_x86.c | 264 machine_inst_t *instr, *limit, theInstr, i1, i2, i3; in fbt_provide_probe() local 275 for (j = 0, instr = symbolStart, theInstr = 0; in fbt_provide_probe() 277 theInstr = instr[0]; in fbt_provide_probe() 278 if (theInstr == FBT_PUSH_RBP || theInstr == FBT_RET || theInstr == FBT_RET_IMM16) in fbt_provide_probe() 287 if (theInstr != FBT_PUSH_RBP) in fbt_provide_probe() 298 theInstr = i1; in fbt_provide_probe() 333 theInstr = i1; in fbt_provide_probe() 375 newfbt->fbtp_savedval = theInstr; in fbt_provide_probe() 458 theInstr = instr[0]; in fbt_provide_probe() 461 if (theInstr == FBT_PUSH_RBP) in fbt_provide_probe() [all …]
|