lizardo/test-kmod
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
What is it? =========== test_kmod is a simple tool that takes a compiled .ko module, "loads" it using mmap() and apply relocations the same way it is done by the Linux kernel. The undefined external symbols are them resolved to "stub" functions implemented by test_kmod itself (see stubs.c). This allows controlling the module inputs, and can be useful for unit testing, debugging (using GDB), memory checking (using valgrind) and code coverage (using gcov+lcov).
About
A userspace tool to test (compiled) Linux kernel modules
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published