{"id":947,"date":"2021-03-10T14:20:03","date_gmt":"2021-03-10T06:20:03","guid":{"rendered":"http:\/\/www.mustenaka.cn\/?p=947"},"modified":"2021-03-10T15:39:58","modified_gmt":"2021-03-10T07:39:58","slug":"machofilesinterview","status":"publish","type":"post","link":"https:\/\/www.mustenaka.cn\/index.php\/2021\/03\/10\/machofilesinterview\/","title":{"rendered":"mach-o\u6587\u4ef6\u4ecb\u7ecd"},"content":{"rendered":"<p>\u5de5\u4f5c\u7684\u9700\u8981\u53ef\u80fd\u8981\u6253\u5305.bundle\u6216\u8005\u76f8\u5173\u7684MacOS\u7684\u52a8\u6001\u5e93\uff0c\u6545\u505a\u4e00\u4e2a\u8fd9\u6837\u5b50\u7684\u7b14\u8bb0\u3002<\/p>\n<h3>\u4e00.mach-o\u6587\u4ef6\u4ecb\u7ecd<\/h3>\n<div>\n<div>Mach-O\u4e3aMach Object\u6587\u4ef6\u683c\u5f0f\u7684\u7f29\u5199\uff0c\u662f\u4e00\u79cd\u7528\u4e8e\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u76ee\u6807\u4ee3\u7801\uff0c\u52a8\u6001\u5e93\uff0c\u5185\u6838\u8f6c\u50a8\u7684\u6587\u4ef6\u683c\u5f0f\uff0c\u662fmac\u4e0a\u53ef\u6267\u884c\u6587\u4ef6\u7684\u683c\u5f0f\uff0c\u7c7b\u4f3c\u4e8ewindows\u4e0a\u7684PE\u683c\u5f0f (Portable Executable ), linux\u4e0a\u7684elf\u683c\u5f0f (Executable and Linking Format)\u3002\u6211\u4eec\u5728macOS\u4e0a\u7f16\u5199\u7684C\u3001C++\u3001swift\u3001OC\uff0c\u6700\u7ec8\u7f16\u8bd1\u94fe\u63a5\u751f\u6210Mach-O\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/div>\n<div>\u4f5c\u4e3aa.out\u683c\u5f0f\u7684\u66ff\u4ee3\uff0cMach-O\u63d0\u4f9b\u4e86\u66f4\u5f3a\u7684\u6269\u5c55\u6027\uff0c\u5e76\u63d0\u5347\u4e86\u7b26\u53f7\u8868\u4e2d\u4fe1\u606f\u7684\u8bbf\u95ee\u901f\u5ea6\u3002<\/div>\n<\/div>\n<h3>\u4e8c.\u6587\u4ef6\u7ed3\u6784<\/h3>\n<div class=\"para\" label-module=\"para\">\u6bcf\u4e2aMach-O\u6587\u4ef6\u5305\u62ec\u4e00\u4e2aMach-O\u5934\uff0c\u7136\u540e\u662f\u4e00\u7cfb\u5217\u7684\u8f7d\u5165\u547d\u4ee4\uff0c\u518d\u662f\u4e00\u4e2a\u6216\u591a\u4e2a<b>\u5757<\/b>\uff0c\u6bcf\u4e2a\u5757\u5305\u62ec0\u5230255\u4e2a<b>\u6bb5<\/b>\u3002Mach-O\u4f7f\u7528REL\u518d\u5b9a\u4f4d\u683c\u5f0f\u63a7\u5236\u5bf9\u7b26\u53f7\u7684\u5f15\u7528\u3002Mach-O\u5728\u4e24\u7ea7\u547d\u540d\u7a7a\u95f4\u4e2d\u5c06\u6bcf\u4e2a\u7b26\u53f7\u7f16\u7801\u6210\u201c\u5bf9\u8c61-\u7b26\u53f7\u540d\u201d\u5bf9\uff0c\u5728\u67e5\u627e\u7b26\u53f7\u65f6\u5219\u91c7\u7528\u7ebf\u6027\u641c\u7d22\u6cd5\u3002<\/div>\n<div class=\"para\" label-module=\"para\">Mach-O\u7684\u57fa\u672c\u7ed3\u6784\uff0c\u5f15\u7528\u4e86\u6587\u4ef6\u4e2d\u6570\u636e\u9875\u7684\u53d8\u957f\u201c\u52a0\u8f7d\u547d\u4ee4\u201d\u8868\uff0c\u4e5f\u7528\u4e8eAccent\u6838\u5fc3\u7684\u53ef\u6267\u884c\u6587\u4ef6\u683c\u5f0f\u4e2d\uff0c\u800c\u8fd9\u79cd\u683c\u5f0f\u5219\u662f\u57fa\u4e8e\u6765\u81eaSpice Lisp\u7684\u7406\u5ff5\u3002<\/div>\n<div label-module=\"para\">\u6587\u4ef6\u7c7b\u578b\u53ef\u4ee5\u5206\u4e3a\uff1a<\/div>\n<div label-module=\"para\">\n<div>\n<ul>\n<li>Executable\uff1a\u5e94\u7528\u7684\u4e3b\u8981\u4e8c\u8fdb\u5236<\/li>\n<li>Dylib Library\uff1a\u52a8\u6001\u94fe\u63a5\u5e93\uff08\u53c8\u79f0DSO\u6216DLL\uff09<\/li>\n<li>Static Library\uff1a\u9759\u6001\u94fe\u63a5\u5e93<\/li>\n<li>Bundle\uff1a\u4e0d\u80fd\u88ab\u94fe\u63a5\u7684Dylib\uff0c\u53ea\u80fd\u5728\u8fd0\u884c\u65f6\u4f7f\u7528dlopen( )\u52a0\u8f7d\uff0c\u53ef\u5f53\u505a<strong>macOS<\/strong>\u7684\u63d2\u4ef6<\/li>\n<li>Relocatable Object File \uff1a\u53ef\u91cd\u5b9a\u5411\u6587\u4ef6\u7c7b\u578b<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div label-module=\"para\">\u5173\u4e8e\u5176\u6587\u4ef6\u5934\uff1a\u670911\u79cd\u7c7b\u7684\u5b9a\u4e49<\/div>\n<div label-module=\"para\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/894719-41e52c512b050acb.png\" alt=\"\" width=\"654\" height=\"255\" class=\"alignnone size-full wp-image-948\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/894719-41e52c512b050acb.png 654w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/894719-41e52c512b050acb-300x117.png 300w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/div>\n<div label-module=\"para\">\u4e3b\u8981\u7684\u6709\uff1a<\/div>\n<div label-module=\"para\">\n<ol>\n<li>MH_OBJECT (0x1 )<\/li>\n<\/ol>\n<ul>\n<li>\u76ee\u6807\u6587\u4ef6(.0)<\/li>\n<li>\u9759\u6001\u5e93\u6587\u4ef6(.a),\u9759\u6001\u5e93\u6587\u4ef6\u5176\u5b9e\u5c31\u662f\u591a\u4e2a.o\u6587\u4ef6\u7684\u5408\u96c6.\u6bd4\u5982\u652f\u6301\u591a\u79cdcpu\u5efa\u6784\u7684.a\u5e93\u6587\u4ef6.<\/li>\n<\/ul>\n<ol start=\"2\">\n<li>MH_EXECUTE (0x2) \u53ef\u6267\u884c\u6587\u4ef6,<\/li>\n<\/ol>\n<ul>\n<li>\u6bd4\u5982.app\u6587\u4ef6<\/li>\n<\/ul>\n<ol start=\"3\">\n<li>MH_DYLIB \u52a8\u6001\u5e93\u6587\u4ef6<\/li>\n<\/ol>\n<ul>\n<li>.dylib\u6587\u4ef6<\/li>\n<li>.framework\/xx\u6587\u4ef6<\/li>\n<\/ul>\n<ol start=\"4\">\n<li>MH_DYLINKER (0x7) \u52a8\u6001\u94fe\u63a5\u7f16\u8f91\u5668<\/li>\n<\/ol>\n<ul>\n<li>usr\/lib\/dyld<\/li>\n<\/ul>\n<ol start=\"5\">\n<li>MH_DYSM \u7b26\u53f7\u6587\u4ef6<\/li>\n<\/ol>\n<ul>\n<li>dSYM\/Content\/Resources\/DWARF\/xx\u5e38\u7528\u4e0eapp\u5d29\u6e83\u4fe1\u606f\u5206\u6790<\/li>\n<\/ul>\n<\/div>\n<h3>\u4e09.Mach-O\u6587\u4ef6\u683c\u5f0f<\/h3>\n<div>\n<div>Mach-O\u662f\u4e00\u4e2a\u4ee5\u6570\u636e\u5757\u5206\u7ec4\u7684\u4e8c\u8fdb\u5236\u5b57\u8282\u6d41\uff0c\u8fd9\u4e9b\u6570\u636e\u5757\u5305\u542b\u5143\u4fe1\u606f\uff0c\u6bd4\u5982\u5b57\u8282\u987a\u5e8f\u3001CPU\u7c7b\u578b\u3001\u6570\u636e\u5757\u5927\u5c0f\u7b49\u7b49\u3002<br \/>\n\u5178\u578b\u7684Mach-O\u6587\u4ef6\u5305\u542b\u4e09\u4e2a\u533a\u57df:<br \/>\n1.<strong>Header<\/strong>:\u4fdd\u5b58Mach-O\u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\uff0c\u5305\u62ec\u5e73\u53f0\u3001\u6587\u4ef6\u7c7b\u578b\u3001\u6307\u4ee4\u6570\u3001\u6307\u4ee4\u603b\u5927\u5c0f\uff0cdyld\u6807\u8bb0Flags\u7b49\u7b49\u3002<br \/>\n2.<strong>Load Commands<\/strong>\uff1a\u7d27\u8ddfHeader\uff0c\u52a0\u8f7dMach-O\u6587\u4ef6\u65f6\u4f1a\u4f7f\u7528\u8fd9\u90e8\u5206\u6570\u636e\u786e\u5b9a\u5185\u5b58\u5206\u5e03\uff0c\u5bf9\u7cfb\u7edf\u5185\u6838\u52a0\u8f7d\u5668\u548c\u52a8\u6001\u8fde\u63a5\u5668\u8d77\u6307\u5bfc\u4f5c\u7528\u3002<br \/>\n3.<strong>Data<\/strong>:\u6bcf\u4e2asegment\u7684\u5177\u4f53\u6570\u636e\u4fdd\u5b58\u5728\u8fd9\u91cc\uff0c\u5305\u542b\u5177\u4f53\u7684\u4ee3\u7801\u3001\u6570\u636e\u7b49\u7b49\u3002<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/8065760-3b6beb6ecc968b6e.jpg\" alt=\"\" width=\"365\" height=\"401\" class=\"alignnone size-full wp-image-949\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/8065760-3b6beb6ecc968b6e.jpg 365w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/8065760-3b6beb6ecc968b6e-273x300.jpg 273w\" sizes=\"(max-width: 365px) 100vw, 365px\" \/><\/p>\n<\/div>\n<h3>\u56db.\u5176\u6570\u636e\u7ed3\u6784<\/h3>\n<h5>1.Header<\/h5>\n<div>\n<pre class=\"pure-highlightjs\"><code class=\"\" cpp=\"\">\/*\r\n * The 32-bit mach header appears at the very beginning of the object file for\r\n * 32-bit architectures.\r\n *\/\r\nstruct mach_header {\r\n    uint32_t    magic;      \/* mach magic number identifier *\/\r\n    cpu_type_t  cputype;    \/* cpu specifier *\/\r\n    cpu_subtype_t   cpusubtype; \/* machine specifier *\/\r\n    uint32_t    filetype;   \/* type of file *\/\r\n    uint32_t    ncmds;      \/* number of load commands *\/\r\n    uint32_t    sizeofcmds; \/* the size of all the load commands *\/\r\n    uint32_t    flags;      \/* flags *\/\r\n};\r\n\r\n\/* Constant for the magic field of the mach_header (32-bit architectures) *\/\r\n#define MH_MAGIC    0xfeedface  \/* the mach magic number *\/\r\n#define MH_CIGAM    0xcefaedfe  \/* NXSwapInt(MH_MAGIC) *\/\r\n\r\n\/*\r\n * The 64-bit mach header appears at the very beginning of object files for\r\n * 64-bit architectures.\r\n *\/\r\nstruct mach_header_64 {\r\n    uint32_t    magic;      \/* mach magic number identifier *\/\r\n    cpu_type_t  cputype;    \/* cpu specifier *\/\r\n    cpu_subtype_t   cpusubtype; \/* machine specifier *\/\r\n    uint32_t    filetype;   \/* type of file *\/\r\n    uint32_t    ncmds;      \/* number of load commands *\/\r\n    uint32_t    sizeofcmds; \/* the size of all the load commands *\/\r\n    uint32_t    flags;      \/* flags *\/\r\n    uint32_t    reserved;   \/* reserved *\/\r\n};\r\n\r\n\/* Constant for the magic field of the mach_header_64 (64-bit architectures) *\/\r\n#define MH_MAGIC_64 0xfeedfacf \/* the 64-bit mach magic number *\/\r\n#define MH_CIGAM_64 0xcffaedfe \/* NXSwapInt(MH_MAGIC_64) *\/<\/code><\/pre>\n<p>\u4ece\u4e0a\u9762\u7684\u4ee3\u7801\u53ef\u4ee5\u5f97\u5230\u5982\u4e0b\u7684\u89e3\u91ca<\/p>\n<div class=\"supsystic-table-loader spinner\"style=\"background-color:#000000\"><\/div><div id=\"supsystic-table-13_93788\" class=\"supsystic-tables-wrap \" style=\" width:100%; visibility: hidden; \" data-table-width-fixed=\"100%\" data-table-width-mobile=\"100%\" ><table id=\"supsystic-table-13\" class=\"supsystic-table border lightboxImg cell-border\" data-id=\"13\" data-view-id=\"13_93788\" data-title=\"Mach-O Header interview\" data-currency-format=\"$1,000.00\" data-percent-format=\"10.00%\" data-date-format=\"DD.MM.YYYY\" data-time-format=\"HH:mm\" data-features=\"[&quot;after_table_loaded_script&quot;]\" data-search-value=\"\" data-lightbox-img=\"\" data-head-rows-count=\"1\" data-pagination-length=\"50,100,All\" data-auto-index=\"off\" data-searching-settings=\"{&quot;columnSearchPosition&quot;:&quot;bottom&quot;,&quot;minChars&quot;:&quot;0&quot;}\" data-lang=\"default\" data-override=\"{&quot;emptyTable&quot;:&quot;&quot;,&quot;info&quot;:&quot;&quot;,&quot;infoEmpty&quot;:&quot;&quot;,&quot;infoFiltered&quot;:&quot;&quot;,&quot;lengthMenu&quot;:&quot;&quot;,&quot;search&quot;:&quot;&quot;,&quot;zeroRecords&quot;:&quot;&quot;,&quot;exportLabel&quot;:&quot;&quot;,&quot;file&quot;:&quot;default&quot;}\" data-merged=\"[]\" data-responsive-mode=\"0\" data-from-history=\"0\" ><thead><tr><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><\/tr><\/thead><tbody><tr style=\"height:px\" ><td data-cell-id=\"A1\" data-x=\"0\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u540d\u79f0\" data-order=\"\u540d\u79f0\" style=\"min-width:22.2678%; \" >\u540d\u79f0 <\/td><td data-cell-id=\"B1\" data-x=\"1\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u542b\u4e49\" data-order=\"\u542b\u4e49\" style=\"min-width:77.7322%; \" >\u542b\u4e49 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A2\" data-x=\"0\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"magic\" data-order=\"magic\" >magic <\/td><td data-cell-id=\"B2\" data-x=\"1\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"Mach-O\u9b54\u6570,FAT:0xcafebabeARMv7:0xfeedface,ARM64:0xfeedfacf\" data-order=\"Mach-O\u9b54\u6570,FAT:0xcafebabeARMv7:0xfeedface,ARM64:0xfeedfacf\" >Mach-O\u9b54\u6570,FAT:0xcafebabeARMv7:0xfeedface,ARM64:0xfeedfacf <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A3\" data-x=\"0\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"cputype\u3001cpusubtype\" data-order=\"cputype\u3001cpusubtype\" >cputype\u3001cpusubtype <\/td><td data-cell-id=\"B3\" data-x=\"1\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"CPU\u67b6\u6784\u53ca\u5b50\u7248\u672c (\u5982CPU_TYPE_X86_64)\" data-order=\"CPU\u67b6\u6784\u53ca\u5b50\u7248\u672c (\u5982CPU_TYPE_X86_64)\" >CPU\u67b6\u6784\u53ca\u5b50\u7248\u672c (\u5982CPU_TYPE_X86_64) <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A4\" data-x=\"0\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"filetype\" data-order=\"filetype\" >filetype <\/td><td data-cell-id=\"B4\" data-x=\"1\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"MH_EXECUTABLE(\u53ef\u6267\u884c\u4e8c\u8fdb\u5236\u6587\u4ef6)\u3001MH_OBJECT(\u76ee\u6807\u6587\u4ef6)\u3001MH_DYLIB(\u52a8\u6001\u5e93)\uff0c\u670911\u79cd\u5b8f\u5b9a\u4e49\u7c7b\u578b\uff0c\u5177\u4f53\u53ef\u67e5\u770b\u6e90\u7801\" data-order=\"MH_EXECUTABLE(\u53ef\u6267\u884c\u4e8c\u8fdb\u5236\u6587\u4ef6)\u3001MH_OBJECT(\u76ee\u6807\u6587\u4ef6)\u3001MH_DYLIB(\u52a8\u6001\u5e93)\uff0c\u670911\u79cd\u5b8f\u5b9a\u4e49\u7c7b\u578b\uff0c\u5177\u4f53\u53ef\u67e5\u770b\u6e90\u7801\" >MH_EXECUTABLE(\u53ef\u6267\u884c\u4e8c\u8fdb\u5236\u6587\u4ef6)\u3001MH_OBJECT(\u76ee\u6807\u6587\u4ef6)\u3001MH_DYLIB(\u52a8\u6001\u5e93)\uff0c\u670911\u79cd\u5b8f\u5b9a\u4e49\u7c7b\u578b\uff0c\u5177\u4f53\u53ef\u67e5\u770b\u6e90\u7801 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A5\" data-x=\"0\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"ncmds\" data-order=\"ncmds\" >ncmds <\/td><td data-cell-id=\"B5\" data-x=\"1\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u52a0\u8f7d\u547d\u4ee4\u7684\u6570\u91cf\" data-order=\"\u52a0\u8f7d\u547d\u4ee4\u7684\u6570\u91cf\" >\u52a0\u8f7d\u547d\u4ee4\u7684\u6570\u91cf <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A6\" data-x=\"0\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"sizeofcmds\" data-order=\"sizeofcmds\" >sizeofcmds <\/td><td data-cell-id=\"B6\" data-x=\"1\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u6240\u6709\u52a0\u8f7d\u547d\u4ee4\u7684\u5927\u5c0f\" data-order=\"\u6240\u6709\u52a0\u8f7d\u547d\u4ee4\u7684\u5927\u5c0f\" >\u6240\u6709\u52a0\u8f7d\u547d\u4ee4\u7684\u5927\u5c0f <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A7\" data-x=\"0\" data-y=\"7\" data-db-index=\"7\" class=\"\" data-cell-type=\"text\" data-original-value=\"flags\" data-order=\"flags\" >flags <\/td><td data-cell-id=\"B7\" data-x=\"1\" data-y=\"7\" data-db-index=\"7\" class=\"\" data-cell-type=\"text\" data-original-value=\"dyld\u52a0\u8f7d\u9700\u8981\u7684\u4e00\u4e9b\u6807\u8bb0\uff0c\u670928\u79cd\u5b8f\u5b9a\u4e49\uff0c\u5177\u4f53\u770b\u6e90\u7801\uff0c\u5176\u4e2dMH_PIE\u8868\u793a\u542f\u7528ASLR\u5730\u5740\u7a7a\u95f4\u5e03\u5c40\u968f\u673a\u5316\" data-order=\"dyld\u52a0\u8f7d\u9700\u8981\u7684\u4e00\u4e9b\u6807\u8bb0\uff0c\u670928\u79cd\u5b8f\u5b9a\u4e49\uff0c\u5177\u4f53\u770b\u6e90\u7801\uff0c\u5176\u4e2dMH_PIE\u8868\u793a\u542f\u7528ASLR\u5730\u5740\u7a7a\u95f4\u5e03\u5c40\u968f\u673a\u5316\" >dyld\u52a0\u8f7d\u9700\u8981\u7684\u4e00\u4e9b\u6807\u8bb0\uff0c\u670928\u79cd\u5b8f\u5b9a\u4e49\uff0c\u5177\u4f53\u770b\u6e90\u7801\uff0c\u5176\u4e2dMH_PIE\u8868\u793a\u542f\u7528ASLR\u5730\u5740\u7a7a\u95f4\u5e03\u5c40\u968f\u673a\u5316 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A8\" data-x=\"0\" data-y=\"8\" data-db-index=\"8\" class=\"\" data-cell-type=\"text\" data-original-value=\"flags\" data-order=\"flags\" >flags <\/td><td data-cell-id=\"B8\" data-x=\"1\" data-y=\"8\" data-db-index=\"8\" class=\"\" data-cell-type=\"text\" data-original-value=\"64\u4f4d\u4fdd\u7559\u5b57\u6bb5\" data-order=\"64\u4f4d\u4fdd\u7559\u5b57\u6bb5\" >64\u4f4d\u4fdd\u7559\u5b57\u6bb5 <\/td><\/tr><\/tbody><\/table><!-- \/#supsystic-table-13.supsystic-table --><\/div><!-- \/.supsystic-tables-wrap --><!-- Tables Generator by Supsystic --><!-- Version:1.11.0 --><!-- http:\/\/supsystic.com\/ --><a title=\"Table Plugin\" style=\"display:none;\" href=\"https:\/\/supsystic.com\/plugins\/wordpress-data-table-plugin\/?utm_medium=love_link\" target=\"_blank\">Table Plugin<\/a>\n<p>\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528MachOview\u67e5\u770b\u5177\u4f53\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8be6\u7ec6\u60c5\u51b5<\/p>\n<blockquote><p>MachOview<\/p>\n<p>\u5b98\u65b9GITHUB\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/gdbinit\/MachOView\">https:\/\/github.com\/gdbinit\/MachOView<\/a><\/p>\n<p>\u56fd\u4eba\u505a\u7684\u6539\u7248\uff08\u652f\u6301\u4e2d\u6587\u663e\u793a\uff09\uff1a<a href=\"https:\/\/github.com\/zhongjianfeipqy\/MachOView\">https:\/\/github.com\/zhongjianfeipqy\/MachOView<\/a><\/p>\n<p>\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u7684\u7f16\u8bd1\u540e\u7248\u672c\uff1a<a href=\"http:\/\/sourceforge.net\/projects\/machoview\/\">http:\/\/sourceforge.net\/projects\/machoview\/<\/a><\/p><\/blockquote>\n<\/div>\n<div>\u6253\u5f00\u540e\u5728\u4e0a\u65b9\u72b6\u6001\u680f\u6253\u5f00\u6587\u4ef6<\/div>\n<div><img decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/2021-03-102.15.03.png\" alt=\"\" width=\"985\" height=\"661\" class=\"alignnone size-full wp-image-950\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/2021-03-102.15.03.png 985w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/2021-03-102.15.03-300x201.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/2021-03-102.15.03-768x515.png 768w\" sizes=\"(max-width: 985px) 100vw, 985px\" \/><\/div>\n<h4>2.<strong>Load Commands<\/strong><\/h4>\n<div>\n<pre class=\"line-numbers language-php\"><code class=\" language-php\"><span class=\"token comment\">\/*\r\n * The load commands directly follow the mach_header.  The total size of all\r\n * of the commands is given by the sizeofcmds field in the mach_header.  All\r\n * load commands must have as their first two fields cmd and cmdsize.  The cmd\r\n * field is filled in with a constant for that command type.  Each command type\r\n * has a structure specifically for it.  The cmdsize field is the size in bytes\r\n * of the particular load command structure plus anything that follows it that\r\n * is a part of the load command (i.e. section structures, strings, etc.).  To\r\n * advance to the next load command the cmdsize can be added to the offset or\r\n * pointer of the current load command.  The cmdsize for 32-bit architectures\r\n * MUST be a multiple of 4 bytes and for 64-bit architectures MUST be a multiple\r\n * of 8 bytes (these are forever the maximum alignment of any load commands).\r\n * The padded bytes must be zero.  All tables in the object file must also\r\n * follow these rules so the file can be memory mapped.  Otherwise the pointers\r\n * to these tables will not work well or at all on some machines.  With all\r\n * padding zeroed like objects will compare byte for byte.\r\n *\/<\/span>\r\nstruct load_command <span class=\"token punctuation\">{<\/span>\r\n    uint32_t cmd<span class=\"token punctuation\">;<\/span>       <span class=\"token comment\">\/* type of load command *\/<\/span>\r\n    uint32_t cmdsize<span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/* total size of command in bytes *\/<\/span>\r\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<p>\u5927\u81f4\u7ffb\u8bd1\uff1a<\/p>\n<div>\n<div>load_commands\u7d27\u8ddfmach_header,load_commands\u5c55\u5f00\u540e\u7684\u6570\u76ee\u4e0e\u603b\u5927\u5c0f\u5df2\u7ecf\u5728mach_header\u6709\u8bb0\u5f55\uff0c\u6240\u6709\u52a0\u8f7d\u6307\u4ee4\u90fd\u662f\u4ee5cmd\u3001cmdsize\u8d77\u5934\u3002cmd\u5b57\u6bb5\u7528\u8be5\u547d\u4ee4\u7c7b\u578b\u7684\u5e38\u91cf\u8868\u793a\uff0c\u6709\u4e13\u95e8\u7684\u7ed3\u6784\uff1bcmdsize\u5b57\u6bb5\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u4e3b\u8981\u8bb0\u5f55\u504f\u79fb\u91cf\u8ba9load command\u6307\u9488\u8fdb\u5165\u4e0b\u4e00\u6761\u52a0\u8f7d\u6307\u4ee4\uff0c32\u4f4d\u67b6\u6784\u7684cmdsize\u662f\u4ee54\u5b57\u8282\u7684\u500d\u6570\uff0c64\u4f4d\u7ed3\u6784\u7684cmdsize\u662f\u4ee58\u5b57\u8282\u7684\u500d\u6570\uff08\u52a0\u8f7d\u6307\u4ee4\u6c38\u8fdc\u662f\u8fd9\u6837\u5bf9\u9f50\uff09\uff0c\u4e0d\u591f\u75280\u586b\u5145\u5b57\u8282\u3002\u6587\u4ef6\u4e2d\u7684\u6240\u6709\u8868\u90fd\u9075\u5faa\u8fd9\u6837\u7684\u89c4\u5219\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u88ab\u6620\u5c04\u5230\u5185\u5b58\uff0c\u5426\u5219\u7684\u8bdd\u6307\u9488\u4e0d\u80fd\u5f88\u597d\u5730\u6307\u5411\u3002<\/div>\n<p>\u6253\u5f00\u533a\u57df\u663e\u793a\u5185\u5bb9\u4e3a\uff1a<\/p>\n<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.18.47.png\" alt=\"\" width=\"987\" height=\"659\" class=\"alignnone size-full wp-image-951\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.18.47.png 987w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.18.47-300x200.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.18.47-768x513.png 768w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.18.47-360x240.png 360w\" sizes=\"(max-width: 987px) 100vw, 987px\" \/><\/div>\n<\/div>\n<div>Load Commands\u4e0b\u9762\u5e38\u89c1\u7684\u52a0\u8f7d\u6307\u4ee4<\/div>\n<div><div class=\"supsystic-table-loader spinner\"style=\"background-color:#000000\"><\/div><div id=\"supsystic-table-14_78590\" class=\"supsystic-tables-wrap \" style=\" width:100%; visibility: hidden; \" data-table-width-fixed=\"100%\" data-table-width-mobile=\"100%\" ><table id=\"supsystic-table-14\" class=\"supsystic-table border lightboxImg cell-border\" data-id=\"14\" data-view-id=\"14_78590\" data-title=\"Mach-o Load commands\" data-currency-format=\"$1,000.00\" data-percent-format=\"10.00%\" data-date-format=\"DD.MM.YYYY\" data-time-format=\"HH:mm\" data-features=\"[&quot;after_table_loaded_script&quot;]\" data-search-value=\"\" data-lightbox-img=\"\" data-head-rows-count=\"1\" data-pagination-length=\"50,100,All\" data-auto-index=\"off\" data-searching-settings=\"{&quot;columnSearchPosition&quot;:&quot;bottom&quot;,&quot;minChars&quot;:&quot;0&quot;}\" data-lang=\"default\" data-override=\"{&quot;emptyTable&quot;:&quot;&quot;,&quot;info&quot;:&quot;&quot;,&quot;infoEmpty&quot;:&quot;&quot;,&quot;infoFiltered&quot;:&quot;&quot;,&quot;lengthMenu&quot;:&quot;&quot;,&quot;search&quot;:&quot;&quot;,&quot;zeroRecords&quot;:&quot;&quot;,&quot;exportLabel&quot;:&quot;&quot;,&quot;file&quot;:&quot;default&quot;}\" data-merged=\"[]\" data-responsive-mode=\"0\" data-from-history=\"0\" ><thead><tr><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><\/tr><\/thead><tbody><tr style=\"height:px\" ><td data-cell-id=\"A1\" data-x=\"0\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u6307\u4ee4\" data-order=\"\u6307\u4ee4\" style=\"min-width:26.0241%; \" >\u6307\u4ee4 <\/td><td data-cell-id=\"B1\" data-x=\"1\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u542b\u4e49\" data-order=\"\u542b\u4e49\" style=\"min-width:73.9759%; \" >\u542b\u4e49 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A2\" data-x=\"0\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_SEGMENT_64\" data-order=\"LC_SEGMENT_64\" >LC_SEGMENT_64 <\/td><td data-cell-id=\"B2\" data-x=\"1\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u5b9a\u4e49\u4e00\u6bb5(Segment)\uff0c\u52a0\u8f7d\u540e\u88ab\u6620\u5c04\u5230\u8fdb\u7a0b\u7684\u5185\u5b58\u7a7a\u95f4\u4e2d\uff0c\u5305\u62ec\u91cc\u9762\u7684\u8282\uff08Section\uff09\" data-order=\"\u5b9a\u4e49\u4e00\u6bb5(Segment)\uff0c\u52a0\u8f7d\u540e\u88ab\u6620\u5c04\u5230\u8fdb\u7a0b\u7684\u5185\u5b58\u7a7a\u95f4\u4e2d\uff0c\u5305\u62ec\u91cc\u9762\u7684\u8282\uff08Section\uff09\" >\u5b9a\u4e49\u4e00\u6bb5(Segment)\uff0c\u52a0\u8f7d\u540e\u88ab\u6620\u5c04\u5230\u8fdb\u7a0b\u7684\u5185\u5b58\u7a7a\u95f4\u4e2d\uff0c\u5305\u62ec\u91cc\u9762\u7684\u8282\uff08Section\uff09 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A3\" data-x=\"0\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_SEGMENT_64\" data-order=\"LC_SEGMENT_64\" >LC_SEGMENT_64 <\/td><td data-cell-id=\"B3\" data-x=\"1\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u8bb0\u5f55\u6709\u5173\u94fe\u63a5\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u5728__LINKEDIT\u4e2d\u52a8\u6001\u94fe\u63a5\u7684\u76f8\u5173\u4fe1\u606f\u7684\u5177\u4f53\u504f\u79fb\u4e0e\u5927\u5c0f\uff08\u91cd\u5b9a\u4f4d\uff0c\u7ed1\u5b9a\uff0c\u5f31\u7ed1\u5b9a\uff0c\u61d2\u52a0\u8f7d\u7ed1\u5b9a\uff0c\u5bfc\u51fa\u4fe1\u606f\u7b49\uff09\uff0cONLY\u8868\u793a\u8be5\u6307\u4ee4\u662f\u7a0b\u5e8f\u8fd0\u884c\u6240\u5fc5\u9700\u7684\u3002\" data-order=\"\u8bb0\u5f55\u6709\u5173\u94fe\u63a5\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u5728__LINKEDIT\u4e2d\u52a8\u6001\u94fe\u63a5\u7684\u76f8\u5173\u4fe1\u606f\u7684\u5177\u4f53\u504f\u79fb\u4e0e\u5927\u5c0f\uff08\u91cd\u5b9a\u4f4d\uff0c\u7ed1\u5b9a\uff0c\u5f31\u7ed1\u5b9a\uff0c\u61d2\u52a0\u8f7d\u7ed1\u5b9a\uff0c\u5bfc\u51fa\u4fe1\u606f\u7b49\uff09\uff0cONLY\u8868\u793a\u8be5\u6307\u4ee4\u662f\u7a0b\u5e8f\u8fd0\u884c\u6240\u5fc5\u9700\u7684\u3002\" >\u8bb0\u5f55\u6709\u5173\u94fe\u63a5\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u5728__LINKEDIT\u4e2d\u52a8\u6001\u94fe\u63a5\u7684\u76f8\u5173\u4fe1\u606f\u7684\u5177\u4f53\u504f\u79fb\u4e0e\u5927\u5c0f\uff08\u91cd\u5b9a\u4f4d\uff0c\u7ed1\u5b9a\uff0c\u5f31\u7ed1\u5b9a\uff0c\u61d2\u52a0\u8f7d\u7ed1\u5b9a\uff0c\u5bfc\u51fa\u4fe1\u606f\u7b49\uff09\uff0cONLY\u8868\u793a\u8be5\u6307\u4ee4\u662f\u7a0b\u5e8f\u8fd0\u884c\u6240\u5fc5\u9700\u7684\u3002 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A4\" data-x=\"0\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_SYMTAB\" data-order=\"LC_SYMTAB\" >LC_SYMTAB <\/td><td data-cell-id=\"B4\" data-x=\"1\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u5b9a\u4e49\u7b26\u53f7\u8868\u548c\u5b57\u7b26\u4e32\u8868\uff0c\u94fe\u63a5\u6587\u4ef6\u65f6\u88abdyld\u4f7f\u7528\uff0c\u4e5f\u7528\u4e8e\u8c03\u8bd5\u5668\u6620\u5c04\u7b26\u53f7\u5230\u6e90\u6587\u4ef6\u3002\u7b26\u53f7\u8868\u5b9a\u4e49\u7684\u672c\u5730\u7b26\u53f7\u4ec5\u7528\u4e8e\u8c03\u8bd5\uff0c\u800c\u5df2\u5b9a\u4e49\u548c\u672a\u5b9a\u4e49\u7684external\u7b26\u53f7\u88ab\u94fe\u63a5\u5668\u4f7f\u7528\" data-order=\"\u5b9a\u4e49\u7b26\u53f7\u8868\u548c\u5b57\u7b26\u4e32\u8868\uff0c\u94fe\u63a5\u6587\u4ef6\u65f6\u88abdyld\u4f7f\u7528\uff0c\u4e5f\u7528\u4e8e\u8c03\u8bd5\u5668\u6620\u5c04\u7b26\u53f7\u5230\u6e90\u6587\u4ef6\u3002\u7b26\u53f7\u8868\u5b9a\u4e49\u7684\u672c\u5730\u7b26\u53f7\u4ec5\u7528\u4e8e\u8c03\u8bd5\uff0c\u800c\u5df2\u5b9a\u4e49\u548c\u672a\u5b9a\u4e49\u7684external\u7b26\u53f7\u88ab\u94fe\u63a5\u5668\u4f7f\u7528\" >\u5b9a\u4e49\u7b26\u53f7\u8868\u548c\u5b57\u7b26\u4e32\u8868\uff0c\u94fe\u63a5\u6587\u4ef6\u65f6\u88abdyld\u4f7f\u7528\uff0c\u4e5f\u7528\u4e8e\u8c03\u8bd5\u5668\u6620\u5c04\u7b26\u53f7\u5230\u6e90\u6587\u4ef6\u3002\u7b26\u53f7\u8868\u5b9a\u4e49\u7684\u672c\u5730\u7b26\u53f7\u4ec5\u7528\u4e8e\u8c03\u8bd5\uff0c\u800c\u5df2\u5b9a\u4e49\u548c\u672a\u5b9a\u4e49\u7684external\u7b26\u53f7\u88ab\u94fe\u63a5\u5668\u4f7f\u7528 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A5\" data-x=\"0\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_DYSYMTAB\" data-order=\"LC_DYSYMTAB\" >LC_DYSYMTAB <\/td><td data-cell-id=\"B5\" data-x=\"1\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u5c06\u7b26\u53f7\u8868\u4e2d\u7ed9\u51fa\u7b26\u53f7\u7684\u989d\u5916\u4fe1\u606f\u63d0\u4f9b\u7ed9dyld\" data-order=\"\u5c06\u7b26\u53f7\u8868\u4e2d\u7ed9\u51fa\u7b26\u53f7\u7684\u989d\u5916\u4fe1\u606f\u63d0\u4f9b\u7ed9dyld\" >\u5c06\u7b26\u53f7\u8868\u4e2d\u7ed9\u51fa\u7b26\u53f7\u7684\u989d\u5916\u4fe1\u606f\u63d0\u4f9b\u7ed9dyld <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A6\" data-x=\"0\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_LOAD_DYLINKER\" data-order=\"LC_LOAD_DYLINKER\" >LC_LOAD_DYLINKER <\/td><td data-cell-id=\"B6\" data-x=\"1\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"dyld\u7684\u9ed8\u8ba4\u8def\u5f84\" data-order=\"dyld\u7684\u9ed8\u8ba4\u8def\u5f84\" >dyld\u7684\u9ed8\u8ba4\u8def\u5f84 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A7\" data-x=\"0\" data-y=\"7\" data-db-index=\"7\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_UUID\" data-order=\"LC_UUID\" >LC_UUID <\/td><td data-cell-id=\"B7\" data-x=\"1\" data-y=\"7\" data-db-index=\"7\" class=\"\" data-cell-type=\"text\" data-original-value=\"Mach-O\u552f\u4e00ID\" data-order=\"Mach-O\u552f\u4e00ID\" >Mach-O\u552f\u4e00ID <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A8\" data-x=\"0\" data-y=\"8\" data-db-index=\"8\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_VERSION_MIN_IPHONES\" data-order=\"LC_VERSION_MIN_IPHONES\" >LC_VERSION_MIN_IPHONES <\/td><td data-cell-id=\"B8\" data-x=\"1\" data-y=\"8\" data-db-index=\"8\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u7cfb\u7edf\u8981\u6c42\u7684\uff08Iphone\u3010IOS\u3011\uff09\u6700\u4f4e\u7248\u672c\" data-order=\"\u7cfb\u7edf\u8981\u6c42\u7684\uff08Iphone\u3010IOS\u3011\uff09\u6700\u4f4e\u7248\u672c\" >\u7cfb\u7edf\u8981\u6c42\u7684\uff08Iphone\u3010IOS\u3011\uff09\u6700\u4f4e\u7248\u672c <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A9\" data-x=\"0\" data-y=\"9\" data-db-index=\"9\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_SOURCE_VERSION\" data-order=\"LC_SOURCE_VERSION\" >LC_SOURCE_VERSION <\/td><td data-cell-id=\"B9\" data-x=\"1\" data-y=\"9\" data-db-index=\"9\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u6784\u5efa\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684\u6e90\u4ee3\u7801\u7248\u672c\u53f7\" data-order=\"\u6784\u5efa\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684\u6e90\u4ee3\u7801\u7248\u672c\u53f7\" >\u6784\u5efa\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684\u6e90\u4ee3\u7801\u7248\u672c\u53f7 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A10\" data-x=\"0\" data-y=\"10\" data-db-index=\"10\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_MAIN\" data-order=\"LC_MAIN\" >LC_MAIN <\/td><td data-cell-id=\"B10\" data-x=\"1\" data-y=\"10\" data-db-index=\"10\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u5e94\u7528\u7a0b\u5e8f\u5165\u53e3\uff0cdyld\u7684_main\u51fd\u6570\u83b7\u53d6\u8be5\u5730\u5740\uff0c\u7136\u540e\u8df3\u8f6c\" data-order=\"\u5e94\u7528\u7a0b\u5e8f\u5165\u53e3\uff0cdyld\u7684_main\u51fd\u6570\u83b7\u53d6\u8be5\u5730\u5740\uff0c\u7136\u540e\u8df3\u8f6c\" >\u5e94\u7528\u7a0b\u5e8f\u5165\u53e3\uff0cdyld\u7684_main\u51fd\u6570\u83b7\u53d6\u8be5\u5730\u5740\uff0c\u7136\u540e\u8df3\u8f6c <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A11\" data-x=\"0\" data-y=\"11\" data-db-index=\"11\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_ENCRYPTION_INFO_64\" data-order=\"LC_ENCRYPTION_INFO_64\" >LC_ENCRYPTION_INFO_64 <\/td><td data-cell-id=\"B11\" data-x=\"1\" data-y=\"11\" data-db-index=\"11\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u6587\u4ef6\u52a0\u5bc6\u6807\u5fd7\uff0c\u52a0\u5bc6\u5185\u5bb9\u504f\u79fb\u548c\u5927\u5c0f\" data-order=\"\u6587\u4ef6\u52a0\u5bc6\u6807\u5fd7\uff0c\u52a0\u5bc6\u5185\u5bb9\u504f\u79fb\u548c\u5927\u5c0f\" >\u6587\u4ef6\u52a0\u5bc6\u6807\u5fd7\uff0c\u52a0\u5bc6\u5185\u5bb9\u504f\u79fb\u548c\u5927\u5c0f <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A12\" data-x=\"0\" data-y=\"12\" data-db-index=\"12\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_LOAD_DYLIB\" data-order=\"LC_LOAD_DYLIB\" >LC_LOAD_DYLIB <\/td><td data-cell-id=\"B12\" data-x=\"1\" data-y=\"12\" data-db-index=\"12\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u4f9d\u8d56\u7684\u52a8\u6001\u5e93\uff0c\u542b\u52a8\u6001\u5e93\u540d\uff0c\u7248\u672c\u53f7\u7b49\u4fe1\u606f\" data-order=\"\u4f9d\u8d56\u7684\u52a8\u6001\u5e93\uff0c\u542b\u52a8\u6001\u5e93\u540d\uff0c\u7248\u672c\u53f7\u7b49\u4fe1\u606f\" >\u4f9d\u8d56\u7684\u52a8\u6001\u5e93\uff0c\u542b\u52a8\u6001\u5e93\u540d\uff0c\u7248\u672c\u53f7\u7b49\u4fe1\u606f <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A13\" data-x=\"0\" data-y=\"13\" data-db-index=\"13\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_RPATH\" data-order=\"LC_RPATH\" >LC_RPATH <\/td><td data-cell-id=\"B13\" data-x=\"1\" data-y=\"13\" data-db-index=\"13\" class=\"\" data-cell-type=\"text\" data-original-value=\"@rpath\u641c\u7d22\u8def\u5f84\" data-order=\"@rpath\u641c\u7d22\u8def\u5f84\" >@rpath\u641c\u7d22\u8def\u5f84 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A14\" data-x=\"0\" data-y=\"14\" data-db-index=\"14\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_DATA_IN_CODE\" data-order=\"LC_DATA_IN_CODE\" >LC_DATA_IN_CODE <\/td><td data-cell-id=\"B14\" data-x=\"1\" data-y=\"14\" data-db-index=\"14\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u5b9a\u4e49\u5728\u4ee3\u7801\u6bb5\u5185\u7684\u975e\u6307\u4ee4\u7684\u8868\" data-order=\"\u5b9a\u4e49\u5728\u4ee3\u7801\u6bb5\u5185\u7684\u975e\u6307\u4ee4\u7684\u8868\" >\u5b9a\u4e49\u5728\u4ee3\u7801\u6bb5\u5185\u7684\u975e\u6307\u4ee4\u7684\u8868 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A15\" data-x=\"0\" data-y=\"15\" data-db-index=\"15\" class=\"\" data-cell-type=\"text\" data-original-value=\"LC_CODE_SIGNATURE\" data-order=\"LC_CODE_SIGNATURE\" >LC_CODE_SIGNATURE <\/td><td data-cell-id=\"B15\" data-x=\"1\" data-y=\"15\" data-db-index=\"15\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u4ee3\u7801\u7b7e\u540d\u4fe1\u606f\" data-order=\"\u4ee3\u7801\u7b7e\u540d\u4fe1\u606f\" >\u4ee3\u7801\u7b7e\u540d\u4fe1\u606f <\/td><\/tr><\/tbody><\/table><!-- \/#supsystic-table-14.supsystic-table --><\/div><!-- \/.supsystic-tables-wrap --><!-- Tables Generator by Supsystic --><!-- Version:1.11.0 --><!-- http:\/\/supsystic.com\/ --><a title=\"Table Plugin\" style=\"display:none;\" href=\"https:\/\/supsystic.com\/plugins\/wordpress-data-table-plugin\/?utm_medium=love_link\" target=\"_blank\">Table Plugin<\/a><\/div>\n<div>Load Commands\u4e2d\u00a0LC_SEGMENT_64\u6bb5\u7684\u6570\u636e\u7ed3\u6784\u5982\u4e0b\uff08\u5b83\u5c06\u4f1a\u548c\u6570\u636e\u533a\u4e2d\u4e00\u4e00\u5bf9\u5e94\uff09<\/div>\n<div>\n<pre class=\"line-numbers language-cpp\"><code class=\" language-cpp\"><span class=\"token comment\">\/*\r\n * The 64-bit segment load command indicates that a part of this file is to be\r\n * mapped into a 64-bit task's address space.  If the 64-bit segment has\r\n * sections then section_64 structures directly follow the 64-bit segment\r\n * command and their size is reflected in cmdsize.\r\n *\/<\/span>\r\n<span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">segment_command_64<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token comment\">\/* for 64-bit architectures *\/<\/span>\r\n    <span class=\"token keyword\">uint32_t<\/span>    cmd<span class=\"token punctuation\">;<\/span>        <span class=\"token comment\">\/* Load Command\u7c7b\u578b *\/<\/span>\r\n    <span class=\"token keyword\">uint32_t<\/span>    cmdsize<span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/*\u5305\u542b\u7684\u6240\u6709section\u7ed3\u6784\u4f53\u7684\u5927\u5c0f *\/<\/span>\r\n    <span class=\"token keyword\">char<\/span>        segname<span class=\"token punctuation\">[<\/span><span class=\"token number\">16<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/* \u6bb5\u540d *\/<\/span>\r\n    <span class=\"token keyword\">uint64_t<\/span>    vmaddr<span class=\"token punctuation\">;<\/span>     <span class=\"token comment\">\/* \u6620\u5c04\u5230\u865a\u62df\u5730\u5740\u7684\u504f\u79fb *\/<\/span>\r\n    <span class=\"token keyword\">uint64_t<\/span>    vmsize<span class=\"token punctuation\">;<\/span>     <span class=\"token comment\">\/* \u6620\u5c04\u5230\u865a\u62df\u5730\u5740\u7684\u5927\u5c0f *\/<\/span>\r\n    <span class=\"token keyword\">uint64_t<\/span>    fileoff<span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/* \u76f8\u5bf9\u4e8e\u5f53\u524d\u67b6\u6784\u6587\u4ef6\u7684\u504f\u79fb *\/<\/span>\r\n    <span class=\"token keyword\">uint64_t<\/span>    filesize<span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/* \u6587\u4ef6\u5927\u5c0f *\/<\/span>\r\n    vm_prot_t   maxprot<span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/* \u6bb5\u9875\u9762\u7684\u6700\u9ad8\u5185\u5b58\u4fdd\u62a4 *\/<\/span>\r\n    vm_prot_t   initprot<span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/* \u521d\u59cb\u5185\u5b58\u4fdd\u62a4 *\/<\/span>\r\n    <span class=\"token keyword\">uint32_t<\/span>    nsects<span class=\"token punctuation\">;<\/span>     <span class=\"token comment\">\/* \u5305\u542b\u7684section\u6570 *\/<\/span>\r\n    <span class=\"token keyword\">uint32_t<\/span>    flags<span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/* \u6bb5\u9875\u9762\u6807\u5fd7 *\/<\/span>\r\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<p>\u4e3b\u8981\u6709\u4e00\u4e0b\u56db\u79cd<\/p>\n<div class=\"supsystic-table-loader spinner\"style=\"background-color:#000000\"><\/div><div id=\"supsystic-table-15_87728\" class=\"supsystic-tables-wrap \" style=\" width:100%; visibility: hidden; \" data-table-width-fixed=\"100%\" data-table-width-mobile=\"100%\" ><table id=\"supsystic-table-15\" class=\"supsystic-table border lightboxImg cell-border\" data-id=\"15\" data-view-id=\"15_87728\" data-title=\"Mach-O LC_SEGMENT_64\" data-currency-format=\"$1,000.00\" data-percent-format=\"10.00%\" data-date-format=\"DD.MM.YYYY\" data-time-format=\"HH:mm\" data-features=\"[&quot;after_table_loaded_script&quot;]\" data-search-value=\"\" data-lightbox-img=\"\" data-head-rows-count=\"1\" data-pagination-length=\"50,100,All\" data-auto-index=\"off\" data-searching-settings=\"{&quot;columnSearchPosition&quot;:&quot;bottom&quot;,&quot;minChars&quot;:&quot;0&quot;}\" data-lang=\"default\" data-override=\"{&quot;emptyTable&quot;:&quot;&quot;,&quot;info&quot;:&quot;&quot;,&quot;infoEmpty&quot;:&quot;&quot;,&quot;infoFiltered&quot;:&quot;&quot;,&quot;lengthMenu&quot;:&quot;&quot;,&quot;search&quot;:&quot;&quot;,&quot;zeroRecords&quot;:&quot;&quot;,&quot;exportLabel&quot;:&quot;&quot;,&quot;file&quot;:&quot;default&quot;}\" data-merged=\"[]\" data-responsive-mode=\"0\" data-from-history=\"0\" ><thead><tr><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><\/tr><\/thead><tbody><tr style=\"height:px\" ><td data-cell-id=\"A1\" data-x=\"0\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u6bb5\" data-order=\"\u6bb5\" style=\"min-width:18.652%; \" >\u6bb5 <\/td><td data-cell-id=\"B1\" data-x=\"1\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u542b\u4e49\" data-order=\"\u542b\u4e49\" style=\"min-width:81.348%; \" >\u542b\u4e49 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A2\" data-x=\"0\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"_PAGEZERO\" data-order=\"_PAGEZERO\" >_PAGEZERO <\/td><td data-cell-id=\"B2\" data-x=\"1\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u7a7a\u6307\u9488\u9677\u9631\u6bb5\uff0c\u6620\u5c04\u5230\u865a\u62df\u5185\u5b58\u7a7a\u95f4\u7b2c\u4e00\u9875\uff0c\u6355\u6349\u5bf9NULL\u6307\u9488\u7684\u5f15\u7528\" data-order=\"\u7a7a\u6307\u9488\u9677\u9631\u6bb5\uff0c\u6620\u5c04\u5230\u865a\u62df\u5185\u5b58\u7a7a\u95f4\u7b2c\u4e00\u9875\uff0c\u6355\u6349\u5bf9NULL\u6307\u9488\u7684\u5f15\u7528\" >\u7a7a\u6307\u9488\u9677\u9631\u6bb5\uff0c\u6620\u5c04\u5230\u865a\u62df\u5185\u5b58\u7a7a\u95f4\u7b2c\u4e00\u9875\uff0c\u6355\u6349\u5bf9NULL\u6307\u9488\u7684\u5f15\u7528 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A3\" data-x=\"0\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"_TEXT\" data-order=\"_TEXT\" >_TEXT <\/td><td data-cell-id=\"B3\" data-x=\"1\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u4ee3\u7801\u6bb5\u3001\u53ea\u8bfb\u6570\u636e\u6bb5\" data-order=\"\u4ee3\u7801\u6bb5\u3001\u53ea\u8bfb\u6570\u636e\u6bb5\" >\u4ee3\u7801\u6bb5\u3001\u53ea\u8bfb\u6570\u636e\u6bb5 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A4\" data-x=\"0\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"_DATA\" data-order=\"_DATA\" >_DATA <\/td><td data-cell-id=\"B4\" data-x=\"1\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u8bfb\u53d6\u548c\u5199\u5165\u6570\u636e\u6bb5\" data-order=\"\u8bfb\u53d6\u548c\u5199\u5165\u6570\u636e\u6bb5\" >\u8bfb\u53d6\u548c\u5199\u5165\u6570\u636e\u6bb5 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A5\" data-x=\"0\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"_LINKEDIT\" data-order=\"_LINKEDIT\" >_LINKEDIT <\/td><td data-cell-id=\"B5\" data-x=\"1\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"dyld\u9700\u8981\u4f7f\u7528\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u91cd\u5b9a\u4f4d\u3001\u7ed1\u5b9a\u3001\u61d2\u52a0\u8f7d\u4fe1\u606f\u7b49\" data-order=\"dyld\u9700\u8981\u4f7f\u7528\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u91cd\u5b9a\u4f4d\u3001\u7ed1\u5b9a\u3001\u61d2\u52a0\u8f7d\u4fe1\u606f\u7b49\" >dyld\u9700\u8981\u4f7f\u7528\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u91cd\u5b9a\u4f4d\u3001\u7ed1\u5b9a\u3001\u61d2\u52a0\u8f7d\u4fe1\u606f\u7b49 <\/td><\/tr><\/tbody><\/table><!-- \/#supsystic-table-15.supsystic-table --><\/div><!-- \/.supsystic-tables-wrap --><!-- Tables Generator by Supsystic --><!-- Version:1.11.0 --><!-- http:\/\/supsystic.com\/ --><a title=\"Table Plugin\" style=\"display:none;\" href=\"https:\/\/supsystic.com\/plugins\/wordpress-data-table-plugin\/?utm_medium=love_link\" target=\"_blank\">Table Plugin<\/a>\n<p>\u6ce8\uff1adylib\u8fc7\u540e\u8865\u4e00\u7bc7\u6587\u7ae0\u505a\u7b14\u8bb0<\/p>\n<h4>3.\u6570\u636e\u533a\uff08DATA\uff09<\/h4>\n<div><span>\u9664\u4e86Header\u548cCommands\u5916\u6240\u6709\u7684\u539f\u59cb\u6570\u636e\u3002Commands\u662f\u5bf9\u6570\u636e\u7684\u6c47\u603b\u63d0\u793a\uff0c\u800c\u6570\u636e\u533a\u5219\u662f\u771f\u5b9e\u7684\u6570\u636e\u3002Commands\u4e0e\u6570\u636e\u533a\u7684\u5173\u7cfb\u5c31\u50cfsize\u548cchar*\u7684\u5173\u7cfb\u3002<\/span><\/div>\n<div>Load Commands\u533a\u57df\u540e\u7684\u5404\u4e2aSection64\u5c31\u662f\u6570\u636e\u533a\uff0c\u5982\u679c\u5c55\u5f00Load Commands\u4e0b\u7684LC_SEGMENT_64\u53ef\u4ee5\u770b\u5230\u591a\u4e2aSection64\uff0c\u5404\u4e2aSection\u7684\u5177\u4f53\u4fe1\u606f\u53ef\u4ee5\u5728Load Commands\u540e\u9762\u7684\u90e8\u5206\u67e5\u5230<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.29.14.png\" alt=\"\" width=\"312\" height=\"270\" class=\"alignnone size-full wp-image-955\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.29.14.png 312w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53482.29.14-300x260.png 300w\" sizes=\"(max-width: 312px) 100vw, 312px\" \/><\/div>\n<div>Section\u7684\u6570\u636e\u7ed3\u6784\u4e3a\uff1a<\/div>\n<div>\n<pre class=\"pure-highlightjs\"><code class=\"\" cpp=\"\">struct section_64 { \/* for 64-bit architectures *\/\r\n    char        sectname[16];   \/* \u8282\u540d *\/\r\n    char        segname[16];    \/* \u6240\u5c5e\u6bb5\u540d *\/\r\n    uint64_t    addr;       \/* \u6620\u5c04\u5230\u865a\u62df\u5730\u5740\u7684\u504f\u79fb *\/\r\n    uint64_t    size;       \/* \u8282\u7684\u5927\u5c0f *\/\r\n    uint32_t    offset;     \/* \u8282\u5728\u5f53\u524d\u67b6\u6784\u6587\u4ef6\u4e2d\u7684\u504f\u79fb *\/\r\n    uint32_t    align;      \/* \u8282\u7684\u5b57\u8282\u5bf9\u9f50\u5927\u5c0fn\uff0c2^n *\/\r\n    uint32_t    reloff;     \/* \u91cd\u5b9a\u4f4d\u5165\u53e3\u7684\u6587\u4ef6\u504f\u79fb *\/\r\n    uint32_t    nreloc;     \/* \u91cd\u5b9a\u4f4d\u5165\u53e3\u4e2a\u6570 *\/\r\n    uint32_t    flags;      \/* \u8282\u7684\u7c7b\u578b\u548c\u5c5e\u6027*\/\r\n    uint32_t    reserved1;  \/* reserved (for offset or index) *\/\r\n    uint32_t    reserved2;  \/* reserved (for count or sizeof) *\/\r\n    uint32_t    reserved3;  \/* \u4fdd\u7559\u4f4d\uff0c\u4ee5\u4e0a\u4e24\u540c\u7406 *\/\r\n};\r\n<\/code><\/pre>\n<p>\u5927\u81f4\u6709\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<p>__TEXT\uff1a<\/p>\n<div class=\"supsystic-table-loader spinner\"style=\"background-color:#000000\"><\/div><div id=\"supsystic-table-16_73326\" class=\"supsystic-tables-wrap \" style=\" width:100%; visibility: hidden; \" data-table-width-fixed=\"100%\" data-table-width-mobile=\"100%\" ><table id=\"supsystic-table-16\" class=\"supsystic-table border lightboxImg cell-border\" data-id=\"16\" data-view-id=\"16_73326\" data-title=\"Mach-O section __TEXT\" data-currency-format=\"$1,000.00\" data-percent-format=\"10.00%\" data-date-format=\"DD.MM.YYYY\" data-time-format=\"HH:mm\" data-features=\"[&quot;after_table_loaded_script&quot;]\" data-search-value=\"\" data-lightbox-img=\"\" data-head-rows-count=\"1\" data-pagination-length=\"50,100,All\" data-auto-index=\"off\" data-searching-settings=\"{&quot;columnSearchPosition&quot;:&quot;bottom&quot;,&quot;minChars&quot;:&quot;0&quot;}\" data-lang=\"default\" data-override=\"{&quot;emptyTable&quot;:&quot;&quot;,&quot;info&quot;:&quot;&quot;,&quot;infoEmpty&quot;:&quot;&quot;,&quot;infoFiltered&quot;:&quot;&quot;,&quot;lengthMenu&quot;:&quot;&quot;,&quot;search&quot;:&quot;&quot;,&quot;zeroRecords&quot;:&quot;&quot;,&quot;exportLabel&quot;:&quot;&quot;,&quot;file&quot;:&quot;default&quot;}\" data-merged=\"[]\" data-responsive-mode=\"0\" data-from-history=\"0\" ><thead><tr><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><\/tr><\/thead><tbody><tr style=\"height:px\" ><td data-cell-id=\"A1\" data-x=\"0\" data-y=\"1\" data-db-index=\"1\" class=\"\" data-cell-type=\"text\" data-original-value=\"__TEXT\u8282\" data-order=\"__TEXT\u8282\" style=\"min-width:20.1005%; \" >__TEXT\u8282 <\/td><td data-cell-id=\"B1\" data-x=\"1\" data-y=\"1\" data-db-index=\"1\" class=\"htCenter\" data-cell-type=\"text\" data-original-value=\"\u542b\u4e49\" data-order=\"\u542b\u4e49\" style=\"min-width:79.8995%; \" >\u542b\u4e49 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A2\" data-x=\"0\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"__text\" data-order=\"__text\" >__text <\/td><td data-cell-id=\"B2\" data-x=\"1\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u7a0b\u5e8f\u53ef\u6267\u884c\u4ee3\u7801\u533a\u57df\" data-order=\"\u7a0b\u5e8f\u53ef\u6267\u884c\u4ee3\u7801\u533a\u57df\" >\u7a0b\u5e8f\u53ef\u6267\u884c\u4ee3\u7801\u533a\u57df <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A3\" data-x=\"0\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"__stubs\" data-order=\"__stubs\" >__stubs <\/td><td data-cell-id=\"B3\" data-x=\"1\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u95f4\u63a5\u7b26\u53f7\u5b58\u6839\uff0c\u7528\u4e8e\u8df3\u8f6c\u5230\u61d2\u52a0\u8f7d\u6307\u9488\u8868\" data-order=\"\u95f4\u63a5\u7b26\u53f7\u5b58\u6839\uff0c\u7528\u4e8e\u8df3\u8f6c\u5230\u61d2\u52a0\u8f7d\u6307\u9488\u8868\" >\u95f4\u63a5\u7b26\u53f7\u5b58\u6839\uff0c\u7528\u4e8e\u8df3\u8f6c\u5230\u61d2\u52a0\u8f7d\u6307\u9488\u8868 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A4\" data-x=\"0\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"__stubs_helper\" data-order=\"__stubs_helper\" >__stubs_helper <\/td><td data-cell-id=\"B4\" data-x=\"1\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u61d2\u52a0\u8f7d\u7b26\u53f7\u52a0\u8f7d\u8f85\u52a9\u51fd\u6570\" data-order=\"\u61d2\u52a0\u8f7d\u7b26\u53f7\u52a0\u8f7d\u8f85\u52a9\u51fd\u6570\" >\u61d2\u52a0\u8f7d\u7b26\u53f7\u52a0\u8f7d\u8f85\u52a9\u51fd\u6570 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A5\" data-x=\"0\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"__cstring\" data-order=\"__cstring\" >__cstring <\/td><td data-cell-id=\"B5\" data-x=\"1\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u53ea\u8bfb\u7684C\u5b57\u7b26\u4e32\uff0c\u5305\u542bOC\u7684\u90e8\u5206\u5b57\u7b26\u4e32\u548c\u5c5e\u6027\u540d\" data-order=\"\u53ea\u8bfb\u7684C\u5b57\u7b26\u4e32\uff0c\u5305\u542bOC\u7684\u90e8\u5206\u5b57\u7b26\u4e32\u548c\u5c5e\u6027\u540d\" >\u53ea\u8bfb\u7684C\u5b57\u7b26\u4e32\uff0c\u5305\u542bOC\u7684\u90e8\u5206\u5b57\u7b26\u4e32\u548c\u5c5e\u6027\u540d <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A6\" data-x=\"0\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"......\" data-order=\"......\" >...... <\/td><td data-cell-id=\"B6\" data-x=\"1\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u2026\u2026\" data-order=\"\u2026\u2026\" >\u2026\u2026 <\/td><\/tr><\/tbody><\/table><!-- \/#supsystic-table-16.supsystic-table --><\/div><!-- \/.supsystic-tables-wrap --><!-- Tables Generator by Supsystic --><!-- Version:1.11.0 --><!-- http:\/\/supsystic.com\/ --><a title=\"Table Plugin\" style=\"display:none;\" href=\"https:\/\/supsystic.com\/plugins\/wordpress-data-table-plugin\/?utm_medium=love_link\" target=\"_blank\">Table Plugin<\/a>\n<p>__DATA:<\/p>\n<div class=\"supsystic-table-loader spinner\"style=\"background-color:#000000\"><\/div><div id=\"supsystic-table-17_33504\" class=\"supsystic-tables-wrap \" style=\" width:100%; visibility: hidden; \" data-table-width-fixed=\"100%\" data-table-width-mobile=\"100%\" ><table id=\"supsystic-table-17\" class=\"supsystic-table border lightboxImg cell-border\" data-id=\"17\" data-view-id=\"17_33504\" data-title=\"Mach-O section __DATA\" data-currency-format=\"$1,000.00\" data-percent-format=\"10.00%\" data-date-format=\"DD.MM.YYYY\" data-time-format=\"HH:mm\" data-features=\"[&quot;after_table_loaded_script&quot;]\" data-search-value=\"\" data-lightbox-img=\"\" data-head-rows-count=\"1\" data-pagination-length=\"50,100,All\" data-auto-index=\"off\" data-searching-settings=\"{&quot;columnSearchPosition&quot;:&quot;bottom&quot;,&quot;minChars&quot;:&quot;0&quot;}\" data-lang=\"default\" data-override=\"{&quot;emptyTable&quot;:&quot;&quot;,&quot;info&quot;:&quot;&quot;,&quot;infoEmpty&quot;:&quot;&quot;,&quot;infoFiltered&quot;:&quot;&quot;,&quot;lengthMenu&quot;:&quot;&quot;,&quot;search&quot;:&quot;&quot;,&quot;zeroRecords&quot;:&quot;&quot;,&quot;exportLabel&quot;:&quot;&quot;,&quot;file&quot;:&quot;default&quot;}\" data-merged=\"[]\" data-responsive-mode=\"0\" data-from-history=\"0\" ><thead><tr><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><th class=\"\" style=\"width:; padding: 0 !important;\"><\/th><\/tr><\/thead><tbody><tr style=\"height:px\" ><td data-cell-id=\"A1\" data-x=\"0\" data-y=\"1\" data-db-index=\"1\" class=\"\" data-cell-type=\"text\" data-original-value=\"__DATA\" data-order=\"__DATA\" style=\"min-width:29.572%; \" >__DATA <\/td><td data-cell-id=\"B1\" data-x=\"1\" data-y=\"1\" data-db-index=\"1\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u542b\u4e49\" data-order=\"\u542b\u4e49\" style=\"min-width:70.428%; \" >\u542b\u4e49 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A2\" data-x=\"0\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"__nl_symbol_ptr\" data-order=\"__nl_symbol_ptr\" >__nl_symbol_ptr <\/td><td data-cell-id=\"B2\" data-x=\"1\" data-y=\"2\" data-db-index=\"2\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u975e\u61d2\u52a0\u8f7d\u6307\u9488\u8868\uff0cdyld\u52a0\u8f7d\u65f6\u7acb\u5373\u7ed1\u5b9a\u503c\" data-order=\"\u975e\u61d2\u52a0\u8f7d\u6307\u9488\u8868\uff0cdyld\u52a0\u8f7d\u65f6\u7acb\u5373\u7ed1\u5b9a\u503c\" >\u975e\u61d2\u52a0\u8f7d\u6307\u9488\u8868\uff0cdyld\u52a0\u8f7d\u65f6\u7acb\u5373\u7ed1\u5b9a\u503c <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A3\" data-x=\"0\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"__la_symbol_ptr\" data-order=\"__la_symbol_ptr\" >__la_symbol_ptr <\/td><td data-cell-id=\"B3\" data-x=\"1\" data-y=\"3\" data-db-index=\"3\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u61d2\u52a0\u8f7d\u6307\u9488\u8868\uff0c\u7b2c1\u6b21\u8c03\u7528\u624d\u7ed1\u5b9a\u503c\" data-order=\"\u61d2\u52a0\u8f7d\u6307\u9488\u8868\uff0c\u7b2c1\u6b21\u8c03\u7528\u624d\u7ed1\u5b9a\u503c\" >\u61d2\u52a0\u8f7d\u6307\u9488\u8868\uff0c\u7b2c1\u6b21\u8c03\u7528\u624d\u7ed1\u5b9a\u503c <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A4\" data-x=\"0\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"__got\" data-order=\"__got\" >__got <\/td><td data-cell-id=\"B4\" data-x=\"1\" data-y=\"4\" data-db-index=\"4\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u975e\u61d2\u52a0\u8f7d\u5168\u5c40\u6307\u9488\u8868\" data-order=\"\u975e\u61d2\u52a0\u8f7d\u5168\u5c40\u6307\u9488\u8868\" >\u975e\u61d2\u52a0\u8f7d\u5168\u5c40\u6307\u9488\u8868 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A5\" data-x=\"0\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"__mod_init_func\" data-order=\"__mod_init_func\" >__mod_init_func <\/td><td data-cell-id=\"B5\" data-x=\"1\" data-y=\"5\" data-db-index=\"5\" class=\"\" data-cell-type=\"text\" data-original-value=\"constructor\u51fd\u6570\" data-order=\"constructor\u51fd\u6570\" >constructor\u51fd\u6570 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A6\" data-x=\"0\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"__cfstring\" data-order=\"__cfstring\" >__cfstring <\/td><td data-cell-id=\"B6\" data-x=\"1\" data-y=\"6\" data-db-index=\"6\" class=\"\" data-cell-type=\"text\" data-original-value=\"OC\u5b57\u7b26\u4e32\" data-order=\"OC\u5b57\u7b26\u4e32\" >OC\u5b57\u7b26\u4e32 <\/td><\/tr><tr style=\"height:px\" ><td data-cell-id=\"A7\" data-x=\"0\" data-y=\"7\" data-db-index=\"7\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u2026\u2026\" data-order=\"\u2026\u2026\" >\u2026\u2026 <\/td><td data-cell-id=\"B7\" data-x=\"1\" data-y=\"7\" data-db-index=\"7\" class=\"\" data-cell-type=\"text\" data-original-value=\"\u2026\u2026\" data-order=\"\u2026\u2026\" >\u2026\u2026 <\/td><\/tr><\/tbody><\/table><!-- \/#supsystic-table-17.supsystic-table --><\/div><!-- \/.supsystic-tables-wrap --><!-- Tables Generator by Supsystic --><!-- Version:1.11.0 --><!-- http:\/\/supsystic.com\/ --><a title=\"Table Plugin\" style=\"display:none;\" href=\"https:\/\/supsystic.com\/plugins\/wordpress-data-table-plugin\/?utm_medium=love_link\" target=\"_blank\">Table Plugin<\/a>\n<p>\u6311\u9009\u4e00\u4e9b\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd<\/p>\n<h6>1). (__TEXT,__text)<\/h6>\n<p><span>\u8fd9\u91cc\u5b58\u653e\u7684\u662f\u6c47\u7f16\u540e\u7684\u4ee3\u7801\uff0c\u5f53\u6211\u4eec\u8fdb\u884c\u7f16\u8bd1\u65f6\uff0c\u6bcf\u4e2a.m\u6587\u4ef6\u4f1a\u7ecf\u8fc7\u9884\u7f16\u8bd1-&gt;\u7f16\u8bd1-&gt;\u6c47\u7f16\u5f62\u6210.o\u6587\u4ef6\uff0c\u79f0\u4e4b\u4e3a\u76ee\u6807\u6587\u4ef6\u3002\u6c47\u7f16\u540e\uff0c\u6240\u6709\u7684\u4ee3\u7801\u4f1a\u5f62\u6210\u6c47\u7f16\u6307\u4ee4\u5b58\u50a8\u5728.o\u6587\u4ef6\u7684(__TEXT,__text)\u533a\uff08\uff08__DATA,__data\uff09\u4e5f\u662f\u7c7b\u4f3c\uff09\u3002\u94fe\u63a5\u540e\uff0c\u6240\u6709\u7684.o\u6587\u4ef6\u4f1a\u5408\u5e76\u6210\u4e00\u4e2a\u6587\u4ef6\uff0c\u6240\u6709.o\u6587\u4ef6\u7684(__TEXT,__text)\u6570\u636e\u90fd\u4f1a\u6309\u94fe\u63a5\u987a\u5e8f\u5b58\u653e\u5230\u5e94\u7528\u6587\u4ef6\u7684(__TEXT,__text)\u4e2d\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.02.24.png\" alt=\"\" width=\"1145\" height=\"666\" class=\"alignnone size-full wp-image-957\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.02.24.png 1145w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.02.24-300x174.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.02.24-1024x596.png 1024w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.02.24-768x447.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/p>\n<h6>2). (__DATA,__data)<\/h6>\n<p><span>\u5b58\u50a8\u6570\u636e\u7684section\uff0cstatic\u5728\u8fdb\u884c\u975e\u96f6\u8d4b\u503c\u540e\u4f1a\u5b58\u50a8\u5728\u8fd9\u91cc\uff0c\u5982\u679cstatic \u53d8\u91cf\u6ca1\u6709\u8d4b\u503c\u6216\u8005\u8d4b\u503c\u4e3a0\uff0c\u90a3\u4e48\u5b83\u4f1a\u5b58\u50a8\u5728(__DATA,__bss)\u4e2d\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.09.49.png\" alt=\"\" width=\"1148\" height=\"667\" class=\"alignnone size-full wp-image-959\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.09.49.png 1148w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.09.49-300x174.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.09.49-1024x595.png 1024w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.09.49-768x446.png 768w\" sizes=\"(max-width: 1148px) 100vw, 1148px\" \/><\/p>\n<h6>3). Symbol Table<\/h6>\n<p><span><strong>\u7b26\u53f7\u8868<\/strong>\uff0c\u8fd9\u4e2a\u662f\u91cd\u70b9\u4e2d\u7684\u91cd\u70b9\uff0c\u7b26\u53f7\u8868\u662f\u5c06<strong>\u5730\u5740<\/strong>\u548c<strong>\u7b26\u53f7<\/strong>\u8054\u7cfb\u8d77\u6765\u7684\u6865\u6881\u3002\u7b26\u53f7\u8868\u5e76\u4e0d\u80fd\u76f4\u63a5\u5b58\u50a8\u7b26\u53f7\uff0c\u800c\u662f<strong>\u5b58\u50a8\u7b26\u53f7\u4f4d<\/strong>\u4e8e\u5b57\u7b26\u4e32\u8868\u7684\u4f4d\u7f6e\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.10.56.png\" alt=\"\" width=\"1149\" height=\"666\" class=\"alignnone size-full wp-image-960\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.10.56.png 1149w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.10.56-300x174.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.10.56-1024x594.png 1024w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.10.56-768x445.png 768w\" sizes=\"(max-width: 1149px) 100vw, 1149px\" \/><\/p>\n<h6>4). String Table<\/h6>\n<p><span>\u5b57\u7b26\u4e32\u8868\u6240\u6709\u7684\u53d8\u91cf\u540d\u3001\u51fd\u6570\u540d\u7b49\uff0c\u90fd\u4ee5\u5b57\u7b26\u4e32\u7684\u5f62\u5f0f\u5b58\u50a8\u5728\u5b57\u7b26\u4e32\u8868\u4e2d\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.10.png\" alt=\"\" width=\"1151\" height=\"670\" class=\"alignnone size-full wp-image-961\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.10.png 1151w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.10-300x175.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.10-1024x596.png 1024w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.10-768x447.png 768w\" sizes=\"(max-width: 1151px) 100vw, 1151px\" \/><\/p>\n<h6>5). Indirect Symbols (\u52a8\u6001\u7b26\u53f7\u8868)<\/h6>\n<p><span>\u52a8\u6001\u7b26\u53f7\u8868\u5b58\u50a8\u7684\u662f\u52a8\u6001\u5e93\u51fd\u6570\u4f4d\u4e8e\u7b26\u53f7\u8868\u7684\u504f\u79fb\u4fe1\u606f\u3002(__DATA,__la_symbol_ptr) section \u53ef\u4ee5\u4ece\u52a8\u6001\u7b26\u53f7\u8868\u4e2d\u83b7\u53d6\u5230\u8be5section\u4f4d\u4e8e\u7b26\u53f7\u8868\u7684\u7d22\u5f15\u6570\u7ec4\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.23.png\" alt=\"\" width=\"1150\" height=\"664\" class=\"alignnone size-full wp-image-962\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.23.png 1150w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.23-300x173.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.23-1024x591.png 1024w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-10-\u4e0b\u53483.11.23-768x443.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/p>\n<\/div>\n<\/div>\n<div class=\"image-package\">\n<div class=\"image-caption\">\u52a8\u6001\u7b26\u53f7\u8868<\/div>\n<\/div>\n<p>\u52a8\u6001\u7b26\u53f7\u8868\u5e76\u4e0d\u5b58\u50a8\u7b26\u53f7\u4fe1\u606f\uff0c\u800c\u662f\u5b58\u50a8\u5176\u4f4d\u4e8e\u7b26\u53f7\u8868\u7684\u504f\u79fb\u4fe1\u606f\u3002Fishhook\u6e90\u7801\u770b\u8d77\u6765\u6bd4\u8f83\u590d\u6742\u4e3b\u8981\u662f\u56e0\u4e3ahook\u7684\u662f\u52a8\u6001\u94fe\u63a5\u7684\u51fd\u6570\uff0c\u7d22\u5f15\u548c\u94fe\u63a5\u5173\u7cfb\u6bd4\u8f83\u7ed5\u3002\u4f46\u662f\u6211\u4eec\u81ea\u5df1\u7f16\u5199\u7684C\u51fd\u6570\u4e0d\u662f\u52a8\u6001\u94fe\u63a5\u7684\uff0c\u800c\u662f\u5728\u7f16\u8bd1\u94fe\u63a5\u540e\u4ee3\u7801\u6307\u4ee4\u5c31\u5b58\u50a8\u5728\u6587\u4ef6\u5185\u90e8\u7684\u51fd\u6570\uff0c\u56e0\u6b64\u4e0d\u4f1a\u7528\u5230\u52a8\u6001\u7b26\u53f7\u8868\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u4ee5static \u51fd\u6570\u4e3a\u4f8b\uff0c\u770b\u770b\u5982\u4f55\u52a8\u6001\u7684\u67e5\u627e\u81ea\u5df1\u7f16\u5199\u7684\u51fd\u6570\u5730\u5740\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u53c2\u8003\uff1a<\/p>\n<p>https:\/\/www.jianshu.com\/p\/5a44f69466cc<\/p>\n<p>https:\/\/www.cnblogs.com\/dengzhuli\/p\/9952202.html<\/p>\n<p>https:\/\/baike.baidu.com\/item\/Mach-O\/9608283?fr=aladdin<\/p>\n<p>https:\/\/www.jianshu.com\/p\/c51a138c932f?open_source=weibo_search\u3010\u4f18\u5316MachOView\u3011<\/p>\n<div>\n<div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5de5\u4f5c\u7684\u9700\u8981\u53ef\u80fd\u8981\u6253\u5305.bundle\u6216\u8005\u76f8\u5173\u7684MacOS\u7684\u52a8\u6001\u5e93\uff0c\u6545\u505a\u4e00\u4e2a\u8fd9\u6837\u5b50\u7684\u7b14\u8bb0\u3002 \u4e00.mach [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[87],"class_list":["post-947","post","type-post","status-publish","format-standard","hentry","category-macos","tag-macos"],"views":1395,"_links":{"self":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/comments?post=947"}],"version-history":[{"count":8,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/947\/revisions"}],"predecessor-version":[{"id":965,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/947\/revisions\/965"}],"wp:attachment":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/media?parent=947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/categories?post=947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/tags?post=947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}