<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Asm - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/asm/</link><description>Asm - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/asm/" rel="self" type="application/rss+xml"/><item><title>x86 汇编语言</title><link>https://rd163.visword.com/posts/x86-asm/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/x86-asm/</guid><description><![CDATA[<h1 id="x86-汇编语言" class="headerLink">
    <a href="#x86-%e6%b1%87%e7%bc%96%e8%af%ad%e8%a8%80" class="header-mark"></a>x86 汇编语言</h1><p>这里提供了各种十六进制机器操作码</p>
<p><a href="http://ref.x86asm.net/coder64.html#xCB" target="_blank" rel="noopener noreferrer">X86 Opcode and Instruction Reference Home</a></p>
<p>这里提供了在线工具进行汇编或者反汇编</p>
<p><a href="https://defuse.ca/online-x86-assembler.htm" target="_blank" rel="noopener noreferrer">Online x86 / x64 Assembler and Disassembler</a></p>
<h2 id="常用机器码指令" class="headerLink">
    <a href="#%e5%b8%b8%e7%94%a8%e6%9c%ba%e5%99%a8%e7%a0%81%e6%8c%87%e4%bb%a4" class="header-mark"></a>常用机器码指令</h2><ul>
<li>0xffe0   jmp rax</li>
</ul>
<h2 id="反汇编" class="headerLink">
    <a href="#%e5%8f%8d%e6%b1%87%e7%bc%96" class="header-mark"></a>反汇编</h2><p>objdump反汇编常用参数</p>
<ul>
<li>objdump -d &lt;file(s)&gt;: 将代码段反汇编；</li>
<li>objdump -S &lt;file(s)&gt;: 将代码段反汇编的同时，将反汇编代码与源代码交替显示，编译时需要使用-g参数，即需要调试信息，不需要再包含-d；</li>
<li>objdump -C &lt;file(s)&gt;: 将C++符号名逆向解析</li>
<li>objdump -l &lt;file(s)&gt;: 反汇编代码中插入文件名和行号</li>
<li>objdump -j section -S &lt;file(s)&gt;: 仅反汇编指定的section</li>
</ul>
<h2 id="参考" class="headerLink">
    <a href="#%e5%8f%82%e8%80%83" class="header-mark"></a>参考</h2>]]></description></item></channel></rss>