项目
在 GitHub 查看
bmax121/KernelPatch
bmax121/KernelPatch has 1,614 GitHub stars and 401 forks. GitHot measured 0 stars in 24 hours, +9 in 7 days, and +19 in 15 days. Last checked 2026-11-23 00:38 UTC. Last push 2026-11-21.
实测星标增长
- 24小时
- 0
- 7天
- +9
- 15天
- +19
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
仅使用裁剪后的 Linux 内核镜像,对 Linux 内核进行修补和挂钩。
开发工具README.md
原文KernelPatch
Patching and hooking the Linux kernel with only stripped Linux kernel image.
_ __ _ ____ _ _
| |/ /___ _ __ _ __ ___| | _ \ __ _| |_ ___| |__
| ' // _ \ '__| '_ \ / _ \ | |_) / _` | __/ __| '_ \
| . \ __/ | | | | | __/ | __/ (_| | || (__| | | |
|_|\_\___|_| |_| |_|\___|_|_| \__,_|\__\___|_| |_|
- Obtain all symbol information without source code and symbol information.
- Inject arbitrary code into the kernel. (Static patching the kernel image or Runtime dynamic loading).
- Kernel function inline hook and syscall table hook are provided.
- Additional SU for Android.
If you are using Android, APatch would be a better choice.
Requirement
CONFIG_KALLSYMS=y
Supported Versions
Currently only supports arm64 architecture.
Linux 3.18 - 6.6 (theoretically)
Get Involved
More Information
Credits
- vmlinux-to-elf: Some ideas for parsing kernel symbols.
- android-inline-hook: Some code for fixing arm64 inline hook instructions.
- tlsf: Memory allocator used for KPM. (Need another to allocate ROX memory.)
License
KernelPatch is licensed under the GNU General Public License (GPL) 2.0 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
探索相关项目
加载中…