如何反汇编原始 16 位 x86 机器码? [英] How do I disassemble raw 16-bit x86 machine code?

查看:38
本文介绍了如何反汇编原始 16 位 x86 机器码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想反汇编我拥有的可引导 x86 磁盘的 MBR(前 512 个字节).我已使用

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

对于可以反汇编文件 mbr 的 Linux 实用程序有什么建议吗?

Any suggestions for a Linux utility that can disassemble the file mbr?

推荐答案

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

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

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

这篇关于如何反汇编原始 16 位 x86 机器码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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