kernel debugger

火雲邪神 2012-11-17 11:10:51
http://blog.csdn.net/cmk128/article/details/8191706

現在能夠在qemu裏建自己的debugger server, 所以peter-bochs可以支持qemu, qemu比bochs快, 要搞一個通用型的debugger, 在qemy上建立比較理想, 所以我會把peter-bochs名字改成

1) General kernel debugger
2) Hacker debugger

第二個好像比較帥氣
...全文
288 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
jerry_zjnb 2012-11-26
  • 打赏
  • 举报
回复
我想知道这个有什么用,有具体手册吗? 最近在学习写内核,不知用得上否?
火雲邪神 2012-11-20
  • 打赏
  • 举报
回复
那麼就叫general kernel debugger, 中文:通用型內核調試器, 多謝
「已注销」 2012-11-20
  • 打赏
  • 举报
回复
调试器啊,peter-bochs-debugger。不错不错。 我觉得还是叫 General kernel debugger吧。 Hacker debugger有点过了,呵呵。 调MBR我是用IDA+VM调试的(payload int 13h or int 15h hook部分) 而进入win系统的payload是用windbg调试的。 在Mac上面做过几个月的Reverse,当时用的是IDA+gdb,弄久了整个人都崩溃掉。 以后如果再有非win的kernel reverse果断要试试这个调试器。 强烈支持啊~~~
火雲邪神 2012-11-19
  • 打赏
  • 举报
回复
你們都是同志, 吵什麼呢
大熊猫侯佩 2012-11-19
  • 打赏
  • 举报
回复
引用 7 楼 jha334201553 的回复:
何必在乎别人怎么说呢,真正的大牛永远不会嘲笑说他菜的人。宽容的对待别人好不。这样才能更进一步的接受更多的知识。除非别人说出了真相,而你又不想承认才会生气~~你觉得呢?
我行不行不用你操心,某人管好自己就行。某人觉得自己了不起不要到csdn来啊。 不说废话!csdn论坛是文明的论坛,讨论问题可以,就事论事可以。 如果出现侮辱人的字眼,直接删除回复,再犯拉小黑屋。
「已注销」 2012-11-19
  • 打赏
  • 举报
回复
引用 5 楼 mydo 的回复:
本帖最后由 mydo 于 2012-11-18 20:32:48 编辑 引用 4 楼 cmk128 的回复:我什麼時候罵你? 為什麼我想搞怒所有人? 你睁大眼睛看看,我是说你吗?除非你和1楼是一路货色。 你不觉得1楼侮辱人言语有过分吗? 既然你们两位高人水平这么高,嫌csdn水平低,还老是来这里发帖显摆干嘛呢? 你发了不少贴没……
何必在乎别人怎么说呢,真正的大牛永远不会嘲笑说他菜的人。宽容的对待别人好不。这样才能更进一步的接受更多的知识。除非别人说出了真相,而你又不想承认才会生气~~你觉得呢?
火雲邪神 2012-11-18
  • 打赏
  • 举报
回复
mydo同志, 他說笑的吧
时间坐标 2012-11-18
  • 打赏
  • 举报
回复
peter-bochs是你的作品?nice job 没想到你竟然在csdn混。这里找不到你能讨论的对象,都是基础的问题呈现,从一般用户到版主,水平都很渣渣。 加我email:ictxiangxin@hotmail.com
大熊猫侯佩 2012-11-18
  • 打赏
  • 举报
回复
引用 4 楼 cmk128 的回复:
我什麼時候罵你?
為什麼我想搞怒所有人?


你睁大眼睛看看,我是说你吗?除非你和1楼是一路货色。
你不觉得1楼侮辱人言语有过分吗?
既然你们两位高人水平这么高,嫌csdn水平低,还老是来这里发帖显摆干嘛呢?
你发了不少贴没错吧?你去找高人和你们一块玩吧,好不好?
1楼下次再发这种侮辱人的回复,直接删除,关小黑屋,别怪我没打招呼。

火雲邪神 2012-11-18
  • 打赏
  • 举报
回复
我什麼時候罵你? 為什麼我想搞怒所有人?
大熊猫侯佩 2012-11-18
  • 打赏
  • 举报
回复
引用 1 楼 ictxiangxin 的回复:
peter-bochs是你的作品?nice job
没想到你竟然在csdn混。这里找不到你能讨论的对象,都是基础的问题呈现,从一般用户到版主,水平都很渣渣。
加我email:ictxiangxin@hotmail.com


你骂我不要紧,别把汇编区所有人给惹怒鸟。
我现在涵养好很多了,真的。
火雲邪神 2012-11-18
  • 打赏
  • 举报
回复
是, 我叫Peter, 我現在努力在寫qemu的debug server, 之後把peter-bochs移過去 我email是mcheung63@hotmail.com
The kernel has two different debugger front ends (kdb and kgdb) which interface to the debug core. It is possible to use either of the debugger front ends and dynamically transition between them if you configure the kernel properly at compile and runtime. Kdb is simplistic shell-style interface which you can use on a system console with a keyboard or serial console. You can use it to inspect memory, registers, process lists, dmesg, and even set breakpoints to stop in a certain location. Kdb is not a source level debugger, although you can set breakpoints and execute some basic kernel run control. Kdb is mainly aimed at doing some analysis to aid in development or diagnosing kernel problems. You can access some symbols by name in kernel built-ins or in kernel modules if the code was built with CONFIG_KALLSYMS. Kgdb is intended to be used as a source level debugger for the Linux kernel. It is used along with gdb to debug a Linux kernel. The expectation is that gdb can be used to "break in" to the kernel to inspect memory, variables and look through call stack information similar to the way an application developer would use gdb to debug an application. It is possible to place breakpoints in kernel code and perform some limited execution stepping. Two machines are required for using kgdb. One of these machines is a development machine and the other is the target machine. The kernel to be debugged runs on the target machine. The development machine runs an instance of gdb against the vmlinux file which contains the symbols (not boot image such as bzImage, zImage, uImage...). In gdb the developer specifies the connection parameters and connects to kgdb. The type of connection a developer makes with gdb depends on the availability of kgdb I/O modules compiled as built-ins or loadable kernel modules in the test machine’s kernel.

21,458

社区成员

发帖
与我相关
我的任务
社区描述
汇编语言(Assembly Language)是任何一种用于电子计算机、微处理器、微控制器或其他可编程器件的低级语言,亦称为符号语言。
社区管理员
  • 汇编语言
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧