Skip to content

Tools for learning the kernel, powerful instruments for analyzing kernel issues; can also be used to create kernel hot patches, fixing kernel bugs.

Notifications You must be signed in to change notification settings

xqjcool/KernelDebugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published