{"id":185743,"date":"2020-10-21T13:00:28","date_gmt":"2020-10-21T05:00:28","guid":{"rendered":"http:\/\/4563.org\/?p=185743"},"modified":"2020-10-21T13:00:28","modified_gmt":"2020-10-21T05:00:28","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-python-%e4%b8%ad%e5%b5%8c%e5%85%a5%e6%b1%87%e7%bc%96%e4%bb%a3%e7%a0%81%ef%bc%8c%e6%af%94%e5%a6%82-hook-%e4%b8%80%e4%b8%aa%e8%bd%af%e4%bb%b6%ef%bc%8c-c-%e8%af%ad%e8%a8%80","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=185743","title":{"rendered":"\u5982\u4f55\u5728 Python \u4e2d\u5d4c\u5165\u6c47\u7f16\u4ee3\u7801\uff0c\u6bd4\u5982 hook \u4e00\u4e2a\u8f6f\u4ef6\uff0c c \u8bed\u8a00\u91cc\u53ef\u4ee5\u76f4\u63a5\u5185\u8054\u6c47\u7f16\uff0c\u4e0d\u77e5\u9053 Python \u8fd9\u6837\u624d\u53ef\u4ee5\u6709\u8fd9\u79cd\u64cd\u4f5c"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5982\u4f55\u5728 Python \u4e2d\u5d4c\u5165\u6c47\u7f16\u4ee3\u7801\uff0c\u6bd4\u5982 hook \u4e00\u4e2a\u8f6f\u4ef6\uff0c c \u8bed\u8a00\u91cc\u53ef\u4ee5\u76f4\u63a5\u5185\u8054\u6c47\u7f16\uff0c\u4e0d\u77e5\u9053 Python \u8fd9\u6837\u624d\u53ef\u4ee5\u6709\u8fd9\u79cd\u64cd\u4f5c               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhu00zhu <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        Python \u8c03\u7528 so \u6216\u8005 ffi      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4005954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : virusdefender <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u80af\u5b9a\u9700\u8981\u4e00\u90e8\u5206\u7684\u8f6c\u6362\u4ee3\u7801\uff0c\u8001\u54e5\u53ef\u4ee5 c\/c++\u5185\u8054\u6c47\u7f16\uff0c\u4e4b\u540e ctypes\/boost::python \u5bfc\u51fa\u6210 python \u6a21\u5757\uff0c\u5c31 OK \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guiqiqi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u73b0\u5728\u4e00\u822c\u90fd\u662f\u5199 cython\uff0c\u76f4\u63a5\u5199 C \u5df2\u7ecf\u7b97\u6bd4\u8f83\u4e27\u75c5\u7684\u4e86\uff0c\u4f60\u8981\u6c47\u7f16\u662f\u6709\u591a\u53d8\u6001\u7684\u4f18\u5316\u9700\u6c42\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : black11black <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6000\u7591\u662f X-Y Problem https:\/\/coolshell.cn\/articles\/10804.html<br \/>\u5efa\u8bae\u8bf4\u6e05\u695a\u539f\u59cb\u95ee\u9898\u662f\u4ec0\u4e48\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005957\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/docs.python.org\/zh-cn\/3\/c-api\/index.html                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005958\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : winzkh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ysc3839 \u8ba4\u540c\u3002<br \/>\u7a83\u4ee5\u4e3a lz \u7684\u95ee\u9898\u53ef\u4ee5\u62c6\u5206\u4e3a\uff1a<br \/>1. \u5982\u4f55\u5728 Python \u7a0b\u5e8f\u4e2d\u5d4c\u5165\u6c47\u7f16\u4ee3\u7801\uff1f<br \/>2. \u5982\u4f55 Hook \u4e00\u4e2a\u8f6f\u4ef6\uff0c\u57fa\u4e8e Python \u7a0b\u5e8f\uff1f<br \/>3. C \u8bed\u8a00\u5d4c\u5165\u5185\u8054\u6c47\u7f16\uff0cPython \u7a0b\u5e8f\u80fd\u4e0d\u80fd\u5b9e\u73b0\u7c7b\u4f3c\u7684\u673a\u5236\uff1f<\/p>\n<p>\u6240\u4ee5\u4e3b\u5230\u5e95\u662f\u60f3\u4e86\u89e3\u4ec0\u4e48\u5462                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u5728 Python \u4e2d\u5d4c\u5165\u6c47\u7f16\u4ee3&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185743"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185743"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185743\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185743"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}