This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dlfcn.h> | |
int main(int argc, char** argv) | |
{ | |
void *handle; | |
int (*kas_info)(int, uint64_t *, size_t *); | |
size_t kaslr_size = 0; |
This file contains 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 |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <sys/mman.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <time.h> | |
#define RAH_VALID (1 << 31) /* AV */ |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <sys/mman.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <time.h> | |
#define RAH_VALID(1 << 31) /* AV */ |