Skip to content

Instantly share code, notes, and snippets.

@3intermute
3intermute / direct_hook.c
Last active August 5, 2022 04:23
arm64 syscall hooking
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <asm-generic/unistd.h>
#include "resolve_kallsyms.h"
#include "set_page_flags.h"
#include "direct_syscall_hook.h"
MODULE_LICENSE("GPL");
MODULE_AUTHOR("0xwillow");