{"id":2254,"date":"2025-06-21T02:11:47","date_gmt":"2025-06-20T18:11:47","guid":{"rendered":"https:\/\/www.zhiwanyuzhou.com\/?p=2254"},"modified":"2025-06-21T02:11:48","modified_gmt":"2025-06-20T18:11:48","slug":"%e4%bd%bf%e7%94%a8qiling%e8%bf%90%e8%a1%8c%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.zhiwanyuzhou.com\/index.php\/2025\/06\/21\/%e4%bd%bf%e7%94%a8qiling%e8%bf%90%e8%a1%8c%e7%a8%8b%e5%ba%8f\/","title":{"rendered":"\u4f7f\u7528qiling\u8fd0\u884c\u7a0b\u5e8f"},"content":{"rendered":"\n<h2>\u4e00\u3001\u7b80\u4ecb<\/h2>\n\n\n\n<p>Qiling \u6846\u67b6\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u4eff\u771f\u5e73\u53f0\u6216\u9006\u5411\u5de5\u7a0b\u5de5\u5177\u3002\u5b83\u5c06\u4e8c\u8fdb\u5236\u68c0\u6d4b\u548c\u4e8c\u8fdb\u5236\u4eff\u771f\u6574\u5408\u5230\u4e00\u4e2a\u6846\u67b6\u4e2d\uff0c\u89e3\u51b3\u4e86\u5e94\u7528\u7a0b\u5e8f\u5e76\u975e\u5728\u771f\u7a7a\u4e2d\u8fd0\u884c\u4e14\u9ad8\u5ea6\u4f9d\u8d56\u64cd\u4f5c\u7cfb\u7edf\u7684\u95ee\u9898\u3002\u51ed\u501f\u5e7f\u6cdb\u7684\u64cd\u4f5c\u7cfb\u7edf\u652f\u6301\uff0cQiling \u6846\u67b6\u4e3a\u4e8c\u8fdb\u5236\u5206\u6790\u5f00\u8f9f\u4e86\u65e0\u9650\u7684\u53ef\u80fd\u6027\u548c\u6f5c\u529b\u3002\u501f\u52a9 Qiling \u6846\u67b6\uff0c\u5b83\u80fd\u591f\uff1a<\/p>\n\n\n\n<ul>\n<li>\u8de8\u5e73\u53f0\uff1aWindows\u3001MacOS\u3001Linux\u3001BSD\u3001UEFI\u3001DOS<\/li>\n\n\n\n<li>\u8de8\u67b6\u6784\uff1aX86\u3001X86_64\u3001ARM\u3001ARM64\u3001MIPS\u30018086<\/li>\n\n\n\n<li>\u591a\u79cd\u6587\u4ef6\u683c\u5f0f\uff1aPE\u3001MachO\u3001ELF\u3001COM<\/li>\n\n\n\n<li>\u5728\u9694\u79bb\u73af\u5883\u4e2d\u6a21\u62df\u548c\u6c99\u76d2\u673a\u5668\u4ee3\u7801<\/li>\n\n\n\n<li>\u652f\u6301\u8de8\u67b6\u6784\u548c\u5e73\u53f0\u7684\u8c03\u8bd5\u80fd\u529b<\/li>\n\n\n\n<li>\u63d0\u4f9b\u9ad8\u7ea7 API \u6765\u8bbe\u7f6e\u548c\u914d\u7f6e\u6c99\u76d2<\/li>\n\n\n\n<li>\u7ec6\u7c92\u5ea6\u68c0\u6d4b\uff1a\u5141\u8bb8\u5728\u5404\u4e2a\u7ea7\u522b\u8fdb\u884c\u6302\u94a9\uff08\u6307\u4ee4\/\u57fa\u672c\u5757\/\u5185\u5b58\u8bbf\u95ee\/\u5f02\u5e38\/\u7cfb\u7edf\u8c03\u7528\/IO\/\u7b49\uff09<\/li>\n\n\n\n<li>\u5141\u8bb8\u52a8\u6001\u70ed\u8865\u4e01\u5373\u65f6\u8fd0\u884c\u4ee3\u7801\uff0c\u5305\u62ec\u52a0\u8f7d\u7684\u5e93<\/li>\n\n\n\n<li>Python \u4e2d\u7684\u771f\u6b63\u6846\u67b6\uff0c\u53ef\u8f7b\u677e\u5728\u5176\u4e0a\u6784\u5efa\u5b9a\u5236\u7684\u5b89\u5168\u5206\u6790\u5de5\u5177<\/li>\n<\/ul>\n\n\n\n<p>Qiling Framework \u80fd\u591f\u6a21\u62df\uff1a<\/p>\n\n\n\n<ul>\n<li>Windows X86 32\/64\u4f4d<\/li>\n\n\n\n<li>Linux X86 32\/64\u4f4d\u3001ARM\u3001AARCH64\u3001MIPS<\/li>\n\n\n\n<li>MacOS X86 32\/64\u4f4d<\/li>\n\n\n\n<li>FreeBSD X86 32\/64\u4f4d<\/li>\n\n\n\n<li>UEFI<\/li>\n\n\n\n<li>DOS<\/li>\n\n\n\n<li>MBR<\/li>\n<\/ul>\n\n\n\n<p>Qiling Framework \u80fd\u591f\u5728 Linux\/FreeBSD\/MacOS\/Windows (WSL2) \u4e0a\u8fd0\u884c\uff0c\u4e0d\u53d7 CPU \u67b6\u6784\u9650\u5236\u3002<\/p>\n\n\n\n<h2>\u4e8c\u3001\u5b89\u88c5<\/h2>\n\n\n\n<p>\u5b98\u65b9\u7f51\u7ad9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code>https:&#47;&#47;qiling.io\/\nhttps:\/\/github.com\/qilingframework\/qiling<\/code><\/pre>\n\n\n\n<p>\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7pip\u8fdb\u884c\u5b89\u88c5\uff0c\u5982\u679c\u8981\u5b89\u88c5\u7279\u5b9a\u7248\u672c\uff0c\u53ef\u4ee5\u52a0\u5165\u201c==\u7248\u672c\u53f7\u201d<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code>pip install qiling<\/code><\/pre>\n\n\n\n<p>qiling\u5b89\u88c5\u7684\u65f6\u5019\u53ef\u80fd\u5bf9python\u7248\u672c\u7684\u5e93\u6709\u8981\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528conda\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684python\uff0c\u7136\u540e\u518d\u5b89\u88c5<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code># \u6d4f\u89c8\u5668\u4e0b\u8f7d\nhttps:&#47;&#47;mirrors.tuna.tsinghua.edu.cn\/anaconda\/archive\/Anaconda3-5.3.1-Linux-x86_64.sh\n\n# \u5b89\u88c5\nchmod +x Anaconda3-5.3.1-Linux-x86_64.sh\n.\/Anaconda3-5.3.1-Linux-x86_64.sh\n\n# \u521b\u5efa\u865a\u62df\u73af\u5883\nconda create -n py310 python=3.10\n\n# \u6fc0\u6d3b\u73af\u5883\nconda activate py310\n\n# pip \u5b89\u88c5qiling\npip install unicorn==2.0.1 qiling==1.4.6<\/code><\/pre>\n\n\n\n<h2>\u4e09\u3001\u4f7f\u7528\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u5b98\u65b9\u4ed3\u5e93\u6709\u4e00\u4e9b\u793a\u4f8b\u53ef\u4ee5\u53c2\u8003<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code>https:&#47;&#47;github.com\/qilingframework\/qiling\/tree\/master\/examples<\/code><\/pre>\n\n\n\n<h2>1\u3001\u6267\u884c\u53ef\u6267\u884c\u7a0b\u5e8f<\/h2>\n\n\n\n<p>\u9664\u4e86\u5e38\u89c4\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u4ee5\u5916\uff0c\u4e5f\u53ef\u4ee5\u6a21\u62df\u5d4c\u5165\u5f0f\u8bbe\u5907\uff0c\u5982\u7f51\u4ef6\u8def\u7531\u5668R6220\u91cc\u9762\u7684mini_httpd\u7a0b\u5e8f\u7684\u8fd0\u884c\uff08examples\/netgear_6220.py\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"726\" height=\"381\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image.png\" alt=\"\" class=\"wp-image-2255\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image.png?v=1750429621 726w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-300x157.png?v=1750429621 300w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/figure>\n\n\n\n<p>\u6267\u884c\u65e5\u5fd7\uff0c\u5982\u679c\u4e0d\u60f3\u6253\u5370\u8c03\u8bd5\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u5c06QL_VERBOSE.DEBUG\u4fee\u6539\u4e3aQL_VERBOSE.OFF\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"515\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-11-1024x515.png?v=1750442443\" alt=\"\" class=\"wp-image-2267\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-11-1024x515.png?v=1750442443 1024w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-11-300x151.png?v=1750442443 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-11-768x386.png?v=1750442443 768w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-11.png?v=1750442443 1038w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2>2\u3001\u6267\u884cshellcode<\/h2>\n\n\n\n<p>\u9664\u4e86\u6267\u884c\u53ef\u6267\u884c\u7a0b\u5e8f\u4ee5\u5916\uff0c\u8fd8\u80fd\u5355\u72ec\u8fd0\u884cshellcode\uff08examples\/shellcode_run.py\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"911\" height=\"545\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-1.png\" alt=\"\" class=\"wp-image-2256\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-1.png?v=1750435901 911w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-1-300x179.png?v=1750435901 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-1-768x459.png?v=1750435901 768w\" sizes=\"(max-width: 911px) 100vw, 911px\" \/><\/figure>\n\n\n\n<p>\u6267\u884c\u7684\u65e5\u5fd7\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"794\" height=\"299\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-2.png\" alt=\"\" class=\"wp-image-2257\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-2.png?v=1750436173 794w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-2-300x113.png?v=1750436173 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-2-768x289.png?v=1750436173 768w\" sizes=\"(max-width: 794px) 100vw, 794px\" \/><\/figure>\n\n\n\n<h2>3\u3001\u6267\u884cbootloader<\/h2>\n\n\n\n<p>\u53ef\u4ee5\u6267\u884cu-boot\u3001efi\u3001MBR\u7b49\u8ba1\u7b97\u673a\u8bbe\u5907\u5f00\u673a\u7684\u542f\u52a8\u4ee3\u7801\uff0c\u5982\u4e0b\u6240\u793a\u542f\u52a8u-boot\uff08examples\\hello_arm_uboot.py\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"312\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-8-1024x312.png?v=1750440197\" alt=\"\" class=\"wp-image-2264\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-8-1024x312.png?v=1750440197 1024w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-8-300x91.png?v=1750440197 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-8-768x234.png?v=1750440197 768w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-8.png?v=1750440197 1066w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u6267\u884c\u7ed3\u679c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"723\" height=\"125\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-6.png\" alt=\"\" class=\"wp-image-2262\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-6.png?v=1750439729 723w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-6-300x52.png?v=1750439729 300w\" sizes=\"(max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<h2>4\u3001\u6267\u884c\u5176\u4ed6\u7cfb\u7edf<\/h2>\n\n\n\n<p>\u53ef\u4ee5\u6267\u884c\u5176\u4ed6\u7684\u975e\u5e38\u89c4\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982\u4e0b\u6240\u793a\u542f\u52a8rtos\u7cfb\u7edf\uff08examples\/mcu\/stm32f411_freertos.py\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"868\" height=\"277\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-3.png\" alt=\"\" class=\"wp-image-2258\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-3.png?v=1750436770 868w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-3-300x96.png?v=1750436770 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-3-768x245.png?v=1750436770 768w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><\/figure>\n\n\n\n<p>\u542f\u52a8\u65e5\u5fd7<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"832\" height=\"275\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-9.png\" alt=\"\" class=\"wp-image-2265\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-9.png?v=1750440874 832w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-9-300x99.png?v=1750440874 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-9-768x254.png?v=1750440874 768w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<p>\u6253\u5370\u7684\u5b57\u7b26\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"517\" height=\"241\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-10.png\" alt=\"\" class=\"wp-image-2266\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-10.png?v=1750440915 517w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-10-300x140.png?v=1750440915 300w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/figure>\n\n\n\n<h2>\u56db\u3001qltool<\/h2>\n\n\n\n<p>Qiling \u63d0\u4f9b\u4e86\u4e00\u4e2a\u540d\u4e3a qltool \u7684\u5f3a\u5927\u5de5\u5177\uff0c\u53ef\u4ee5\u5feb\u901f\u6a21\u62df\u51fa\u76ee\u6807 Shellcode \u6216\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u9996\u5148\u9700\u8981\u9009\u62e9\u8fd0\u884c\u7684\u6a21\u5f0f\uff0c\u5e38\u7528\u7684\u4e3b\u8981\u662frun\u3001code\uff0c\u5bf9\u5e94\u7684\u662f\u53ef\u6267\u884c\u7a0b\u5e8f\u3001shellcode\u6a21\u5f0f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code>$ qltool -h\nusage: qltool &#91;-h] &#91;--version] {run,code,examples,qltui} ...\n\noptions:\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n\nsub commands:\n  select execution mode\n\n  {run,code,examples,qltui}\n    run                 run a program\n    code                execute a shellcode\n    examples            show examples and exit\n    qltui               show qiling Terminal User Interface<\/code><\/pre>\n\n\n\n<p>\u8fd0\u884c\u53ef\u6267\u884c\u7a0b\u5e8f\u7684\u6a21\u5f0f<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code>$ qltool run -h\nusage: qltool run &#91;-h] &#91;-f FILE] --rootfs ROOTFS &#91;--args ...]\n                  &#91;-v {disabled,off,default,debug,disasm,dump}] &#91;--env FILE]\n                  &#91;-g &#91;SERVER:PORT]] &#91;--qdb] &#91;--rr] &#91;--profile PROFILE]\n                  &#91;--no-console] &#91;-e REGEXP] &#91;--log-file LOG_FILE] &#91;--log-plain]\n                  &#91;--root] &#91;--debug-stop] &#91;-m] &#91;--timeout TIMEOUT] &#91;-c COVERAGE_FILE]\n                  &#91;--coverage-format {drcov,drcov_exact}] &#91;--json] &#91;--libcache]\n                  ...\n\npositional arguments:\n  run_args\n\noptions:\n  -h, --help            show this help message and exit\n  -f FILE, --filename FILE\n                        filename\n  --rootfs ROOTFS       emulated rootfs\n  --args ...            args\n  -v {disabled,off,default,debug,disasm,dump}, --verbose {disabled,off,default,debug,disasm,dump}\n                        set verbosity level\n  --env FILE            pickle file containing an environment dictionary\n  -g &#91;SERVER:PORT], --gdb &#91;SERVER:PORT]\n                        enable gdb server\n  --qdb                 attach Qdb at entry point, it's MIPS, ARM(THUMB) supported\n                        only for now\n  --rr                  switch on record and replay feature in qdb, only works with\n                        --qdb\n  --profile PROFILE     define a customized profile\n  --no-console          do not emit output to console\n  -e REGEXP, --filter REGEXP\n                        apply a filtering regexp on log output\n  --log-file LOG_FILE   write log to a file\n  --log-plain           do not use colors in log output\n  --root                enable sudo required mode\n  --debug-stop          stop running on error; requires verbose to be set to either\n                        \"debug\" or \"dump\"\n  -m, --multithread     run in multithread mode\n  --timeout TIMEOUT     set emulation timeout\n  -c COVERAGE_FILE, --coverage-file COVERAGE_FILE\n                        code coverage file name\n  --coverage-format {drcov,drcov_exact}\n                        code coverage file format\n  --json                print a json report of the emulation\n  --libcache            enable dll caching for windows<\/code><\/pre>\n\n\n\n<p>\u8fd0\u884cshellcode\u7684\u6a21\u5f0f<\/p>\n\n\n\n<pre class=\"wp-block-code has-palette-color-4-color has-palette-color-8-background-color has-text-color has-background\"><code>$ qltool code -h\nusage: qltool code &#91;-h] &#91;-f FILE] &#91;-i INPUT] --arch\n                   {x86,x8664,arm,arm64,mips,a8086,evm,cortex_m,riscv,riscv64,ppc}\n                   &#91;--thumb] &#91;--endian {little,big}] --os\n                   {linux,freebsd,macos,windows,uefi,dos,evm,qnx,mcu,blob}\n                   &#91;--rootfs ROOTFS] &#91;--format {asm,hex,bin}]\n                   &#91;-v {disabled,off,default,debug,disasm,dump}] &#91;--env FILE]\n                   &#91;-g &#91;SERVER:PORT]] &#91;--qdb] &#91;--rr] &#91;--profile PROFILE]\n                   &#91;--no-console] &#91;-e REGEXP] &#91;--log-file LOG_FILE] &#91;--log-plain]\n                   &#91;--root] &#91;--debug-stop] &#91;-m] &#91;--timeout TIMEOUT]\n                   \n\noptions:\n  -h, --help            show this help message and exit\n  -f FILE, --filename FILE\n                        filename\n  -i INPUT, --input INPUT\n                        input hex value\n  --arch {x86,x8664,arm,arm64,mips,a8086,evm,cortex_m,riscv,riscv64,ppc}\n  --thumb               specify thumb mode for ARM\n  --endian {little,big}\n                        specify endianess for bi-endian archs\n  --os {linux,freebsd,macos,windows,uefi,dos,evm,qnx,mcu,blob}\n  --rootfs ROOTFS       emulated root filesystem, that is where all libraries reside\n  --format {asm,hex,bin}\n                        input file format\n  -v {disabled,off,default,debug,disasm,dump}, --verbose {disabled,off,default,debug,disasm,dump}\n                        set verbosity level\n  --env FILE            pickle file containing an environment dictionary\n  -g &#91;SERVER:PORT], --gdb &#91;SERVER:PORT]\n                        enable gdb server\n  --qdb                 attach Qdb at entry point, it's MIPS, ARM(THUMB) supported\n                        only for now\n  --rr                  switch on record and replay feature in qdb, only works with\n                        --qdb\n  --profile PROFILE     define a customized profile\n  --no-console          do not emit output to console\n  -e REGEXP, --filter REGEXP\n                        apply a filtering regexp on log output\n  --log-file LOG_FILE   write log to a file\n  --log-plain           do not use colors in log output\n  --root                enable sudo required mode\n  --debug-stop          stop running on error; requires verbose to be set to either\n                        \"debug\" or \"dump\"\n  -m, --multithread     run in multithread mode\n  --timeout TIMEOUT     set emulation timeout\n  -c COVERAGE_FILE, --coverage-file COVERAGE_FILE\n                        code coverage file name\n  --coverage-format {drcov,drcov_exact}\n                        code coverage file format\n  --json                print a json report of the emulation\n  --libcache            enable dll caching for windows<\/code><\/pre>\n\n\n\n<p>\u6d4b\u8bd5powerpc\u67b6\u6784\u7684\u7a0b\u5e8f\u8fd0\u884c\u60c5\u51b5\uff0c\u6700\u540e\u80fd\u6253\u5370\u201cHello World!\u201d\u3002\u6709\u7684\u7a0b\u5e8f\u6709\u53c2\u6570\u624d\u80fd\u542f\u52a8\uff0c\u5982\u679c\u6709\u53c2\u6570\u5c31\u4f7f\u7528--args\u540e\u9762\u63a5\u4e0a\u5bf9\u5e94\u7684\u53c2\u6570\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"834\" height=\"549\" src=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-12.png\" alt=\"\" class=\"wp-image-2268\" srcset=\"https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-12.png?v=1750442743 834w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-12-300x197.png?v=1750442743 300w, https:\/\/www.zhiwanyuzhou.com\/wp-content\/uploads\/2025\/06\/image-12-768x506.png?v=1750442743 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/figure>\n\n\n\n<h2>\u4e94\u3001\u53c2\u8003\u94fe\u63a5<\/h2>\n\n\n\n<p><a href=\"https:\/\/qiling.io\/2023\/08\/04\/intro\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/qiling.io\/2023\/08\/04\/intro\/<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/blog.csdn.net\/freeking101\/article\/details\/128522901\" target=\"_blank\">https:\/\/blog.csdn.net\/freeking101\/article\/details\/128522901<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u7b80\u4ecb Qiling \u6846\u67b6\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u4eff\u771f\u5e73\u53f0\u6216\u9006\u5411\u5de5\u7a0b\u5de5\u5177\u3002\u5b83\u5c06\u4e8c\u8fdb\u5236\u68c0\u6d4b\u548c\u4e8c\u8fdb\u5236\u4eff\u771f\u6574\u5408\u5230\u4e00\u4e2a\u6846\u67b6\u4e2d\uff0c\u89e3\u51b3\u4e86\u5e94\u7528\u7a0b\u5e8f\u5e76\u975e\u5728\u771f\u7a7a\u4e2d\u8fd0\u884c\u4e14\u9ad8\u5ea6\u4f9d\u8d56\u64cd\u4f5c\u7cfb\u7edf\u7684\u95ee\u9898\u3002\u51ed\u501f\u5e7f\u6cdb\u7684\u64cd\u4f5c\u7cfb\u7edf\u652f\u6301\uff0cQiling\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":5}},"_links":{"self":[{"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/posts\/2254"}],"collection":[{"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/comments?post=2254"}],"version-history":[{"count":4,"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/posts\/2254\/revisions"}],"predecessor-version":[{"id":2271,"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/posts\/2254\/revisions\/2271"}],"wp:attachment":[{"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/media?parent=2254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/categories?post=2254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhiwanyuzhou.com\/index.php\/wp-json\/wp\/v2\/tags?post=2254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}