我如何拆卸生的x86 code? [英] How do I disassemble raw x86 code?

查看:144
本文介绍了我如何拆卸生的x86 code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想拆开MBR,我有一个引导盘86(第一512字节)。我一直在使用复制的MBR到一个文件

I'd like to disassemble the MBR (first 512 bytes) of a bootable x86 disk that I have. I have copied the MBR to a file using

dd if=/dev/my-device of=mbr bs=512 count=1

为Linux实用工具,可以拆卸的文件的任何建议 MBR

推荐答案

您可以使用objdump的。根据这篇文章语法是:

You can use objdump. According to this article the syntax is:

objdump -D -b binary -mi386 -Maddr16,data16 mbr

这篇关于我如何拆卸生的x86 code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆