阅读:1800回复:8
请问luo一个问题,急!!!
怎么知道一个驱动在系统中加载的位置?
就是得到一个驱动在内存里开始的地址 |
|
最新喜欢:![]()
|
沙发#
发布于:2002-03-21 16:52
目标DRIVER是你写的么?
|
|
|
板凳#
发布于:2002-03-21 16:56
不是,如果是我自己写的就好办了,
比如我想得到ndis.sys在内存中的地址,怎么弄? 能给我你的oicq吗? 我的是oicq:589223 我现在在线 |
|
|
地板#
发布于:2002-03-21 17:54
如果你安砚了softice
你可以在softice窗口中使用命令: driver ndis |
|
地下室#
发布于:2002-03-21 18:02
定阅这一主题。
|
|
|
5楼#
发布于:2002-03-21 18:02
这个我知道,我想知道softice 的dirvier命令是怎么实现的,
怎么在我的驱动里得到另一个驱动加载的地址, |
|
|
6楼#
发布于:2002-03-21 19:06
you can try this.
1.first you must know your driver object if ndis, it should be \\device\\Ndis. if something like cdfs, it\'s \\Cdfs 2. use IoGetDeviceObjectPointer to get device object pointer. 3. find driver object from deviceobject 4. reference which you want to use. what you must care is IRQL, no one can make sure when Ndis driver was swaped to page disk ( may be not). |
|
7楼#
发布于:2002-03-22 14:45
lu0的办法觉得很麻烦,我没有试,我已经找到的解决方法。谢谢大家
|
|
|
8楼#
发布于:2002-03-22 21:50
I am not lu0.
if you have other method,please paste here. |
|