brintos

brintos / llvm-project-archived public Read only

0
0
Text · 326 B · 7119277 Raw
15 lines · c
1int main() {2  //% self.filecheck("c", "brkC47x.c")3  // CHECK: stop reason = EXC_BAD_ACCESS4  // CHECK-NOT: Note: Possible pointer authentication failure detected.5  asm volatile (6      "mov x16, #0xbad \n"7      "brk 0xc470 \n"8      /* Outputs */  :9      /* Inputs */   :10      /* Clobbers */ : "x16"11  );12 13  return 1;14}15