Last active
March 12, 2022 18:04
-
-
Save R00tkitSMM/bdf966621ec8131c00d55ccf3eff9384 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- | |
fleh_dispatch64(asm code arm64 exception vector) -> sleh_synchronous -> | |
handle_abort -> handle_kernel_abort -> | |
panic_with_thread_kernel_state("Kernel data abort.", state); | |
2- | |
Entry(hndl_alltraps) | |
mov %esi, %eax | |
testb $3, %al | |
jz trap_from_kernel | |
EXT(idt64_hndl_table1): | |
.quad EXT(hndl_allintrs) | |
.quad EXT(hndl_alltraps) | |
trap_from_kernel -> CCALLWITHSP(kernel_trap) /* to kernel trap routine */ -> | |
kernel_trap -> panic_trap(x86_saved_state64_t *regs, uint32_t pl, kern_return_t fault_result) | |
-> panic("Kernel trap at 0x%016llx, type %d=%s, registers:\n" | |
3- panic (just WTF panic) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment