题
例如,kernen函数system_call
反编译为:
通用标签
这在Linux中如何完成?
解决方案
我认为它可能像这样简单:
使用调试符号编译内核,或者如果您使用发行版的版本,请获取其调试包。然后,如果要查看C函数,请运行gdb vmlinux
并键入disas <function name>
。除了system_call
不是C函数之外,GDB不会以相同的方式查找它。但是您仍然可以拆卸:
通用标签
其他提示
You wouldn't really need to decompile anything since its linux. You can just look at the source. A good source browser is LXR. Join the kernel mailing list if you need help, they are very nice people.
不隶属于 StackOverflow