{"id":3139,"date":"2017-01-11T17:02:08","date_gmt":"2017-01-11T09:02:08","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=3139"},"modified":"2017-01-11T17:02:08","modified_gmt":"2017-01-11T09:02:08","slug":"%e7%a8%8b%e5%ba%8f%e5%91%98%e7%9a%84%e8%87%aa%e6%88%91%e4%bf%ae%e5%85%bb","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/3139.html","title":{"rendered":"\u7a0b\u5e8f\u5458\u7684\u81ea\u6211\u4fee\u517b"},"content":{"rendered":"<p>=Start=<\/p>\n<h4>\u7f18\u7531\uff1a<\/h4>\n<p>\u4eca\u5929\u521a\u597d\u770b\u5230\u4e86\u4e00\u4e0bLD_PRELOAD\u53d8\u91cf\uff0c\u60f3\u8d77\u4e86\u4e4b\u524d\u7684\u4e00\u4e2a\u4e8b\u6545\uff0c\u89c9\u5f97\u6709\u5fc5\u8981\u597d\u597d\u8865\u4e00\u8865\u7cfb\u7edf\u5e95\u5c42\u7684\u77e5\u8bc6\uff0c\u505a\u6f14\u5458\u4f1a\u6709\u300a\u6f14\u5458\u7684\u81ea\u6211\u4fee\u517b\u300b\u8fdb\u884c\u6307\u5bfc\uff0c\u505a\u7a0b\u5e8f\u5458\u5f53\u7136\u4e5f\u5c11\u4e0d\u4e86\u300a\u7a0b\u5e8f\u5458\u7684\u81ea\u6211\u4fee\u517b\u2014\u2014\u94fe\u63a5\u3001\u88c5\u8f7d\u4e0e\u5e93\u300b\u7684\u5b66\u4e60\u3002<\/p>\n<h4>\u6b63\u6587\uff1a<\/h4>\n<h5>\u53c2\u8003\u89e3\u7b54\uff1a<\/h5>\n<p>\u300a\u7a0b\u5e8f\u5458\u7684\u81ea\u6211\u4fee\u517b\uff1a\u94fe\u63a5\u3001\u88c5\u8f7d\u4e0e\u5e93\u300b\u4e3b\u8981\u4ecb\u7ecd\u7cfb\u7edf\u8f6f\u4ef6\u7684\u8fd0\u884c\u673a\u5236\u548c\u539f\u7406\uff0c\u6d89\u53ca\u5728Windows\u548cLinux\u4e24\u4e2a\u7cfb\u7edf\u5e73\u53f0\u4e0a\uff0c\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u5728\u7f16\u8bd1\u3001\u94fe\u63a5\u548c\u8fd0\u884c\u65f6\u523b\u6240\u53d1\u751f\u7684\u5404\u79cd\u4e8b\u9879\uff0c\u5305\u62ec\uff1a\u4ee3\u7801\u6307\u4ee4\u662f\u5982\u4f55\u4fdd\u5b58\u7684\uff0c\u5e93\u6587\u4ef6\u5982\u4f55\u4e0e\u5e94\u7528\u7a0b\u5e8f\u4ee3\u7801\u9759\u6001\u94fe\u63a5\uff0c\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u88ab\u88c5\u8f7d\u5230\u5185\u5b58\u4e2d\u5e76\u5f00\u59cb\u8fd0\u884c\uff0c\u52a8\u6001\u94fe\u63a5\u5982\u4f55\u5b9e\u73b0\uff0cC\/C++\u8fd0\u884c\u5e93\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u7cfb\u7edf\u670d\u52a1\u662f\u5982\u4f55\u88ab\u8c03\u7528\u7684\u3002\u6bcf\u4e2a\u6280\u672f\u4e13\u9898\u90fd\u914d\u5907\u4e86\u5927\u91cf\u56fe\u3001\u8868\u548c\u4ee3\u7801\u5b9e\u4f8b\uff0c\u529b\u6c42\u5c06\u590d\u6742\u7684\u673a\u5236\u4ee5\u7b80\u6d01\u7684\u5f62\u5f0f\u8868\u8fbe\u51fa\u6765\u3002\u672c\u4e66\u6700\u540e\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5c0f\u5de7\u4e14\u8de8\u5e73\u53f0\u7684C\/C++\u8fd0\u884c\u5e93MiniCRT\uff0c\u7efc\u5408\u5c55\u793a\u4e86\u4e0e\u8fd0\u884c\u5e93\u76f8\u5173\u7684\u5404\u79cd\u6280\u672f\u3002<\/p>\n<p>\u300a\u7a0b\u5e8f\u5458\u7684\u81ea\u6211\u4fee\u517b\uff1a\u94fe\u63a5\u3001\u88c5\u8f7d\u4e0e\u5e93\u300b\u5bf9\u88c5\u8f7d\u3001\u94fe\u63a5\u548c\u5e93\u8fdb\u884c\u4e86\u6df1\u5165\u6d45\u51fa\u7684\u5256\u6790\uff0c\u5e76\u4e14\u8f85\u4ee5\u5927\u91cf\u7684\u4f8b\u5b50\u548c\u56fe\u8868\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u8ba1\u7b97\u673a\u8f6f\u4ef6\u4e13\u4e1a\u548c\u5176\u4ed6\u76f8\u5173\u4e13\u4e1a\u5927\u5b66\u672c\u79d1\u9ad8\u5e74\u7ea7\u5b66\u751f\u6df1\u5165\u5b66\u4e60\u7cfb\u7edf\u8f6f\u4ef6\u7684\u53c2\u8003\u4e66\u3002\u540c\u65f6\uff0c\u8fd8\u53ef\u4f5c\u4e3a\u5404\u884c\u4e1a\u4ece\u4e8b\u8f6f\u4ef6\u5f00\u53d1\u7684\u5de5\u7a0b\u5e08\u3001\u7814\u7a76\u4eba\u5458\u4ee5\u53ca\u5176\u4ed6\u5bf9\u7cfb\u7edf\u8f6f\u4ef6\u5b9e\u73b0\u673a\u5236\u548c\u6280\u672f\u611f\u5174\u8da3\u8005\u7684\u81ea\u5b66\u6559\u6750\u3002<\/p>\n<p>==<\/p>\n<p>\u7b2c1\u90e8\u5206 \u7b80\u4ecb<br \/>\n\u7b2c1\u7ae0 \u6e29\u6545\u800c\u77e5\u65b0<br \/>\n1.1 \u4ece hello world \u8bf4\u8d77<br \/>\n1.2 \u4e07\u53d8\u4e0d\u79bb\u5176\u5b97<br \/>\n1.3 \u7ad9\u5f97\u9ad8\uff0c\u671b\u5f97\u8fdc<br \/>\n1.4 \u64cd\u4f5c\u7cfb\u7edf\u505a\u4ec0\u4e48<br \/>\n1.5 \u5185\u5b58\u4e0d\u591f\u600e\u4e48\u529e<br \/>\n1.6 \u4f17\u4eba\u62fe\u67f4\u706b\u7130\u9ad8<br \/>\n1.7 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c2\u90e8\u5206 \u9759\u6001\u94fe\u63a5<br \/>\n\u7b2c2\u7ae0 \u7f16\u8bd1\u548c\u94fe\u63a5<br \/>\n2.1 \u88ab\u9690\u85cf\u4e86\u7684\u8fc7\u7a0b<br \/>\n2.2 \u7f16\u8bd1\u5668\u505a\u4e86\u4ec0\u4e48<br \/>\n2.3 \u94fe\u63a5\u5668\u5e74\u9f84\u6bd4\u7f16\u8bd1\u5668\u957f<br \/>\n2.4 \u6a21\u5757\u62fc\u88c5\u2014\u2014\u9759\u6001\u94fe\u63a5<br \/>\n2.5 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c3\u7ae0 \u76ee\u6807\u6587\u4ef6\u91cc\u6709\u4ec0\u4e48<br \/>\n3.1 \u76ee\u6807\u6587\u4ef6\u7684\u683c\u5f0f<br \/>\n3.2 \u76ee\u6807\u6587\u4ef6\u662f\u4ec0\u4e48\u6837\u7684<br \/>\n3.3 \u6316\u6398SIMPLESECTION.O<br \/>\n3.4 ELF \u6587\u4ef6\u7ed3\u6784\u63cf\u8ff0<br \/>\n3.5 \u94fe\u63a5\u7684\u63a5\u53e3\u2014\u2014\u7b26\u53f7<br \/>\n3.6 \u8c03\u8bd5\u4fe1\u606f<br \/>\n3.7 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c4\u7ae0 \u9759\u6001\u94fe\u63a5<br \/>\n4.1 \u7a7a\u95f4\u4e0e\u5730\u5740\u5206\u914d<br \/>\n4.2 \u7b26\u53f7\u89e3\u6790\u4e0e\u91cd\u5b9a\u4f4d<br \/>\n4.3 COMMON \u5757<br \/>\n4.4 C++\u76f8\u5173\u95ee\u9898<br \/>\n4.5 \u9759\u6001\u5e93\u94fe\u63a5<br \/>\n4.6 \u94fe\u63a5\u8fc7\u7a0b\u63a7\u5236<br \/>\n4.7 BFD \u5e93<br \/>\n4.8 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c5\u7ae0 WINDOWS PE\/COFF<br \/>\n5.1 WINDOWS \u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u683c\u5f0fPE\/COFF 134<br \/>\n5.2 PE \u7684\u524d\u8eab\u2014\u2014COFF<br \/>\n5.3 \u94fe\u63a5\u6307\u793a\u4fe1\u606f<br \/>\n5.4 \u8c03\u8bd5\u4fe1\u606f<br \/>\n5.5 \u5927\u5bb6\u90fd\u6709\u7b26\u53f7\u8868<br \/>\n5.6 WINDOWS \u4e0b\u7684ELF\u2014\u2014PE<br \/>\n5.7 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c3\u90e8\u5206 \u88c5\u8f7d\u4e0e\u52a8\u6001\u94fe\u63a5<br \/>\n\u7b2c6\u7ae0 \u53ef\u6267\u884c\u6587\u4ef6\u7684\u88c5\u8f7d\u4e0e\u8fdb\u7a0b<br \/>\n6.1 \u8fdb\u7a0b\u865a\u62df\u5730\u5740\u7a7a\u95f4<br \/>\n6.2 \u88c5\u8f7d\u7684\u65b9\u5f0f<br \/>\n6.3 \u4ece\u64cd\u4f5c\u7cfb\u7edf\u89d2\u5ea6\u770b\u53ef\u6267\u884c\u6587\u4ef6\u7684\u88c5\u8f7d<br \/>\n6.4 \u8fdb\u7a0b\u865a\u5b58\u7a7a\u95f4\u5206\u5e03<br \/>\n6.5 LINUX \u5185\u6838\u88c5\u8f7dELF \u8fc7\u7a0b\u7b80\u4ecb<br \/>\n6.6 WINDOWS PE \u7684\u88c5\u8f7d<br \/>\n6.7 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c7\u7ae0 \u52a8\u6001\u94fe\u63a5<br \/>\n7.1 \u4e3a\u4ec0\u4e48\u8981\u52a8\u6001\u94fe\u63a5<br \/>\n7.2 \u7b80\u5355\u7684\u52a8\u6001\u94fe\u63a5\u4f8b\u5b50<br \/>\n7.3 \u5730\u5740\u65e0\u5173\u4ee3\u7801<br \/>\n7.4 \u5ef6\u8fdf\u7ed1\u5b9a\uff08PLT\uff09<br \/>\n7.5 \u52a8\u6001\u94fe\u63a5\u76f8\u5173\u7ed3\u6784<br \/>\n7.6 \u52a8\u6001\u94fe\u63a5\u7684\u6b65\u9aa4\u548c\u5b9e\u73b0<br \/>\n7.7 \u663e\u5f0f\u8fd0\u884c\u65f6\u94fe\u63a5<br \/>\n7.8 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c8\u7ae0 LINUX \u5171\u4eab\u5e93\u7684\u7ec4\u7ec7<br \/>\n8.1 \u5171\u4eab\u5e93\u7248\u672c<br \/>\n8.2 \u7b26\u53f7\u7248\u672c<br \/>\n8.3 \u5171\u4eab\u5e93\u7cfb\u7edf\u8def\u5f84<br \/>\n8.4 \u5171\u4eab\u5e93\u67e5\u627e\u8fc7\u7a0b<br \/>\n8.5 \u73af\u5883\u53d8\u91cf<br \/>\n8.6 \u5171\u4eab\u5e93\u7684\u521b\u5efa\u548c\u5b89\u88c5<br \/>\n8.7 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c9\u7ae0 WINDOWS \u4e0b\u7684\u52a8\u6001\u94fe\u63a5<br \/>\n9.1 DLL \u7b80\u4ecb<br \/>\n9.2 \u7b26\u53f7\u5bfc\u51fa\u5bfc\u5165\u8868<br \/>\n9.3 DLL \u4f18\u5316<br \/>\n9.4 C++\u4e0e\u52a8\u6001\u94fe\u63a5<br \/>\n9.5 DLL HELL<br \/>\n9.6 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c4\u90e8\u5206 \u5e93\u4e0e\u8fd0\u884c\u5e93<br \/>\n\u7b2c10\u7ae0 \u5185\u5b58<br \/>\n10.1 \u7a0b\u5e8f\u7684\u5185\u5b58\u5e03\u5c40<br \/>\n10.2 \u6808\u4e0e\u8c03\u7528\u60ef\u4f8b<br \/>\n10.3 \u5806\u4e0e\u5185\u5b58\u7ba1\u7406<br \/>\n10.4 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c11\u7ae0 \u8fd0\u884c\u5e93<br \/>\n11.1 \u5165\u53e3\u51fd\u6570\u548c\u7a0b\u5e8f\u521d\u59cb\u5316<br \/>\n11.2 C\/C++\u8fd0\u884c\u5e93<br \/>\n11.3 \u8fd0\u884c\u5e93\u4e0e\u591a\u7ebf\u7a0b<br \/>\n11.4 C++\u5168\u5c40\u6784\u9020\u4e0e\u6790\u6784<br \/>\n11.5 fread \u5b9e\u73b0<br \/>\n11.6 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c12\u7ae0 \u7cfb\u7edf\u8c03\u7528\u4e0eAPI<br \/>\n12.1 \u7cfb\u7edf\u8c03\u7528\u4ecb\u7ecd<br \/>\n12.2 \u7cfb\u7edf\u8c03\u7528\u539f\u7406<br \/>\n12.3 WINDOWS API<br \/>\n12.4 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u7b2c13\u7ae0 \u8fd0\u884c\u5e93\u5b9e\u73b0<br \/>\n13.1 C \u8bed\u8a00\u8fd0\u884c\u5e93<br \/>\n13.2 \u5982\u4f55\u4f7f\u7528Mini CRT<br \/>\n13.3 C++\u8fd0\u884c\u5e93\u5b9e\u73b0<br \/>\n13.4 \u5982\u4f55\u4f7f\u7528Mini CRT++<br \/>\n13.5 \u672c\u7ae0\u5c0f\u7ed3<br \/>\n\u9644\u5f55A<br \/>\nA.1 \u5b57\u8282\u5e8f\uff08BYTE ORDER\uff09<br \/>\nA.2 ELF \u5e38\u89c1\u6bb5<br \/>\nA.3 \u5e38\u7528\u5f00\u53d1\u5de5\u5177\u547d\u4ee4\u884c\u53c2\u8003<br \/>\n\u7d22\u5f15<\/p>\n<p>==<\/p>\n<h5>\u53c2\u8003\u94fe\u63a5\uff1a<\/h5>\n<ul>\n<li><a href=\"https:\/\/book.douban.com\/subject\/3652388\/\">https:\/\/book.douban.com\/subject\/3652388\/<\/a><\/li>\n<li><a href=\"http:\/\/bestcbooks.com\/cheng-xu-yuan-de-zi-wo-xiu-yang\/\">http:\/\/bestcbooks.com\/cheng-xu-yuan-de-zi-wo-xiu-yang\/<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/121786404\/C_Memory\/tree\/master\/Doc\">https:\/\/github.com\/121786404\/C_Memory\/tree\/master\/Doc<\/a><\/li>\n<\/ul>\n<p>=END=<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=Start= \u7f18\u7531\uff1a \u4eca\u5929\u521a\u597d\u770b\u5230\u4e86\u4e00\u4e0bLD_PRELOAD\u53d8\u91cf\uff0c\u60f3\u8d77\u4e86\u4e4b\u524d\u7684\u4e00\u4e2a\u4e8b\u6545\uff0c\u89c9\u5f97\u6709\u5fc5\u8981\u597d\u597d\u8865\u4e00\u8865 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,7],"tags":[333],"class_list":["post-3139","post","type-post","status-publish","format-standard","hentry","category-knowledgebase-2","category-programing","tag-book"],"views":5744,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/3139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=3139"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/3139\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=3139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=3139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=3139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}