With the following kernel API, we can invoke user mode application from Kernel modules/threads.
int call_usermodehelper (char * path, char ** argv, char ** envp, int wait);
With the following kernel API, we can invoke user mode application from Kernel modules/threads.
int call_usermodehelper (char * path, char ** argv, char ** envp, int wait);
How do you read and write files from a kernel module? Wait, make that “how would you read and write files from a kernel module if that weren’t a bad thing to do?”
cfix is an xUnit testing framework for C/C++, specialized for Windows development (32/64 bit). cfix supports development of both user and kernel mode unit tests.
cfix – Unit testing for C and C++ on Win32
Introducing cfix, a unit testing framework for C/C++ on Win32
cfix 1.1 introduces NT kernel mode unit tests