|
[原创]一个基于gcc和Masm32V9.0+的驱动傻瓜生成包
今天试了一下,给楼主补充一下,首先光有Masm32v9.0+ 和 MinGW 环境是不够的。还要下载kmdkit并安装,我用的是1.8版的kmdkit,下载链接: http://www.wasm.ru/tools/21/KmdKit.zip 不知道算不算新,因为单位的网似乎连不上four-f的网站,老毛子的俄语又看不懂。 但不管怎样,最后实验是成功的。 我安装的是vc6.0龙卷风企业版sp6,xp的ddk,目录是2600的,应该是版本号吧。masm32v9,msys最新版就是包含mingw最新版,我用的gcc版本是4.3.3-tdm-1。实验的例子是ddk里面的cancel,因为据说它是最简单的例子了。 首先用ddk来build,一次通过,再用OSRLOADER加载,操作都是成功的,check版,文件大小是6,784。 然后用这篇博客(http://kruglinski.bokee.com/3642661.html)上的方法来试,在msys的环境下,quicksys0.2.2生成框架能编译连接但是无法加载,框架本身也不能用ddk来build,而用quicksys0.4.0生成的框架ddk无法build。然后用msys去编译cancel工程,编译时有warning,连接不通过。结论,参数有问题,有待摸索。 最后用楼主的工具,首先我下载安装了masm32v9,在虚拟机中安装好费时啊。然后下载kmdkit,解压后拷贝好文件夹, Copy \include\ to \masm32\include Copy \macros\Strings.mac to \masm32\macros Copy \lib\w2k to \masm32\lib 把楼主的文件解压,"b c"成功,osrload加载启动成功,free,final都是,文件大小分别是:311,392 3,264 1,728 观察脚本设定发现主要是用link来连接才成功的,问题是用了哪个link呢?原来是vc6的! 然而编译 ddk的cancel 不成功。 也就是说ddk自己的例子用楼主的工具和mingw是不成功的,只能是楼主的写法能通过mingw和kmdkit来编译并用vc的link来连接。 请教楼主,要是纯用gnu的ld来链接应该怎样做,还有要是用mingw自己的头文件究竟能不能编译。 |
|
[原创]一个基于gcc和Masm32V9.0+的驱动傻瓜生成包
支持一下楼主,就是不知道要开发nt的驱动,是不是安装了mingw和xp sp1 ddk就行了? |
|
[转帖]DebugView for Windows v4.76
加了壳,不喜欢。 |
|
[转帖]DebugView for Windows v4.76
这个软件收费吗? |
|
[建议]目前的注册制度
看看再说。邀请码嘛,现在大家都在搞哈。 |
|
[原创][公开源代码]集合了无数大牛们的代码,打造自己的山寨版IceSword(KsBinSword)
请将窗体标题乱码,否则易于被恶意软件检测。 |
|
[求助]如何改变pe文件中的数据
目前暂时用程序自带的字符串绕过这个问题,等将来研究了,谢谢。 |
|
[原创]Immunity Debugger v1.6 绿色版
回个贴,为什么不能下载? |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值