|
|
|
[求助]关于内存不能为read的问题
用户空间的代码ring3无法对ring0级的内存作任何操作,包括读操作,程序读取高于2G的内存空间就会报内存不能为read,但是我读取少于2G的内存也报错。 |
|
[求助]关于内存不能为read的问题
当然不会让我随意读取高于2G的内存空间,但是我读取低于2G的内存空间也会报错。 |
|
推荐]驱动编写必读:内核栈
原文来自这里:http://advdbg.org/blogs/advdbg_system/articles/194.aspx有兴趣可以去看看 |
|
|
|
[求助]exe与com有什么不同
MSDN 的博客> 旧的新事物 > COM 和 exe 文件扩展名之间的区别是什么? COM 和 exe 文件扩展名之间的区别是什么? 雷蒙陈-MSFT 评论科罗问 为什么您可以重命名 COM 没有任何明显的不良影响的 EXE 文件。(James MAstros 问了一个类似的问题,在詹姆斯的问题,将在晚些时候占用额外的问题虽然。) 最初,唯一存在的程序被 COM 文件。COM 的格式文件 … … 嗯,无。没有格式。COM 文件是只是内存中的映像。从 CP/M 继承此的格式。程序加载程序文件加载 COM 文件,只被吸到保持不变,然后跳到第一个字节的内存。没有修正,没有校验和,没有什么。只需加载并去。 COM 文件格式存在许多问题,其中的程序不能大于约为 64 KB。为了解决这些限制,引入 EXE 文件格式。EXE 文件头 "MZ"神奇的字母 开头,并继续与其他程序加载程序将使用该程序加载到内存,它准备执行的信息。 那里东西躺,与 COM 文件"的原始内存映像"和 EXE 文件"结构化,"和严格保持这种区分。如果您重命名为 COM 的 exe 可执行文件,操作系统会尝试执行标头,犹如机器代码 (不很远的地方让你),反之如果您重命名为 EXE 的 COM 文件,程序加载程序会拒绝它神奇的 MZ 头因缺少。 所以当程序加载程序改变完全忽略扩展,以确定它是哪种类型的程序中只使用 MZ 标头是否存在?兼容性,课程。 随着时间推移,程序像 FORMAT.COM, EDIT.COM,和甚至 COMMAND.COM 增长超过约为 64 KB。根据原来的规则,这就意味着延长了改为 exe 文件,但做如此介绍了兼容性问题。毕竟,因为这些文件已经 COM 文件直到那时、 程序或批处理文件,想要说,产卵的命令解释程序,会尝试执行 COMMAND.COM。如果命令解释器被重命名为 COMMAND.EXE,硬编码的程序的名称,这些程序将停止工作,因为当时没有 COMMAND.COM 再。 使程序加载程序更灵活意味着这些"著名节目"可以保留其 COM 的扩展名,而不再受约束的 COM 文件都必须适合到 64 KB 限制。 但等待,如果 COM 程序只是碰巧开头字母 MZ 吗?幸运的是,永远不会发生,因为机器代码为"MZ"反汇编,如下所示: 0100 4D DEC BP 0101 5A POP DX 第一个指令递减的初始值是未定义的一份登记册和第二的指令出现下溢堆栈。没有健全的程序的开头两个未定义的操作。 |
|
[求助]exe与com有什么不同
主要的区别只有一个:com程序没有头部控制信息,只有二进制代码;EXE程序会有一个头部控制信息,控制EXE的二进制代码。 这个主要区别就决定了他们之间会有许多的差别: 1:COM程序的入口地址是固定的,为100h;exe程序的人口地址可以随意,由end 后面的标号决定。 2:COM程序的数据和代码段是混合在一起的,因为COM没有能力识别数据段开始的位置。 3:COM程序只能有一个代码段,而不能有更多,这也决定了COM程序的大小最多为64K。 从本质上来看,COM和EXE保存的都是机器代码。因此,我们在某些情况下,把EXE程序的头部去了,并做适当的修改,就可以转化为COM程序;COM程序加多一个头部,就可以变成EXE程序。 EXE程序可以分为DOS下的EXE程序和WINDOWS下的EXE程序,两种程序的头部结构是不同的。其中WINDOWS下的EXE程序是采用PE结构的。 |
|
[转帖]从入门到精通:Rootkit的检测、清除、预防
自己顶起吧! |
|
[推荐 编写 Debugging Tools for Windows 扩展
不好意思,原文代码以图片形式给出的。复制的时候就成这样了! |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值