{"id":97961,"date":"2026-08-30T21:17:43","date_gmt":"2026-08-30T13:17:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/97961.html"},"modified":"2026-08-30T21:17:43","modified_gmt":"2026-08-30T13:17:43","slug":"elf%e9%9d%99%e6%80%81%e9%80%86%e5%90%91%e5%88%86%e6%9e%90-ghidra%e4%bb%8e%e5%ae%89%e8%a3%85%e5%88%b0%e5%8f%8d%e7%bc%96%e8%af%91%e9%87%8d%e5%bb%ba%e6%ba%90%e7%a0%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/97961.html","title":{"rendered":"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801"},"content":{"rendered":"<p>CC-BY-SA-4.0 | \u00a9 2026 KY (kyshipit)<\/p>\n<h2>ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801<\/h2>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u4f60\u53ea\u6709\u4e00\u4e2a\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6&#xff0c;\u6ca1\u6709\u6e90\u4ee3\u7801&#xff0c;\u60f3\u641e\u6e05\u695a\u8fd9\u4e2a\u7a0b\u5e8f\u5e72\u4e86\u4ec0\u4e48&#xff0c;\u751a\u81f3\u6062\u590d\u51fa\u63a5\u8fd1\u6e90\u7801\u7684\u903b\u8f91\u3002<\/p>\n<p>\u672c\u6587\u4e0d\u6d89\u53ca\u52a8\u6001\u8c03\u8bd5&#xff08;\u7a0b\u5e8f\u8fd0\u884c\u8d77\u6765\u4e4b\u540e\u7684\u5206\u6790&#xff09;&#xff0c;\u53ea\u505a\u9759\u6001\u5206\u6790\u3002<\/p>\n<p>\u4ec0\u4e48\u662f\u9759\u6001\u5206\u6790&#xff1a;\u4e0d\u8fd0\u884c\u7a0b\u5e8f&#xff0c;\u76f4\u63a5\u5206\u6790\u4e8c\u8fdb\u5236\u6587\u4ef6\u672c\u8eab\u3002\u901a\u8fc7\u67e5\u770b\u6587\u4ef6\u4fe1\u606f\u3001\u63d0\u53d6\u5b57\u7b26\u4e32\u3001\u53cd\u6c47\u7f16\u3001\u53cd\u7f16\u8bd1\u7b49\u624b\u6bb5&#xff0c;\u8fd8\u539f\u7a0b\u5e8f\u903b\u8f91\u3002Ghidra\u662f\u76ee\u524d\u6700\u5f3a\u5927\u7684\u5f00\u6e90\u53cd\u7f16\u8bd1\u5de5\u5177&#xff0c;\u80fd\u628a\u6c47\u7f16\u4ee3\u7801\u8fd8\u539f\u6210\u53ef\u8bfb\u6027\u5f88\u9ad8\u7684C\u4f2a\u4ee3\u7801\u3002<\/p>\n<h3 id=\"\u7b2c\u4e00\u7ae0-ghidra\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\">\u7b2c\u4e00\u7ae0 Ghidra\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e<\/h3>\n<h4 id=\"11-\u5de5\u5177\u5b89\u88c5\">1.1 \u5de5\u5177\u5b89\u88c5<\/h4>\n<h5 id=\"111-\u66f4\u65b0\u5305\u7ba1\u7406\u5668\u5e76\u5b89\u88c5\u57fa\u7840\u5de5\u5177\">1.1.1 \u66f4\u65b0\u5305\u7ba1\u7406\u5668\u5e76\u5b89\u88c5\u57fa\u7840\u5de5\u5177<\/h5>\n<p>sudo apt update<br \/>\nsudo apt install binutils gdb build-essential<\/p>\n<h5 id=\"112-\u5b89\u88c5radare2\u6e90\u7801\u65b9\u5f0f\u6700\u65b0\u7248\">1.1.2 \u5b89\u88c5radare2&#xff08;\u6e90\u7801\u65b9\u5f0f&#xff0c;\u6700\u65b0\u7248&#xff09;<\/h5>\n<p>git clone https:\/\/github.com\/radareorg\/radare2<br \/>\ncd radare2 &amp;&amp; sys\/install.sh<\/p>\n<p>\u6216\u4f7f\u7528snap\u5b89\u88c5\u6700\u65b0\u7248&#xff1a;<\/p>\n<p>sudo snap install radare2<\/p>\n<h5 id=\"113-\u5b89\u88c5ghidra\u9700\u8981java-11\">1.1.3 \u5b89\u88c5Ghidra&#xff08;\u9700\u8981Java 11&#043;&#xff09;<\/h5>\n<p>\u4e0b\u8f7dGhidra 10.3.2&#xff1a;<\/p>\n<p>wget https:\/\/github.com\/NationalSecurityAgency\/ghidra\/releases\/download\/Ghidra_10.3.2_build\/ghidra_10.3.2_PUBLIC_20230711.zip<br \/>\nunzip ghidra_10.3.2_PUBLIC_20230711.zip<\/p>\n<p>\u91cd\u8981&#xff1a;ghidra_10.3.2_PUBLIC\u00a0\u76ee\u5f55\u5fc5\u987b\u4fdd\u7559&#xff0c;\u8fd9\u662fGhidra\u7684\u5b9e\u9645\u7a0b\u5e8f\u6587\u4ef6&#xff0c;\u5220\u9664\u540eGhidra\u5c06\u65e0\u6cd5\u8fd0\u884c\u3002<\/p>\n<h5 id=\"114-\u5b89\u88c5openjdk-17\u63a8\u8350\u517c\u5bb9\u6027\u597d\">1.1.4 \u5b89\u88c5OpenJDK 17&#xff08;\u63a8\u8350&#xff0c;\u517c\u5bb9\u6027\u597d&#xff09;<\/h5>\n<p>sudo apt install openjdk-17-jdk<\/p>\n<h4 id=\"12-\u73af\u5883\u914d\u7f6e\">1.2 \u73af\u5883\u914d\u7f6e<\/h4>\n<h5 id=\"121-\u68c0\u67e5java_home\u73af\u5883\u53d8\u91cf\">1.2.1 \u68c0\u67e5JAVA_HOME\u73af\u5883\u53d8\u91cf<\/h5>\n<p>echo $PATH<br \/>\necho $PATH | tr &#039;:&#039; &#039;\\\\n&#039; | grep tools<\/p>\n<p>\u68c0\u67e5JAVA_HOME\u662f\u5426\u5728\u73af\u5883\u4e2d&#xff1a;<\/p>\n<p>env | grep JAVA<\/p>\n<p>\u68c0\u67e5\u5f53\u524dPATH\u4e2d\u662f\u5426\u5305\u542bJVM\u8def\u5f84&#xff1a;<\/p>\n<p>echo $PATH | tr &#039;:&#039; &#039;\\\\n&#039; | grep jvm<\/p>\n<p>\u76f4\u63a5\u6d4b\u8bd5Java\u662f\u5426\u53ef\u7528&#xff1a;<\/p>\n<p>java -version<br \/>\njavac -version<\/p>\n<h5 id=\"122-\u624b\u52a8\u914d\u7f6ejava_home\">1.2.2 \u624b\u52a8\u914d\u7f6eJAVA_HOME<\/h5>\n<p>\u5982\u679cJava\u672a\u6b63\u786e\u914d\u7f6e&#xff0c;\u624b\u52a8\u6267\u884c&#xff1a;<\/p>\n<p>export JAVA_HOME&#061;\/usr\/lib\/jvm\/java-17-openjdk-amd64<br \/>\nexport PATH&#061;$JAVA_HOME\/bin:$PATH<\/p>\n<p>\u7acb\u5373\u6d4b\u8bd5\u914d\u7f6e\u662f\u5426\u751f\u6548&#xff1a;<\/p>\n<p>echo $JAVA_HOME<br \/>\njava -version<\/p>\n<h5 id=\"123-\u9a8c\u8bc1\u5f53\u524d\u4f7f\u7528\u7684radare2\u7248\u672c\">1.2.3 \u9a8c\u8bc1\u5f53\u524d\u4f7f\u7528\u7684radare2\u7248\u672c<\/h5>\n<p>\u68c0\u67e5\u5f53\u524d\u4f7f\u7528\u7684\u662f\u54ea\u4e2aradare2&#xff1a;<\/p>\n<p>which r2<\/p>\n<p>\u68c0\u67e5\u7248\u672c&#xff08;\u786e\u8ba4\u662fapt\u5b89\u88c5\u7684\u7248\u672c&#xff09;&#xff1a;<\/p>\n<p>r2 -v<\/p>\n<ul>\n<li>\u5982\u679c\u8f93\u51fa\u663e\u793a\u7248\u672c\u4fe1\u606f\u548c\u8def\u5f84\u5728\u00a0\/usr\/bin\/r2&#xff0c;\u8bf4\u660e\u4f7f\u7528\u7684\u662fapt\u7248\u672c<\/li>\n<li>\u5982\u679c\u8def\u5f84\u5728\u00a0\/usr\/local\/bin\/r2&#xff0c;r2 -v\u00a0\u663e\u793agit commit hash&#xff0c;\u8bf4\u660e\u662f\u6e90\u7801\u5b89\u88c5\u7248\u672c<\/li>\n<\/ul>\n<h4 id=\"13-\u811a\u672c\u542f\u52a8\">1.3 \u811a\u672c\u542f\u52a8<\/h4>\n<h5 id=\"\u65b9\u6cd51\u6dfb\u52a0\u5230path\u73af\u5883\u53d8\u91cf\">\u65b9\u6cd51&#xff1a;\u6dfb\u52a0\u5230PATH\u73af\u5883\u53d8\u91cf<\/h5>\n<p># \u5c06Ghidra\u76ee\u5f55\u6dfb\u52a0\u5230PATH<br \/>\necho &#039;export PATH&#061;$PATH:~\/ghidra_10.3.2_PUBLIC&#039; &gt;&gt; ~\/.rc<br \/>\nsource ~\/.rc<\/p>\n<p># \u68c0\u67e5.rc\u6587\u4ef6\u672b\u5c3e\u662f\u5426\u6709\u8bbe\u7f6e<br \/>\ntail -10 ~\/.rc<\/p>\n<p>\u73b0\u5728\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c&#xff1a;<\/p>\n<p>ghidraRun<\/p>\n<h5 id=\"\u65b9\u6cd52\u521b\u5efa\u4fbf\u6377\u542f\u52a8\u811a\u672c\">\u65b9\u6cd52&#xff1a;\u521b\u5efa\u4fbf\u6377\u542f\u52a8\u811a\u672c<\/h5>\n<p># \u5728\u4e3b\u76ee\u5f55\u521b\u5efa\u542f\u52a8\u811a\u672c<br \/>\necho &#039;#!\/bin\/<br \/>\ncd ~\/ghidra_10.3.2_PUBLIC<br \/>\n.\/ghidraRun&#039; &gt; ~\/ghidra.sh<\/p>\n<p>chmod &#043;x ~\/ghidra.sh<\/p>\n<p>\u901a\u8fc7\u811a\u672c\u542f\u52a8&#xff1a;<\/p>\n<p>~\/ghidra.sh<\/p>\n<h5 id=\"\u9a8c\u8bc1\u5f53\u524d\u5b89\u88c5\">\u9a8c\u8bc1\u5f53\u524d\u5b89\u88c5<\/h5>\n<p>\u67e5\u770bGhidra\u5b9e\u9645\u4f4d\u7f6e&#xff1a;<\/p>\n<p>find ~ -name &#034;ghidraRun&#034; 2&gt;\/dev\/null<\/p>\n<h4 id=\"14-\u8fdb\u7a0b\u68c0\u6d4b\">1.4 \u8fdb\u7a0b\u68c0\u6d4b<\/h4>\n<p>\u68c0\u67e5Ghidra\u548cJava\u8fdb\u7a0b&#xff1a;<\/p>\n<p>ps aux | grep ghidra<br \/>\nps aux | grep java<\/p>\n<p>\u6216\u4f7f\u7528jps\u67e5\u770bJava\u8fdb\u7a0b&#xff1a;<\/p>\n<p>jps -l | grep ghidra<\/p>\n<p>\u67e5\u770b\u8fdb\u7a0b\u6811&#xff0c;\u68c0\u67e5\u662f\u5426\u6709\u6b8b\u7559\u7684Java\u8fdb\u7a0b&#xff1a;<\/p>\n<p>pstree | grep -i java<\/p>\n<h3 id=\"\u7b2c\u4e8c\u7ae0-ghidra\u53cd\u6c47\u7f16\u4e0e\u9006\u5411\u5206\u6790\">\u7b2c\u4e8c\u7ae0 Ghidra\u53cd\u6c47\u7f16\u4e0e\u9006\u5411\u5206\u6790<\/h3>\n<h4 id=\"21-\u53cd\u6c47\u7f16\u5de5\u5177\u94fe\u6982\u89c8\">2.1 \u53cd\u6c47\u7f16\u5de5\u5177\u94fe\u6982\u89c8<\/h4>\n<p>\u4e09\u79cd\u5de5\u5177\u7684\u5173\u7cfb&#xff1a;<\/p>\n<table>\n<tr>\u5de5\u5177\u5b9a\u4f4d\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>objdump<\/td>\n<td>Linux\u81ea\u5e26&#xff0c;\u5feb\u901f\u67e5\u770b\u6c47\u7f16<\/td>\n<td>\u521d\u6b65\u4e86\u89e3\u7a0b\u5e8f\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td>radare2<\/td>\n<td>\u547d\u4ee4\u884c\u4ea4\u4e92\u5f0f\u9006\u5411\u6846\u67b6<\/td>\n<td>\u811a\u672c\u5316\u5206\u6790\u3001\u8fdc\u7a0b\u5206\u6790<\/td>\n<\/tr>\n<tr>\n<td>Ghidra<\/td>\n<td>\u56fe\u5f62\u5316\u53cd\u7f16\u8bd1\u5de5\u5177<\/td>\n<td>\u6df1\u5ea6\u5206\u6790&#xff0c;\u8fd8\u539fC\u4f2a\u4ee3\u7801<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6807\u51c6\u5de5\u4f5c\u6d41\u7a0b&#xff1a;<\/p>\n<p>file\/nm\/strings \u6478\u5e95 \u2192 objdump \u770b\u6c47\u7f16 \u2192 radare2 \u6df1\u5165\u63a2\u7d22 \u2192 Ghidra \u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801<\/p>\n<h4 id=\"22-\u57fa\u7840\u6587\u4ef6\u5206\u6790\">2.2 \u57fa\u7840\u6587\u4ef6\u5206\u6790<\/h4>\n<h5 id=\"221-\u67e5\u770b\u6587\u4ef6\u4fe1\u606f\">2.2.1 \u67e5\u770b\u6587\u4ef6\u4fe1\u606f<\/h5>\n<p>file your_program<\/p>\n<p>\u8f93\u51fa\u793a\u4f8b&#xff1a;ELF 64-bit LSB executable, x86-64<\/p>\n<h5 id=\"222-\u68c0\u67e5\u662f\u5426\u5305\u542b\u8c03\u8bd5\u7b26\u53f7\">2.2.2 \u68c0\u67e5\u662f\u5426\u5305\u542b\u8c03\u8bd5\u7b26\u53f7<\/h5>\n<p>nm your_program<\/p>\n<ul>\n<li>\u5982\u679c\u6709\u8f93\u51fa&#xff0c;\u8bf4\u660e\u5305\u542b\u7b26\u53f7\u4fe1\u606f&#xff0c;\u6062\u590d\u4f1a\u5bb9\u6613\u5f88\u591a<\/li>\n<li>\u5982\u679c\u6ca1\u8f93\u51fa\u6216\u663e\u793a\u00a0no symbols&#xff0c;\u8bf4\u660e\u7b26\u53f7\u88ab\u5265\u79bb\u4e86<\/li>\n<\/ul>\n<h5 id=\"223-\u63d0\u53d6\u5b57\u7b26\u4e32\">2.2.3 \u63d0\u53d6\u5b57\u7b26\u4e32<\/h5>\n<p>strings your_program &gt; strings.txt<br \/>\nless strings.txt<\/p>\n<p>\u8fd9\u4f1a\u63d0\u53d6\u6240\u6709\u53ef\u8bfb\u5b57\u7b26\u4e32&#xff0c;\u5e2e\u4f60\u4e86\u89e3\u7a0b\u5e8f\u53ef\u80fd\u7684\u529f\u80fd\u3002<\/p>\n<h4 id=\"23-objdump\u53cd\u6c47\u7f16\">2.3 objdump\u53cd\u6c47\u7f16<\/h4>\n<h5 id=\"231-\u53cd\u6c47\u7f16\u6574\u4e2a\u7a0b\u5e8f\">2.3.1 \u53cd\u6c47\u7f16\u6574\u4e2a\u7a0b\u5e8f<\/h5>\n<p>objdump -d -M intel your_program &gt; full_disassembly.asm<\/p>\n<h5 id=\"232-\u53ea\u53cd\u6c47\u7f16\u4ee3\u7801\u6bb5\">2.3.2 \u53ea\u53cd\u6c47\u7f16\u4ee3\u7801\u6bb5<\/h5>\n<p>objdump -d -M intel &#8211;disassemble&#061;.text your_program &gt; code_section.asm<\/p>\n<h5 id=\"233-\u67e5\u770b\u7279\u5b9a\u51fd\u6570\">2.3.3 \u67e5\u770b\u7279\u5b9a\u51fd\u6570<\/h5>\n<p>\u5148\u627e\u5230main\u51fd\u6570\u5730\u5740&#xff1a;<\/p>\n<p>objdump -t your_program | grep main<\/p>\n<p>\u53cd\u6c47\u7f16main\u51fd\u6570&#xff08;\u4ee5\u5730\u57400x401050\u52300x401150\u4e3a\u4f8b&#xff09;&#xff1a;<\/p>\n<p>objdump -d -M intel &#8211;start-address&#061;0x401050 &#8211;stop-address&#061;0x401150 your_program<\/p>\n<h4 id=\"24-radare2\u5b89\u88c5\u4e0e\u4f7f\u7528\">2.4 radare2\u5b89\u88c5\u4e0e\u4f7f\u7528<\/h4>\n<h5 id=\"241-\u5b89\u88c5\u8bf4\u660e\">2.4.1 \u5b89\u88c5\u8bf4\u660e<\/h5>\n<p>radare2\u5df2\u57281.1.2\u8282\u5b8c\u6210\u5b89\u88c5&#xff0c;\u53ef\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1&#xff1a;<\/p>\n<p>which r2        # \u786e\u8ba4\u8def\u5f84<br \/>\nr2 -v           # \u786e\u8ba4\u7248\u672c<\/p>\n<h5 id=\"242-\u521d\u59cb\u5206\u6790\">2.4.2 \u521d\u59cb\u5206\u6790<\/h5>\n<p>r2 -A your_program<\/p>\n<p>-A\u00a0\u53c2\u6570\u6267\u884c\u81ea\u52a8\u5206\u6790\u3002<\/p>\n<h5 id=\"243-radare2\u4ea4\u4e92\u547d\u4ee4\">2.4.3 radare2\u4ea4\u4e92\u547d\u4ee4<\/h5>\n<p>\u8fdb\u5165radare2\u4ea4\u4e92\u73af\u5883\u540e&#xff0c;\u5e38\u7528\u547d\u4ee4&#xff1a;<\/p>\n<p>[0x00000000]&gt; aa              # \u81ea\u52a8\u5206\u6790<br \/>\n[0x00000000]&gt; afl             # \u5217\u51fa\u6240\u6709\u51fd\u6570<br \/>\n[0x00000000]&gt; s main          # \u8df3\u8f6c\u5230main\u51fd\u6570<br \/>\n[0x00000000]&gt; pdf             # \u53cd\u6c47\u7f16\u5f53\u524d\u51fd\u6570<br \/>\n[0x00000000]&gt; pdb             # \u663e\u793a\u8c03\u8bd5\u5668\u4fe1\u606f<br \/>\n[0x00000000]&gt; iz              # \u5217\u51fa\u6570\u636e\u6bb5\u4e2d\u7684\u5b57\u7b26\u4e32<\/p>\n<h5 id=\"244-\u8be6\u7ec6\u51fd\u6570\u5206\u6790\">2.4.4 \u8be6\u7ec6\u51fd\u6570\u5206\u6790<\/h5>\n<p>[0x00000000]&gt; pdf &#064;&#064; *       # \u53cd\u6c47\u7f16\u6240\u6709\u51fd\u6570<br \/>\n[0x00000000]&gt; graph          # \u663e\u793a\u63a7\u5236\u6d41\u56fe<\/p>\n<h4 id=\"25-gdb\u52a8\u6001\u5206\u6790\u8f85\u52a9\u53cd\u6c47\u7f16\u573a\u666f\">2.5 GDB\u52a8\u6001\u5206\u6790&#xff08;\u8f85\u52a9\u53cd\u6c47\u7f16\u573a\u666f&#xff09;<\/h4>\n<p>\u5728\u9759\u6001\u5206\u6790\u8fc7\u7a0b\u4e2d&#xff0c;\u6709\u65f6\u9700\u8981\u7528GDB\u8f85\u52a9\u67e5\u770b\u8fd0\u884c\u65f6\u7684\u6c47\u7f16\u4fe1\u606f\u3002<\/p>\n<p>\u542f\u52a8GDB&#xff1a;<\/p>\n<p>gdb your_program<\/p>\n<p>GDB\u4e2d\u5e38\u7528\u53cd\u6c47\u7f16\u76f8\u5173\u547d\u4ee4&#xff1a;<\/p>\n<p>(gdb) info functions          # \u5217\u51fa\u6240\u6709\u51fd\u6570<br \/>\n(gdb) disas main             # \u53cd\u6c47\u7f16main\u51fd\u6570<br \/>\n(gdb) break main             # \u5728main\u51fd\u6570\u8bbe\u7f6e\u65ad\u70b9<br \/>\n(gdb) run                    # \u8fd0\u884c\u7a0b\u5e8f<br \/>\n(gdb) stepi                  # \u5355\u6b65\u6267\u884c\u6c47\u7f16\u6307\u4ee4<br \/>\n(gdb) info registers         # \u67e5\u770b\u5bc4\u5b58\u5668\u72b6\u6001<br \/>\n(gdb) x\/10i $pc             # \u67e5\u770b\u5f53\u524d\u6307\u4ee4\u9644\u8fd110\u6761\u6307\u4ee4<br \/>\n(gdb) quit                   # \u9000\u51fa<\/p>\n<h4 id=\"26-ghidra\u53cd\u7f16\u8bd1\u6700\u91cd\u8981\u7684\u4e00\u6b65\">2.6 Ghidra\u53cd\u7f16\u8bd1&#xff08;\u6700\u91cd\u8981\u7684\u4e00\u6b65&#xff09;<\/h4>\n<h5 id=\"261-\u542f\u52a8ghidra\">2.6.1 \u542f\u52a8Ghidra<\/h5>\n<p>cd ~\/ghidra_10.3.2_PUBLIC<br \/>\n.\/ghidraRun<\/p>\n<h5 id=\"262-\u521b\u5efa\u9879\u76ee\u548c\u5206\u6790\u6587\u4ef6\">2.6.2 \u521b\u5efa\u9879\u76ee\u548c\u5206\u6790\u6587\u4ef6<\/h5>\n<li>File \u2192 New Project \u2192 Non-shared project \u2192 \u8f93\u5165\u9879\u76ee\u540d<\/li>\n<li>File \u2192 Import File \u2192 \u9009\u62e9\u4f60\u7684\u53ef\u6267\u884c\u6587\u4ef6<\/li>\n<li>\u53cc\u51fb\u5bfc\u5165\u7684\u6587\u4ef6\u6253\u5f00Code Browser<\/li>\n<li>\u70b9\u51fb&#034;Yes&#034;\u5f00\u59cb\u81ea\u52a8\u5206\u6790<\/li>\n<h5 id=\"263-\u5b9a\u4f4d\u5173\u952e\u51fd\u6570\">2.6.3 \u5b9a\u4f4d\u5173\u952e\u51fd\u6570<\/h5>\n<p>\u5728\u5de6\u4fa7&#034;Symbol Tree&#034;\u7a97\u53e3\u5c55\u5f00&#034;Functions&#034;&#xff0c;\u627e\u5230\u5e76\u53cc\u51fbmain\u51fd\u6570\u3002<\/p>\n<p>\u53f3\u4fa7\u4f1a\u51fa\u73b0\u4e09\u4e2a\u4e3b\u8981\u7a97\u53e3&#xff1a;<\/p>\n<ul>\n<li>\u5de6\u4fa7&#xff1a;\u6c47\u7f16\u4ee3\u7801\u7a97\u53e3<\/li>\n<li>\u4e2d\u95f4&#xff1a;\u53cd\u7f16\u8bd1\u7a97\u53e3&#xff08;\u663e\u793a\u4f2aC\u4ee3\u7801&#xff09;<\/li>\n<li>\u53f3\u4fa7&#xff1a;\u5404\u79cd\u4fe1\u606f\u9762\u677f<\/li>\n<\/ul>\n<h5 id=\"264-\u5206\u6790\u4f2a\u4ee3\u7801\u793a\u4f8b\">2.6.4 \u5206\u6790\u4f2a\u4ee3\u7801\u793a\u4f8b<\/h5>\n<p>\u5047\u8bbeGhidra\u663e\u793a&#xff1a;<\/p>\n<p>undefined8 main(void)<br \/>\n{<br \/>\n  int iVar1;<br \/>\n  long in_FS_OFFSET;<br \/>\n  char local_18 [8];<br \/>\n  long local_10;<\/p>\n<p>  local_10 &#061; *(long *)(in_FS_OFFSET &#043; 0x28);<br \/>\n  printf(&#034;Enter password: &#034;);<br \/>\n  fgets(local_18,8,stdin);<br \/>\n  iVar1 &#061; strcmp(local_18,&#034;secret&#034;);<br \/>\n  if (iVar1 &#061;&#061; 0) {<br \/>\n    puts(&#034;Access granted!&#034;);<br \/>\n  }<br \/>\n  else {<br \/>\n    puts(&#034;Wrong password!&#034;);<br \/>\n  }<br \/>\n  if (local_10 !&#061; *(long *)(in_FS_OFFSET &#043; 0x28)) {<br \/>\n                    \/* WARNING: Subroutine does not return *\/<br \/>\n    __stack_chk_fail();<br \/>\n  }<br \/>\n  return 0;<br \/>\n}<\/p>\n<h5 id=\"265-\u91cd\u547d\u540d\u53d8\u91cf\u548c\u51fd\u6570\">2.6.5 \u91cd\u547d\u540d\u53d8\u91cf\u548c\u51fd\u6570<\/h5>\n<p>\u5728Ghidra\u4e2d\u91cd\u547d\u540d\u53d8\u91cf&#xff0c;\u4f7f\u5176\u66f4\u6709\u610f\u4e49\u3002<\/p>\n<p>\u91cd\u547d\u540d\u53d8\u91cf\u7684\u4e09\u79cd\u65b9\u6cd5&#xff1a;<\/p>\n<table>\n<tr>\u65b9\u6cd5\u64cd\u4f5c<\/tr>\n<tbody>\n<tr>\n<td>\u65b9\u6cd51&#xff1a;\u53cc\u51fb\u91cd\u547d\u540d<\/td>\n<td>\u5728\u53cd\u7f16\u8bd1\u7a97\u53e3\u4e2d\u76f4\u63a5\u53cc\u51fb\u53d8\u91cf\u540d&#xff0c;\u8f93\u5165\u65b0\u540d\u79f0&#xff0c;\u6309Enter\u786e\u8ba4<\/td>\n<\/tr>\n<tr>\n<td>\u65b9\u6cd52&#xff1a;\u53f3\u952e\u83dc\u5355<\/td>\n<td>\u5728\u53d8\u91cf\u4e0a\u53f3\u952e\u70b9\u51fb \u2192 Rename Variable \u2192 \u8f93\u5165\u65b0\u540d\u79f0 \u2192 Enter<\/td>\n<\/tr>\n<tr>\n<td>\u65b9\u6cd53&#xff1a;\u5feb\u6377\u952e<\/td>\n<td>\u9009\u4e2d\u53d8\u91cf\u540e\u6309\u00a0L\u00a0\u952e&#xff08;\u5c0f\u5199L&#xff09;&#xff0c;\u8f93\u5165\u65b0\u540d\u79f0&#xff0c;\u6309Enter\u786e\u8ba4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"27-\u4ece\u53cd\u7f16\u8bd1\u7ed3\u679c\u91cd\u5efa\u6e90\u4ee3\u7801\">2.7 \u4ece\u53cd\u7f16\u8bd1\u7ed3\u679c\u91cd\u5efa\u6e90\u4ee3\u7801<\/h4>\n<p>\u6839\u636eGhidra\u7684\u8f93\u51fa&#xff0c;\u624b\u52a8\u91cd\u5efaC\u4ee3\u7801\u3002<\/p>\n<p>\u4ee5\u4e0a\u9762\u7684\u4f2a\u4ee3\u7801\u4e3a\u4f8b&#xff0c;\u91cd\u5efa\u540e\u7684C\u4ee3\u7801&#xff1a;<\/p>\n<p>#include &lt;stdio.h&gt;<br \/>\n#include &lt;string.h&gt;<\/p>\n<p>int main(void)<br \/>\n{<br \/>\n    char password[8];<\/p>\n<p>    printf(&#034;Enter password: &#034;);<br \/>\n    fgets(password, sizeof(password), stdin);<\/p>\n<p>    if (strcmp(password, &#034;secret&#034;) &#061;&#061; 0) {<br \/>\n        printf(&#034;Access granted!\\\\n&#034;);<br \/>\n    } else {<br \/>\n        printf(&#034;Wrong password!\\\\n&#034;);<br \/>\n    }<\/p>\n<p>    return 0;<br \/>\n}<\/p>\n<p>\u91cd\u8981\u63d0\u793a&#xff1a;<\/p>\n<table>\n<tr>\u6ce8\u610f\u4e8b\u9879\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u53d8\u91cf\u540d\u4f1a\u4e22\u5931<\/td>\n<td>Ghidra\u4f1a\u751f\u6210\u7c7b\u4f3clocal_18\u7684\u4e34\u65f6\u540d\u79f0&#xff0c;\u9700\u624b\u52a8\u91cd\u547d\u540d<\/td>\n<\/tr>\n<tr>\n<td>\u6ce8\u91ca\u5b8c\u5168\u4e22\u5931<\/td>\n<td>\u9700\u8981\u6839\u636e\u903b\u8f91\u91cd\u65b0\u6dfb\u52a0\u6ce8\u91ca<\/td>\n<\/tr>\n<tr>\n<td>\u4ee3\u7801\u7ed3\u6784\u53ef\u80fd\u4e0d\u540c<\/td>\n<td>\u7f16\u8bd1\u5668\u4f18\u5316\u4f1a\u6539\u53d8\u4ee3\u7801\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td>\u5148\u5206\u6790\u7b80\u5355\u51fd\u6570<\/td>\n<td>\u4ecemain\u51fd\u6570\u5f00\u59cb&#xff0c;\u9010\u6b65\u5206\u6790\u8c03\u7528\u7684\u5b50\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u6b21\u9a8c\u8bc1<\/td>\n<td>\u53cd\u590d\u6d4b\u8bd5\u786e\u4fdd\u6062\u590d\u7684\u4ee3\u7801\u884c\u4e3a\u4e0e\u539f\u59cb\u7a0b\u5e8f\u4e00\u81f4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6309\u7167\u8fd9\u4e9b\u6b65\u9aa4&#xff0c;\u5373\u4f7f\u6ca1\u6709\u6e90\u4ee3\u7801&#xff0c;\u4e5f\u80fd\u5f88\u5927\u7a0b\u5ea6\u4e0a\u6062\u590d\u7a0b\u5e8f\u7684\u903b\u8f91\u548c\u529f\u80fd\u3002<\/p>\n<h4 id=\"28-\u9a8c\u8bc1\u6062\u590d\u7684\u4ee3\u7801\">2.8 \u9a8c\u8bc1\u6062\u590d\u7684\u4ee3\u7801<\/h4>\n<h5 id=\"281-\u7f16\u8bd1\u6d4b\u8bd5\">2.8.1 \u7f16\u8bd1\u6d4b\u8bd5<\/h5>\n<p>gcc -o recovered recovered_code.c<br \/>\n.\/recovered<\/p>\n<h5 id=\"282-\u5bf9\u6bd4\u884c\u4e3a\">2.8.2 \u5bf9\u6bd4\u884c\u4e3a<\/h5>\n<p>\u6bd4\u8f83\u539f\u59cb\u7a0b\u5e8f\u548c\u6062\u590d\u540e\u7a0b\u5e8f\u7684\u884c\u4e3a\u662f\u5426\u4e00\u81f4\u3002<\/p>\n<h4 id=\"29-\u5bfc\u51fa\u6574\u4e2a\u7a0b\u5e8f\u7684\u53cd\u6c47\u7f16\u6587\u672c\">2.9 \u5bfc\u51fa\u6574\u4e2a\u7a0b\u5e8f\u7684\u53cd\u6c47\u7f16\u6587\u672c<\/h4>\n<h5 id=\"291-\u5b8c\u6574\u5bfc\u51fa\u6d41\u7a0b\">2.9.1 \u5b8c\u6574\u5bfc\u51fa\u6d41\u7a0b<\/h5>\n<li>\u4fdd\u5b58\u9879\u76ee&#xff1a;File \u2192 Save Project<\/li>\n<li>\u5bfc\u51fa\u5b8c\u6574\u53cd\u6c47\u7f16&#xff1a;File \u2192 Export Program \u2192 \u9009\u62e9ASCII\u683c\u5f0f<\/li>\n<li>\u5bfc\u51fa\u53cd\u7f16\u8bd1\u4ee3\u7801&#xff1a;\u5728\u53cd\u7f16\u8bd1\u7a97\u53e3\u4e2d\u9010\u4e2a\u51fd\u6570\u590d\u5236\u4f2a\u4ee3\u7801<\/li>\n<li>\u5bfc\u51fa\u7b26\u53f7\u8868&#xff1a;\u4f7f\u7528\u811a\u672c\u5bfc\u51fa\u6240\u6709\u51fd\u6570\u548c\u53d8\u91cf\u540d<\/li>\n<li>\u6574\u7406\u8f93\u51fa&#xff1a;\u5c06\u5bfc\u51fa\u7684\u6587\u4ef6\u6574\u7406\u6210\u6709\u7ed3\u6784\u7684\u6587\u6863<\/li>\n<p>\u683c\u5f0f\u9009\u62e9\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u9009\u62e9\u00a0ASCII\u683c\u5f0f&#xff1a;\u5f53\u60a8\u9700\u8981\u53cd\u6c47\u7f16\u4ee3\u7801&#xff08;\u6c47\u7f16\u6307\u4ee4&#xff09;\u65f6<\/li>\n<li>\u4e0d\u8981\u9009\u62e9C\/C&#043;&#043;\u683c\u5f0f&#xff1a;\u9664\u975e\u60a8\u9700\u8981\u539f\u59cb\u4e8c\u8fdb\u5236\u6570\u636e\u7684C\u6570\u7ec4\u8868\u793a<\/li>\n<li>\u53cd\u7f16\u8bd1\u7684C\u4ee3\u7801\u9700\u8981\u901a\u8fc7\u811a\u672c\u6216\u624b\u52a8\u590d\u5236\u4eceDecompile\u7a97\u53e3\u83b7\u53d6<\/li>\n<\/ul>\n<h5 id=\"292-\u4f7f\u7528\u6587\u4ef6\u83dc\u5355\u5bfc\u51fa\">2.9.2 \u4f7f\u7528\u6587\u4ef6\u83dc\u5355\u5bfc\u51fa<\/h5>\n<p>\u70b9\u51fb\u83dc\u5355\u680f File \u2192 Export Program&#8230;&#xff0c;\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u9009\u62e9\u683c\u5f0f\u4e3a &#034;ASCII&#034;&#xff0c;\u8bbe\u7f6eOutput File\u8def\u5f84\u548c\u6587\u4ef6\u540d&#xff0c;Options\u4e2d\u53ef\u9009\u62e9\u5305\u542b\u5730\u5740\u3001\u64cd\u4f5c\u7801\u3001\u6307\u4ee4\u7b49\u3002<\/p>\n<h5 id=\"293-\u4f7f\u7528\u811a\u672c\u6279\u91cf\u5bfc\u51fa\">2.9.3 \u4f7f\u7528\u811a\u672c\u6279\u91cf\u5bfc\u51fa<\/h5>\n<p>\u6253\u5f00\u811a\u672c\u7ba1\u7406\u5668&#xff1a;Window \u2192 Script Manager<\/p>\n<p>\u641c\u7d22\u5e76\u8fd0\u884c\u4ee5\u4e0b\u811a\u672c&#xff1a;<\/p>\n<table>\n<tr>\u811a\u672c\u540d\u79f0\u529f\u80fd<\/tr>\n<tbody>\n<tr>\n<td>ExportAssemblyScript.java<\/td>\n<td>\u5bfc\u51fa\u6c47\u7f16\u4ee3\u7801<\/td>\n<\/tr>\n<tr>\n<td>ExportToCSVScript.java<\/td>\n<td>\u5bfc\u51fa\u4e3aCSV\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>DumpAddressInfoScript.java<\/td>\n<td>\u5bfc\u51fa\u5730\u5740\u4fe1\u606f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5 id=\"294-\u5206\u51fd\u6570\u5bfc\u51fa\u53cd\u6c47\u7f16\">2.9.4 \u5206\u51fd\u6570\u5bfc\u51fa\u53cd\u6c47\u7f16<\/h5>\n<p>\u5355\u4e2a\u51fd\u6570\u5bfc\u51fa&#xff1a;\u5728\u53cd\u6c47\u7f16\u7a97\u53e3\u4e2d\u9009\u62e9\u8981\u5bfc\u51fa\u7684\u51fd\u6570&#xff0c;\u53f3\u952e\u70b9\u51fb \u2192 Copy Special \u2192 Copy As&#xff0c;\u9009\u62e9\u683c\u5f0f&#xff1a;<\/p>\n<ul>\n<li>Assembly &#8211; \u7eaf\u6c47\u7f16\u4ee3\u7801<\/li>\n<li>Formatted Assembly &#8211; \u5e26\u683c\u5f0f\u7684\u6c47\u7f16\u4ee3\u7801<\/li>\n<li>HTML &#8211; HTML\u683c\u5f0f<\/li>\n<\/ul>\n<p>\u6279\u91cf\u5bfc\u51fa\u6240\u6709\u51fd\u6570&#xff1a;\u6253\u5f00 Window \u2192 Function Graph&#xff0c;\u5728\u51fd\u6570\u56fe\u7a97\u53e3\u4e2d\u53f3\u952e \u2192 Export \u2192 Export Graph&#xff0c;\u53ef\u9009\u62e9\u5bfc\u51fa\u4e3a\u6587\u672c\u6216\u56fe\u50cf\u683c\u5f0f\u3002<\/p>\n<h5 id=\"295-\u4f7f\u7528\u63a7\u5236\u53f0\u547d\u4ee4\u5bfc\u51fa\">2.9.5 \u4f7f\u7528\u63a7\u5236\u53f0\u547d\u4ee4\u5bfc\u51fa<\/h5>\n<p>\u6253\u5f00Ghidra\u63a7\u5236\u53f0&#xff1a;Window \u2192 Console<\/p>\n<p>\u5728\u63a7\u5236\u53f0\u4e2d\u8f93\u5165\u547d\u4ee4&#xff1a;<\/p>\n<p>java<\/p>\n<p>\/\/ \u5bfc\u51fa\u6574\u4e2a\u7a0b\u5e8f\u7684\u53cd\u6c47\u7f16<br \/>\nsaveProgramText(currentProgram, &#034;\/path\/to\/output\/disassembly.txt&#034;);<\/p>\n<p>\/\/ \u5bfc\u51fa\u7279\u5b9a\u5730\u5740\u8303\u56f4<br \/>\nsaveAddressRangeText(currentProgram, fromAddr, toAddr, &#034;\/path\/to\/output\/range.txt&#034;);<\/p>\n<h5 id=\"296-\u4fdd\u5b58ghidra\u9879\u76ee\">2.9.6 \u4fdd\u5b58Ghidra\u9879\u76ee<\/h5>\n<p>File \u2192 Save Project<\/p>\n<p>\u8fd9\u4f1a\u4fdd\u5b58\u6240\u6709\u5206\u6790\u7ed3\u679c\u3001\u6ce8\u91ca\u3001\u91cd\u547d\u540d\u7b49&#xff0c;\u9879\u76ee\u6587\u4ef6\u53ef\u4ee5\u5728\u4ee5\u540e\u91cd\u65b0\u6253\u5f00\u7ee7\u7eed\u5206\u6790\u3002<\/p>\n<h5 id=\"297-\u5bfc\u51fa\u4e3a\u4e8c\u8fdb\u5236\u8865\u4e01\">2.9.7 \u5bfc\u51fa\u4e3a\u4e8c\u8fdb\u5236\u8865\u4e01<\/h5>\n<p>File \u2192 Export \u2192 Binary File&#8230; \u53ef\u4ee5\u9009\u62e9\u5bfc\u51fa\u4fee\u6539\u540e\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n<h5 id=\"298-\u4f7f\u7528\u7b2c\u4e09\u65b9\u811a\u672c\u589e\u5f3a\u5bfc\u51fa\u529f\u80fd\">2.9.8 \u4f7f\u7528\u7b2c\u4e09\u65b9\u811a\u672c\u589e\u5f3a\u5bfc\u51fa\u529f\u80fd<\/h5>\n<p>\u5b89\u88c5\u793e\u533a\u811a\u672c&#xff1a;<\/p>\n<p>git clone https:\/\/github.com\/NationalSecurityAgency\/ghidra.git<\/p>\n<p>\u5728Script Manager\u4e2d\u5bfc\u5165\u6709\u7528\u7684\u5bfc\u51fa\u811a\u672c\u3002<\/p>\n<h5 id=\"299-\u5b8c\u6574\u5bfc\u51fa\u811a\u672c\u793a\u4f8b\">2.9.9 \u5b8c\u6574\u5bfc\u51fa\u811a\u672c\u793a\u4f8b<\/h5>\n<p>\u5728Script Manager\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u811a\u672c\u53ef\u4ee5\u5bfc\u51fa\u5e26\u6ce8\u91ca\u7684\u5b8c\u6574\u53cd\u6c47\u7f16&#xff1a;<\/p>\n<p>java<\/p>\n<p>\/\/ \u5728Script Manager\u4e2d\u8fd0\u884c\u8fd9\u4e2a\u811a\u672c\u53ef\u4ee5\u5bfc\u51fa\u5e26\u6ce8\u91ca\u7684\u5b8c\u6574\u53cd\u6c47\u7f16<br \/>\nimport ghidra.app.script.GhidraScript;<br \/>\nimport ghidra.program.model.listing.*;<br \/>\nimport java.io.*;<\/p>\n<p>public class ExportFullDisassembly extends GhidraScript {<br \/>\n    public void run() throws Exception {<br \/>\n        File outputFile &#061; new File(&#034;\/tmp\/full_disassembly.asm&#034;);<br \/>\n        PrintWriter writer &#061; new PrintWriter(outputFile);<\/p>\n<p>        Listing listing &#061; currentProgram.getListing();<br \/>\n        InstructionIterator instructions &#061; listing.getInstructions(true);<\/p>\n<p>        while (instructions.hasNext()) {<br \/>\n            Instruction instruction &#061; instructions.next();<br \/>\n            String line &#061; instruction.getAddress() &#043; &#034; &#034; &#043; instruction.toString();<br \/>\n            writer.println(line);<br \/>\n        }<\/p>\n<p>        writer.close();<br \/>\n        println(&#034;Disassembly exported to: &#034; &#043; outputFile.getAbsolutePath());<br \/>\n    }<br \/>\n}<\/p>\n<h5 id=\"2910-\u9010\u90e8\u5206\u624b\u52a8\u590d\u5236\">2.9.10 \u9010\u90e8\u5206\u624b\u52a8\u590d\u5236<\/h5>\n<p>\u5728\u53cd\u6c47\u7f16\u7a97\u53e3\u4e2d\u6309\u00a0Ctrl&#043;A\u00a0\u5168\u9009&#xff0c;Ctrl&#043;C\u00a0\u590d\u5236&#xff0c;\u7c98\u8d34\u5230\u6587\u672c\u7f16\u8f91\u5668\u4e2d&#xff0c;\u91cd\u590d\u6b64\u8fc7\u7a0b\u8986\u76d6\u6240\u6709\u4ee3\u7801\u6bb5\u3002<\/p>\n<h4 id=\"210-\u5b9e\u9645\u6848\u4f8b\u6f14\u793a\">2.10 \u5b9e\u9645\u6848\u4f8b\u6f14\u793a<\/h4>\n<p>\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u8ba1\u7b97\u5668\u7a0b\u5e8f\u88ab\u5220\u9664\u4e86\u6e90\u4ee3\u7801&#xff1a;<\/p>\n<p>\u5206\u6790\u8fc7\u7a0b&#xff1a;<\/p>\n<li>strings\u00a0\u5206\u6790\u53d1\u73b0\u5b57\u7b26\u4e32&#xff1a;&#034;Enter first number:&#034;\u3001&#034;Enter second number:&#034;\u3001&#034;Result: %d&#034;<\/li>\n<li>Ghidra\u53cd\u7f16\u8bd1\u663e\u793a&#xff1a;<\/li>\n<p>undefined8 main(void)<br \/>\n{<br \/>\n  int iVar1;<br \/>\n  int iVar2;<br \/>\n  printf(&#034;Enter first number: &#034;);<br \/>\n  iVar1 &#061; get_number();<br \/>\n  printf(&#034;Enter second number: &#034;);<br \/>\n  iVar2 &#061; get_number();<br \/>\n  printf(&#034;Result: %d\\\\n&#034;,iVar1 &#043; iVar2);<br \/>\n  return 0;<br \/>\n}<\/p>\n<li>\u91cd\u5efa\u7684\u4ee3\u7801&#xff1a;<\/li>\n<p>#include &lt;stdio.h&gt;<\/p>\n<p>int get_number(void) {<br \/>\n    int num;<br \/>\n    scanf(&#034;%d&#034;, &amp;num);<br \/>\n    return num;<br \/>\n}<\/p>\n<p>int main(void) {<br \/>\n    int num1, num2;<br \/>\n    printf(&#034;Enter first number: &#034;);<br \/>\n    num1 &#061; get_number();<br \/>\n    printf(&#034;Enter second number: &#034;);<br \/>\n    num2 &#061; get_number();<br \/>\n    printf(&#034;Result: %d\\\\n&#034;, num1 &#043; num2);<br \/>\n    return 0;<br \/>\n} <\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>&#x1f4dd; \u540e\u7eed\u8865\u5145\u5185\u5bb9\u4f18\u5148\u540c\u6b65\u81f3 GitHub&#xff0c;\u5982\u6709\u758f\u6f0f\u6b22\u8fce\u6307\u6b63\u3002<\/p>\n<p>&#x1f4cc; \u5168\u90e8\u76f8\u5173\u6280\u672f\u7b14\u8bb0\u6258\u7ba1\u4e8e GitHub \u4ed3\u5e93&#xff0c;\u6b22\u8fce\u8bbf\u95ee\u3002<\/p>\n<p>&#x1f517;\u00a0GitHub\u4ed3\u5e93&#xff1a;kyshipit\/tech\u2011notes<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CC-BY-SA-4.0 | \u00a9 2026 KY (kyshipit) ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 \u9002\u7528\u573a\u666f&#xff1a;\u4f60\u53ea\u6709\u4e00\u4e2a\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6&#xff0c;\u6ca1\u6709\u6e90\u4ee3\u7801&#xff0c;\u60f3\u641e\u6e05\u695a\u8fd9\u4e2a\u7a0b\u5e8f\u5e72\u4e86\u4ec0\u4e48&#xff0c;\u751a\u81f3\u6062\u590d\u51fa\u63a5\u8fd1\u6e90\u7801\u7684\u903b\u8f91\u3002 \u672c\u6587\u4e0d\u6d89\u53ca\u52a8\u6001\u8c03\u8bd5&#xff08;\u7a0b\u5e8f\u8fd0\u884c\u8d77\u6765\u4e4b\u540e\u7684\u5206\u6790&#xff09;&#xff0c;\u53ea\u505a\u9759\u6001\u5206\u6790\u3002 \u4ec0\u4e48\u662f\u9759\u6001\u5206\u6790&#xff1a;\u4e0d\u8fd0\u884c\u7a0b\u5e8f&#xff0c;\u76f4\u63a5\u5206\u6790\u4e8c\u8fdb\u5236\u6587\u4ef6\u672c\u8eab\u3002\u901a\u8fc7\u67e5<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11224,11225,11226,5609],"topic":[],"class_list":["post-97961","post","type-post","status-publish","format-standard","hentry","category-server","tag-elf","tag-ghidra","tag-radare2","tag-5609"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/97961.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"CC-BY-SA-4.0 | \u00a9 2026 KY (kyshipit) ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 \u9002\u7528\u573a\u666f&#xff1a;\u4f60\u53ea\u6709\u4e00\u4e2a\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6&#xff0c;\u6ca1\u6709\u6e90\u4ee3\u7801&#xff0c;\u60f3\u641e\u6e05\u695a\u8fd9\u4e2a\u7a0b\u5e8f\u5e72\u4e86\u4ec0\u4e48&#xff0c;\u751a\u81f3\u6062\u590d\u51fa\u63a5\u8fd1\u6e90\u7801\u7684\u903b\u8f91\u3002 \u672c\u6587\u4e0d\u6d89\u53ca\u52a8\u6001\u8c03\u8bd5&#xff08;\u7a0b\u5e8f\u8fd0\u884c\u8d77\u6765\u4e4b\u540e\u7684\u5206\u6790&#xff09;&#xff0c;\u53ea\u505a\u9759\u6001\u5206\u6790\u3002 \u4ec0\u4e48\u662f\u9759\u6001\u5206\u6790&#xff1a;\u4e0d\u8fd0\u884c\u7a0b\u5e8f&#xff0c;\u76f4\u63a5\u5206\u6790\u4e8c\u8fdb\u5236\u6587\u4ef6\u672c\u8eab\u3002\u901a\u8fc7\u67e5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/97961.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-30T13:17:43+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/97961.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/97961.html\",\"name\":\"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-30T13:17:43+00:00\",\"dateModified\":\"2026-08-30T13:17:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/97961.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/97961.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/97961.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/97961.html","og_locale":"zh_CN","og_type":"article","og_title":"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"CC-BY-SA-4.0 | \u00a9 2026 KY (kyshipit) ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 \u9002\u7528\u573a\u666f&#xff1a;\u4f60\u53ea\u6709\u4e00\u4e2a\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6&#xff0c;\u6ca1\u6709\u6e90\u4ee3\u7801&#xff0c;\u60f3\u641e\u6e05\u695a\u8fd9\u4e2a\u7a0b\u5e8f\u5e72\u4e86\u4ec0\u4e48&#xff0c;\u751a\u81f3\u6062\u590d\u51fa\u63a5\u8fd1\u6e90\u7801\u7684\u903b\u8f91\u3002 \u672c\u6587\u4e0d\u6d89\u53ca\u52a8\u6001\u8c03\u8bd5&#xff08;\u7a0b\u5e8f\u8fd0\u884c\u8d77\u6765\u4e4b\u540e\u7684\u5206\u6790&#xff09;&#xff0c;\u53ea\u505a\u9759\u6001\u5206\u6790\u3002 \u4ec0\u4e48\u662f\u9759\u6001\u5206\u6790&#xff1a;\u4e0d\u8fd0\u884c\u7a0b\u5e8f&#xff0c;\u76f4\u63a5\u5206\u6790\u4e8c\u8fdb\u5236\u6587\u4ef6\u672c\u8eab\u3002\u901a\u8fc7\u67e5","og_url":"https:\/\/www.wsisp.com\/helps\/97961.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-30T13:17:43+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/97961.html","url":"https:\/\/www.wsisp.com\/helps\/97961.html","name":"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-30T13:17:43+00:00","dateModified":"2026-08-30T13:17:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/97961.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/97961.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/97961.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ELF\u9759\u6001\u9006\u5411\u5206\u6790\u2014\u2014Ghidra\u4ece\u5b89\u88c5\u5230\u53cd\u7f16\u8bd1\u91cd\u5efa\u6e90\u7801"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/97961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=97961"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/97961\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=97961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=97961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=97961"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=97961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}