{"id":13628,"date":"2023-08-28T15:46:39","date_gmt":"2023-08-28T07:46:39","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/?p=13628"},"modified":"2023-08-28T15:46:39","modified_gmt":"2023-08-28T07:46:39","slug":"il%e6%96%87%e4%bb%b6%e8%bd%ac%e6%8d%a2exe%e6%96%87%e4%bb%b6%e6%9c%89%e9%82%a3%e4%ba%9b%e6%96%b9%e6%b3%95%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/exekaifa\/13628.html","title":{"rendered":"il\u6587\u4ef6\u8f6c\u6362exe\u6587\u4ef6\u6709\u90a3\u4e9b\u65b9\u6cd5\u4ecb\u7ecd"},"content":{"rendered":"<p>il\u6587\u4ef6\u662fC#\u6216VB.NET\u7f16\u5199\u7684\u7a0b\u5e8f\u7684\u4e2d\u95f4\u8bed\u8a00\u4ee3\u7801\u3002il\u4ee3\u7801\u662f\u4e00\u79cd\u4f4e\u7ea7\u7684\u3001\u4e0e\u5e73\u53f0\u65e0\u5173\u7684\u8bed\u8a00\uff0c\u5b83\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u786c\u4ef6\u67b6\u6784\u4e0a\u8fd0\u884c\uff0c\u4f46\u4e0d\u80fd\u76f4\u63a5\u6267\u884c\u3002\u4e3a\u4e86\u6267\u884cil\u4ee3\u7801\uff0c\u9700\u8981\u5c06\u5176\u8f6c\u6362\u4e3a\u673a\u5668\u4ee3\u7801\u3002\u8f6c\u6362il\u4ee3\u7801\u7684\u5de5\u5177\u5c31\u662fJIT\u7f16\u8bd1\u5668\uff0c\u5b83\u4f1a\u5c06il\u4ee3\u7801\u7f16\u8bd1\u4e3a\u673a\u5668\u7801\u5e76\u6267\u884c\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u6709\u65f6\u5019\u6211\u4eec\u9700\u8981\u5c06il\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff08exe\u6587\u4ef6\uff09\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u5176\u4ed6\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u7a0b\u5e8f\uff0c\u800c\u4e0d\u9700\u8981\u5b89\u88c5.NET Framework\u6216JIT\u7f16\u8bd1\u5668\u3002\u4e0b\u9762\u5c06\u4ecb\u7ecd\u4e24\u79cd\u5c06il\u4ee3\u7801\u8f6c\u6362\u4e3aexe\u6587\u4ef6\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u65b9\u6cd5\u4e00\uff1a\u4f7f\u7528ildasm.exe\u548cilasm.exe\u5de5\u5177<\/p>\n<p>1. \u4f7f\u7528ildasm.exe\u5de5\u5177\u5c06il\u6587\u4ef6\u8f6c\u6362\u4e3a\u6587\u672c\u6587\u4ef6\u3002ildasm.exe\u662f\u4e00\u4e2a\u53cd\u6c47\u7f16\u5de5\u5177\uff0c\u53ef\u4ee5\u5c06il\u6587\u4ef6\u8f6c\u6362\u4e3a\u6587\u672c\u6587\u4ef6\u3002\u6253\u5f00\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>ildasm filename.il \/out:filename.txt<\/p>\n<p>&#8220;`<\/p>\n<p>2. \u4fee\u6539\u6587\u672c\u6587\u4ef6\u3002\u6253\u5f00filename.txt\u6587\u4ef6\uff0c\u5c06\u6587\u4ef6\u5f00\u5934\u7684&#8221;.corflags&#8221;\u884c\u5220\u9664\uff0c\u5e76\u5c06\u6587\u4ef6\u672b\u5c3e\u7684&#8221;.end&#8221;\u884c\u5220\u9664\u3002\u4fdd\u5b58\u6587\u4ef6\u3002<\/p>\n<p>3. \u4f7f\u7528ilasm.exe\u5de5\u5177\u5c06\u6587\u672c\u6587\u4ef6\u8f6c\u6362\u4e3aexe\u6587\u4ef6\u3002ilasm.exe\u662f\u4e00\u4e2a\u6c47\u7f16\u5de5\u5177\uff0c\u53ef\u4ee5\u5c06\u6587\u672c\u6587\u4ef6\u8f6c\u6362\u4e3aexe\u6587\u4ef6\u3002\u6253\u5f00\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>ilasm filename.txt \/out:filename.exe<\/p>\n<p>&#8220;`<\/p>\n<p>4. \u8fd0\u884cexe\u6587\u4ef6\u3002<a href=\"https:\/\/exe.yimenapp.com\/tool-62.html\">windows\u6253\u5305<\/a>\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u8fd0\u884cfilename.exe\u6587\u4ef6\u4e86\u3002<\/p>\n<p>\u65b9\u6cd5\u4e8c\uff1a\u4f7f\u7528Mono AOT\u7f16\u8bd1\u5668<\/p>\n<p>Mono\u662f\u4e00\u4e2a\u5f00\u6e90\u7684.NET Framework\u5b9e\u73b0\uff0c\u5b83\u5305\u542b\u4e00\u4e2aAOT\u7f16\u8bd1\u5668\uff0c\u53ef\u4ee5\u5c06il\u4ee3\u7801\u7f16\u8bd1\u4e3a\u672c\u5730\u673a\u5668\u4ee3\u7801\u3002\u4f7f\u7528Mono AOT\u7f16\u8bd1\u5668\u5c06il\u6587\u4ef6\u8f6c\u6362\u4e3aexe\u6587\u4ef6\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<p>1. \u5b89\u88c5Mono\u3002\u5728Linux\u6216Mac OS X\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5Mono\u3002\u5728Windows\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u4eceMono\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n<p>2. \u4f7f\u7528Mono AOT\u7f16\u8bd1\u5668\u5c06il\u6587\u4ef6\u7f16\u8bd1\u4e3a\u672c\u5730\u673a\u5668\u4ee3\u7801\u3002\u6253\u5f00\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>mono &#8211;aot filename.exe<\/p>\n<p>&#8220;`<\/p>\n<p>3. \u8fd0\u884cexe\u6587\u4ef6\u3002\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u8fd0\u884c<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/22\/10\/33486592819.jpg\" \/><\/figure>\n<\/p>\n<p>filename.exe\u6587\u4ef6\u4e86\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5c06il\u6587\u4ef6\u8f6c\u6362\u4e3a<a href=\"https:\/\/exe.yimenapp.com\/tool-3651.html\">\u7f51\u7ad9\u8f6cexe\u8f6f\u4ef6<\/a>exe\u6587\u4ef6\u7684\u4e24\u79cd\u65b9\u6cd5\u3002\u4f7f\u7528\u7b2c\u4e00\u79cd\u65b9\u6cd5\u9700\u8981\u4f7f\u7528\u4e24\u4e2a\u5de5\u5177\uff0c\u6bd4\u8f83\u7e41\u7410\uff0c\u4f46\u5b83\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002\u4f7f\u7528\u7b2c\u4e8c\u79cd\u65b9\u6cd5\u53ea\u9700\u8981\u4e00\u4e2a\u5de5\u5177\uff0c\u4f46\u5b83\u53ea\u80fd\u5728\u652f\u6301Mono\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u9700\u8981\u6ce8\u610f\u4ee3\u7801\u7684\u5b89\u5168\u6027\uff0c\u4ee5\u514d\u88ab\u6076\u610f\u5229\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>il\u6587\u4ef6\u662fC#\u6216VB.NET\u7f16\u5199\u7684\u7a0b\u5e8f\u7684\u4e2d\u95f4\u8bed\u8a00\u4ee3\u7801\u3002il\u4ee3\u7801\u662f\u4e00\u79cd\u4f4e\u7ea7\u7684\u3001\u4e0e\u5e73\u53f0\u65e0\u5173\u7684\u8bed\u8a00\uff0c\u5b83\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u786c\u4ef6\u67b6\u6784\u4e0a\u8fd0\u884c\uff0c\u4f46\u4e0d\u80fd\u76f4\u63a5\u6267\u884c\u3002\u4e3a\u4e86\u6267\u884cil\u4ee3\u7801\uff0c\u9700\u8981\u5c06\u5176\u8f6c\u6362\u4e3a\u673a\u5668\u4ee3\u7801\u3002\u8f6c\u6362i<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[980,19862,223,802,3522],"class_list":{"0":"post-13628","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-exekaifa","7":"tag-980","8":"tag-exe","10":"tag-802","11":"tag-3522"},"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/13628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=13628"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/13628\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=13628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=13628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=13628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}