windows - 设备驱动程序如何像Process Monitor一样成为EXE

标签 windows device-driver sysinternals process-monitor

Process Monitor 和 Explorer 提供了一个 EXE 文件。 但他们包括一名司机。 -它在哪里。

由 Windows Internals 提供,

Process Monitor works by extracting a file system filter device driver from its executable image (Procmon.exe) the first time you run it after a boot, installing the driver in memory, and then deleting the driver image from disk.

我想知道详细的机制。
有一些代码吗?我在哪里可以找到它们。
或者你能给我解释一下吗?
谢谢。

最佳答案

上次我看到它只是作为资源嵌入到可执行文件中。您可以使用 Resource Hacker 之类的工具来查看它。我猜当进程启动时,它会从资源部分提取驱动程序并安装它。

关于windows - 设备驱动程序如何像Process Monitor一样成为EXE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3939136/

相关文章:

64-bit - DDK/WDM 开发问题...驱动程序无法在 x64 windows 平台上加载

debugging - DebugView 的替代品?

linux - 是否有与 Linux 中的 windows GetSystemTimes() 函数等效的函数?

c++ - MapViewOfFile 是否有可能两次返回相同的地址?

c++ - 如何获得_bstr_t的长度

c - 将 UART 寄存器地址映射到内核以编写设备驱动程序

linux - 我应该学习哪种语言?

linux - 有关内核 3.x 上的设备驱动程序编程的文档

windows - 我的进程中所有这些未提交的保留内存是什么?

data-structures - SYSTEM_HANDLE_INFORMATION 结构