-
Notifications
You must be signed in to change notification settings - Fork 1
xqjcool/KernelDebugger
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the README file for funchook, which implements the function hook to provide a easy and convenient way to analyze kernel problems and provide hotfix to kernel. Introduction. ************* - Analyze kernel problems we can add code to the hook function to analyze the change before and after the execution of a specific function. like kernel printk, stack dump, etc. - hotfix patch for kernel problem we can fix the problem in hook function, once hook function is registered, it will work instead of the original function. Usage. ************* 1. Copy the hook_fput directory and rename it, for example, hook_new. 2. Modify samples/Makefile, add "obj-y = hook_new". 3. 3. Modify hook_new/module.c according to your needs. Installation. ************* Run `make` to generate module ko file, then install ko file on kernel system. Contacts. ********* Xing Qingjie <[email protected]> Copyrights: *********** All of the code can be freely used and redistributed.
About
Tools for learning the kernel, powerful instruments for analyzing kernel issues; can also be used to create kernel hot patches, fixing kernel bugs.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published