{"id":2075,"date":"2019-07-01T22:05:58","date_gmt":"2019-07-01T14:05:58","guid":{"rendered":"http:\/\/myblog.emhct.net.cn\/?p=2075"},"modified":"2019-07-01T22:05:58","modified_gmt":"2019-07-01T14:05:58","slug":"%e5%86%99%e4%bb%a3%e7%a0%81%e4%b8%ad%e5%b0%91%e7%94%a8%e6%88%96%e9%81%bf%e5%85%8d%e7%94%a8%e7%9a%84%e4%b8%80%e4%ba%9b%e6%8a%80%e5%b7%a7%e5%92%8c%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/myblog.emhct.net.cn\/index.php\/archives\/2075","title":{"rendered":"\u5199\u4ee3\u7801\u4e2d\u5c11\u7528\u6216\u907f\u514d\u7528\u7684\u4e00\u4e9b\u6280\u5de7\u548c\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u5728\u5199\u4ee3\u7801\u7684\u65f6\u5019\uff0c\u6709\u4e00\u4e9b\u6280\u5de7\u548c\u65b9\u6cd5\u5df2\u7ecf\u5feb\u6210\u4e3a\u6210\u4e3a\u4e86\u4f17\u77e2\u4e4b\u7684\uff0c\u4e3b\u8981\u8fd8\u5728\u4e8e\u4ee3\u7801\u7684\u53ef\u9605\u8bfb\u6027\uff0c\u4ee5\u53ca\u6613\u9519\u6027\u4e0a\u3002<\/p>\n\n\n\n<p>\u88ab\u5217\u4e3a\u7ecf\u5178\u7684\u51e0\u79cd\u65b9\u6cd5\u6216\u6280\u5de7\u4e2d\u6709\u4e00\u4e9b\u8fd8\u662f\u80fd\u7528\u5c3d\u91cf\u5c11\u7528\uff1agoto\u3001\u9012\u5f52\u3001\u72b6\u6001\u673a\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">goto<\/h2>\n\n\n\n<p>\u5199\u8fc7\u6c47\u7f16\u7684\u4eba\u90fd\u77e5\u9053\uff0c\u6c47\u7f16\u6539\u53d8\u6307\u4ee4\u6267\u884c\u5730\u5740\u7684\u65b9\u6cd5\u91cc\uff0c\u9664\u4e86call\/ret\uff0c\u8fd8\u6709\u5927\u91cf\u7684jmp\/sjmp\u6765\u6784\u6210\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5982\u679c\u4ec5\u4ec5\u4f7f\u7528call\/ret\u6765\u5199\uff0c\u6709\u65f6\u5019\u4ee3\u7801\u4f1a\u53d8\u5f97\u975e\u5e38\u81c3\u80bf\uff0c\u800c\u4e14\u8ba9\u672c\u6765\u5c31\u96be\u4ee5\u7406\u89e3\u7684\u6c47\u7f16\u53d8\u6210\u66f4\u96be\u9605\u8bfb\u7684\u4ee3\u7801\uff0c\u6240\u4ee5\u5c31\u4f1a\u7528jmp\/sjmp\u6765\u6539\u53d8\u6307\u4ee4\u6267\u884c\u7684\u5730\u5740\u3002\u5f53\u7136\u8fd9\u53ea\u662f\u629b\u7816\u5f15\u7389\uff0c\u5728\u6c47\u7f16\u91cc\u6539\u53d8\u6307\u4ee4\u6267\u884c\u5730\u5740\u53ef\u4e0d\u4ec5\u4ec5\u8fd9\u4e24\u5bf9\u6307\u4ee4\uff0c\u8fd8\u6709\u5f88\u591a\u5176\u4ed6\u6307\u4ee4\u548c\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u800cgoto\u662f\u6211\u5728\u5b66c\u8bed\u8a00\u7684\u65f6\u5019\u63a5\u89e6\u5230\u7684\uff0cc++\u4e5f\u4f9d\u7136\u90e8\u5206\u652f\u6301\uff08\u5177\u4f53\u770b\u7f16\u8bd1\u5668\u548c\u76f8\u5e94\u8bed\u8a00\u6807\u51c6\uff09\u3002goto\u66f4\u50cf\u662f\u6c47\u7f16\u4e2d\u53d8\u6210\u601d\u7ef4\u7684\u4e00\u79cd\u79fb\u690d\uff0c\u7c7b*inx\u7cfb\u7edf\u7684\u5185\u6838\u4ee3\u7801\u91cc\u4e5f\u62e5\u6709\u5927\u91cf\u7684goto\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u5728\u9762\u5411\u8fc7\u7a0b\u53d8\u6210\u91cc\uff0c\u4f7f\u7528goto\u4f3c\u4e4e\u5e76\u6ca1\u6709\u592a\u5927\u4e0d\u9002\uff0c\u800c\u4e14\u4e5f\u80fd\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u51cf\u5c11\u4ee3\u7801\u89c4\u6a21\u3002\u4f46goto\u82e5\u7528\u7684\u4e0d\u597d\uff0c\u5e26\u6765\u7684\u6548\u679c\u9002\u5f97\u5176\u53cd\u3002\u800c\u4e14\u5bb9\u6613\u4f7f\u5f97\u4ee3\u7801\u903b\u8f91\u53d8\u5f97\u6781\u5176\u590d\u6742\uff0c\u975e\u5e38\u7684\u7ed5\u601d\u7ef4\u3002<\/p>\n\n\n\n<p>goto\u5728\u77ed\u5c0f\u7cbe\u5e72\u7684\u4ee3\u7801\u91cc\uff0c\u53ef\u4ee5\u8f83\u5c11\u7684\u5e26\u6765\u9605\u8bfb\u548c\u6613\u9519\u73b0\u8c61\uff0c\u800c\u4e14\u8981\u628agoto\u7528\u7684\u597d\uff0c\u7528\u7684\u5de7\u5999\uff0c\u8fd8\u975e\u5e38\u8003\u9a8c\u5199\u4ee3\u7801\u7684\u4eba\u5982\u4f55\u7f16\u6392\u4ee3\u7801\u6d41\u7a0b\u548c\u6392\u7248\u3002<\/p>\n\n\n\n<p>\u82e5\u6ca1\u6709\u8fc7\u786c\u7684\u903b\u8f91\u601d\u7ef4\u80fd\u529b\u548c\u8ba1\u7b97\u673a\u5f0f\u7684\u601d\u7ef4\u80fd\u529b\uff0cgoto\u80fd\u907f\u514d\u6700\u597d\u907f\u514d\uff0c\u5c24\u5176\u662f\u5728\u5199\u4e00\u4e9b\u5bf9\u4ee3\u7801\u4f53\u79ef\u548c\u6027\u80fd\u8981\u6c42\u4e0d\u662f\u592a\u9ad8\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n\n\n\n<p>\u4ee3\u7801\u7684\u6027\u80fd\u548c\u4f53\u79ef\u5176\u5b9e\u53ef\u4ee5\u901a\u8fc7\u5176\u5b83\u65b9\u5f0f\u4f18\u5316\uff0c\u672a\u5fc5\u975e\u8981\u8fd9\u6837\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9012\u5f52<\/h2>\n\n\n\n<p>\u5728\u6570\u636e\u7ed3\u6784\u548c\u4e00\u4e9b\u57fa\u672c\u7b97\u6cd5\u7684\u6559\u5b66\u91cc\uff0c\u9012\u5f52\u662f\u7528\u7684\u6700\u9891\u7e41\u7684\u3002\u56e0\u4e3a\u4e00\u4e9b\u89e3\u9898\u601d\u8def\u7528\u9012\u5f52\u6765\u6267\u884c\u6bd4\u8f83\u63a5\u8fd1\u4eba\u7c7b\u7684\u601d\u7ef4\u65b9\u5f0f\uff0c\u66f4\u5bb9\u6613\u7406\u89e3\u3002<\/p>\n\n\n\n<p>\u6808\u5e27\u7684\u7ef4\u62a4\u548c\u6267\u884c\uff0c\u4e5f\u662f\u901a\u8fc7\u9012\u5f52\u7684\u65b9\u5f0f\u8fdb\u884c\u7684\uff1b\u53ef\u89c1\u9012\u5f52\u7684\u91cd\u8981\u6027\u3002\u4f46\u662f\u9012\u5f52\u8fd8\u5b58\u5728\u5bb9\u6613\u8ba9\u6808\u7a7a\u95f4\u6ea2\u51fa\uff0c\u4ee5\u53ca\u65e0\u9650\u9012\u5f52\u7684\u51fa\u73b0\uff0c\u540c\u6837\u4e5f\u5b58\u5728\u4e00\u4e9b\u4e0d\u4fbf\u4e8e\u7406\u89e3\u4ee3\u7801\u7684\u60c5\u51b5\u3002\u56e0\u4e3a\u6bcf\u4e00\u6b21\u9012\u5f52\u51fd\u6570\u7684\u91cd\u5165\uff0c\u90fd\u4f1a\u4f7f\u7528\u65b0\u7684\u6808\u5e27\u5bf9\u8c61\uff0c\u5bfc\u81f4\u5c40\u90e8\u53d8\u91cf\u4e0d\u662f\u540c\u4e00\u4e2a\u7684\u73b0\u8c61\uff0c\u8fd9\u6070\u6070\u5f88\u6709\u53ef\u80fd\u4f1a\u8ba9\u4eba\u5728\u65e0\u610f\u95f4\u9519\u4f1a\u9012\u5f52\u7684\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<p>\u82e5\u4e0d\u662f\u89e3\u51b3\u95ee\u9898\u7684\u6a21\u578b\u6bd4\u8f83\u63a5\u8fd1\u9012\u5f52\u6216\u4ee3\u7801\u77ed\u5c0f\u7cbe\u5e72\u7684\u60c5\u51b5\u4e0b\uff0c\u80fd\u7528\u522b\u7684\u65b9\u5f0f\u5316\u89e3\u9012\u5f52\uff0c\u6700\u597d\u901a\u8fc7\u5176\u5b83\u65b9\u5f0f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u72b6\u6001\u673a<\/h2>\n\n\n\n<p>\u72b6\u6001\u673a\u662f\u4e00\u4e2a\u57fa\u672c\u7684\u539f\u578b\u673a\u6216\u8bb0\u5f55\u5668\uff0c\u8981\u4ece\u65f6\u95f4\u7684\u89d2\u5ea6\u51fa\u53d1\u8ba8\u8bba\uff0c\u72b6\u6001\u673a\u5e94\u8be5\u6700\u5148\u51fa\u73b0\u5728\u9ad8\u9891\u6a21\u62df\u7535\u8def\u91cc\uff0c\u4e00\u4e9b\u4fe1\u53f7\u540c\u6b65\u673a\u5236\u4e0e\u89e6\u53d1\u5e94\u8be5\u662f\u6700\u63a5\u8fd1\u72b6\u6001\u673a\u601d\u7ef4\u3002<\/p>\n\n\n\n<p>\u53ea\u4e0d\u8fc7\u540e\u9762\u79f0\u505a\u72b6\u6001\u673a\u7684\u90fd\u662f\u4ece\u6570\u5b57\u7535\u8def\u5f00\u59cb\uff0c\u72b6\u6001\u673a\u5728\u8bbe\u8ba1\u95e8\u7535\u8def\u65f6\uff0c\u662f\u6700\u597d\u7528\u7684\u4e00\u79cd\u5206\u6790\u5de5\u5177\u6216\u8f85\u52a9\u5de5\u5177\u3002\u4f46\u5728\u534f\u8bae\u6808\u3001\u9a71\u52a8\u3001\u76f4\u63a5\u548c\u786c\u4ef6\u4ea4\u4e92\u7684\u4ee3\u7801\u91cc\uff0c\u5f80\u5f80\u6709\u7740\u5f88\u591a\u7684\u72b6\u6001\u673a\u3002<\/p>\n\n\n\n<p>\u72b6\u6001\u673a\u7531\u4e8e\u4ec5\u4ec5\u662f\u8868\u5f81\u4e00\u79cd\u72b6\u6001\u8dc3\u8fc1\u5e76\u8054\u7cfb\u6210\u4e00\u4e2a\u7cfb\u7edf\u7684\u5de5\u5177\uff0c\u5e76\u672a\u5bf9\u72b6\u6001\u8dc3\u8fc1\u7684\u89c4\u5219\u505a\u7ea6\u675f\uff0c\u56e0\u6b64\u72b6\u6001\u673a\u5f88\u6709\u53ef\u80fd\u4f1a\u88ab\u8bbe\u8ba1\u7684\u975e\u5e38\u590d\u6742\uff0c\u8be6\u60c5\u53ef\u4ee5\u53c2\u8003\u534f\u8bae\u6808\u4ee3\u7801\u3002\u82e5\u662f\u8fc7\u4e8e\u5f3a\u8c03\u72b6\u6001\u673a\u7684\u7279\u6027\uff0c\u5728\u5199\u4e00\u4e9b\u590d\u6742\u5ea6\u8f83\u9ad8\u7684\u7b56\u7565\u6a21\u578b\u65f6\uff0c\u5f80\u5f80\u662f\u5bb9\u6613\u7b80\u5355\u95ee\u9898\u590d\u6742\u5316\uff0c\u751a\u81f3\u529b\u4e0d\u4ece\u5fc3\u3002<\/p>\n\n\n\n<p>\u5efa\u8bae\u5c06\u72b6\u6001\u673a\u89e3\u8026\uff0c\u6539\u4e3a\u72b6\u6001\u5316\u5c31\u597d\u3002\u63a5\u89e6\u6bcf\u79cd\u4e00\u72b6\u6001\u4e4b\u95f4\u7684\u8026\u5408\u5ea6\uff0c\u4f1a\u8ba9\u4ee3\u7801\u8f83\u4e3a\u7b80\u5355\u4e9b\uff0c\u5982\u975e\u5e38\u5f3a\u8c03\u6027\u80fd\uff0c\u53ef\u4ee5\u901a\u8fc7\u5176\u5b83\u65b9\u5f0f\u89e3\u51b3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5199\u4ee3\u7801\u7684\u65f6\u5019\uff0c\u6709\u4e00\u4e9b\u6280\u5de7\u548c\u65b9\u6cd5\u5df2\u7ecf\u5feb\u6210\u4e3a\u6210\u4e3a\u4e86\u4f17\u77e2\u4e4b\u7684\uff0c\u4e3b\u8981\u8fd8\u5728\u4e8e\u4ee3\u7801\u7684\u53ef\u9605\u8bfb\u6027\uff0c\u4ee5\u53ca\u6613\u9519\u6027\u4e0a\u3002 \u88ab\u5217\u4e3a\u7ecf\u5178\u7684\u51e0\u79cd\u65b9\u6cd5\u6216\u6280\u5de7\u4e2d\u6709\u4e00\u4e9b\u8fd8\u662f\u80fd\u7528\u5c3d\u91cf\u5c11\u7528\uff1agoto\u3001\u9012\u5f52\u3001\u72b6\u6001\u673a\u3002 goto \u5199\u8fc7\u6c47\u7f16\u7684\u4eba\u90fd\u77e5\u9053\uff0c\u6c47\u7f16\u6539\u53d8\u6307\u4ee4\u6267\u884c\u5730\u5740\u7684\u65b9\u6cd5\u91cc\uff0c\u9664\u4e86call\/ret\uff0c\u8fd8\u6709\u5927\u91cf\u7684jmp\/sjmp\u6765\u6784\u6210\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5982\u679c\u4ec5\u4ec5\u4f7f\u7528cal &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/myblog.emhct.net.cn\/index.php\/archives\/2075\">read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,15,3,47],"tags":[],"class_list":["post-2075","post","type-post","status-publish","format-standard","hentry","category-linuxMark","category-unixProgram","category-ThinkAbout","category-ProgramSkill"],"_links":{"self":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts\/2075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/comments?post=2075"}],"version-history":[{"count":1,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts\/2075\/revisions"}],"predecessor-version":[{"id":2076,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/posts\/2075\/revisions\/2076"}],"wp:attachment":[{"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2075"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/myblog.emhct.net.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}