|
HyperDbg Debugger
|
Files | |
| mock.c | |
| Mock Linux kernel module for testing cross-platform memory APIs. | |
| pch.h | |
| Pre-compiled headers for Linux mock. | |
This directory contains a Linux kernel module that demonstrates and tests the
cross-platform memory management APIs (PlatformMem.c) from the HyperDbg project.
The module provides a simple test harness (mock.c) that exercises memory
allocation, copy, and deallocation functions in kernel space
Before building the module, ensure you have the necessary development tools
and kernel headers installed:
then build module:
If successful, this will generate:
to insert the module into the kernel:
you can use lsmod :
or you can inspect kernel module: