{"id":312444,"date":"2020-11-02T21:00:15","date_gmt":"2020-11-02T21:00:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=312444"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=312444","title":{"rendered":"\u041a\u0430\u043a \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c .NET \u0438 IDA Pro (\u043e \u0434\u0440\u0443\u0436\u0431\u0435 C# \u0438 C++)"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vs\/pp\/q8\/vsppq8f6xcgmhyeztyugyzajw4c.png\"><\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e,<\/p>\n<p>  <\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435\/\u0437\u0430\u0434\u0430\u0447\u0435:<br \/>  \u041d\u0430\u0447\u0430\u0432 \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d-\u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0434\u043b\u044f \u0440\u0435\u0442\u0440\u043e-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043f\u043e\u0434 <u>IDA Pro<\/u> (\u043f\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u0443: \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 SNES), \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u042f\u0434\u0440\u043e \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 C++ \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 DLL<\/li>\n<li>GUI \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 C# \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 DLL-\u043a\u0443 \u044f\u0434\u0440\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0435\u0439<\/li>\n<li>IDA Pro, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u043b\u0438\u0431\u043e \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435, \u043b\u0438\u0431\u043e \u043d\u0430 C++ \u0432 \u0432\u0438\u0434\u0435 DLL (\u0430 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 C++)<a name=\"habracut\"><\/a><\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043a\u0430\u043a-\u0442\u043e \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u0438\u0437 IDA \u043a \u044f\u0434\u0440\u0443 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 (\u043f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0430, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b, \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0442.\u043f.) \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0438 IDA \u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u043c\u0435\u043b\u0438 \u043e\u0434\u043d\u043e \u043e\u0431\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u044f\u0434\u0440\u0430.<\/p>\n<p>  <\/p>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u043e\u0441\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e (\u043d\u0435 \u0432\u0441\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435), \u043d\u043e \u043e \u043a\u0430\u0436\u0434\u043e\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443:<\/p>\n<p>  <\/p>\n<p><u>1<\/u>) \u0421\u0434\u0435\u043b\u0430\u0442\u044c <code>LoadLibrary(&quot;emu_core.dll&quot;)<\/code>, \u0437\u0430\u0442\u0435\u043c <code>GetProcAddress(core, &quot;Pause&quot;)<\/code> \u0438 <code>pause()<\/code>, \u0447\u0442\u043e\u0431\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 \u043f\u0430\u0443\u0437\u0443.<\/p>\n<p>  <\/p>\n<p>\u042f \u0442\u043e\u0433\u0434\u0430 \u0434\u0443\u043c\u0430\u043b: \u0432\u043e\u0442 \u043e\u043d\u043e \u2014 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434 (\u0438 \u043e\u0442 \u044f\u0434\u0440\u0430, \u0438 \u043e\u0442 GUI \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0443 \u043c\u0435\u043d\u044f \u0438\u043c\u0435\u044e\u0442\u0441\u044f)! \u041d\u043e, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0437\u0434\u0435\u0441\u044c \u0441\u0442\u0430\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u044f\u0434\u0440\u0430, \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 DLL-\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 UI, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043c \u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0432 DLL-\u043a\u0443 \u0432 \u043f\u043b\u0430\u0433\u0438\u043d\u0435 \u0434\u043b\u044f IDA, \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043d\u0435\u043f\u0440\u043e\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u044f\u0434\u0440\u0430. \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<p>  <\/p>\n<p><u>2<\/u>) \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 \u0445\u043e\u0441\u0442-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u043c \u044f\u0434\u0440\u0430, \u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u2014 \u0418\u0434\u0430 \u0438 GUI, \u043e\u0431\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c \u0431\u044b \u043a \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 \u0447\u0435\u0440\u0435\u0437 RPC-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b. <\/p>\n<p>  <\/p>\n<p>\u0418\u0434\u0435\u044f \u0432\u043f\u043e\u043b\u043d\u0435 \u0437\u0434\u0440\u0430\u0432\u0430\u044f, \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u0435\u043b\u043e\u0441\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u0439 \u0432 \u0435\u0451 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li>IDA \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 (\u0431\u0440\u0435\u0439\u043a\u043e\u0438\u043d\u0442\u044b, \u043f\u0430\u0443\u0437\u0430, reset), \u0442.\u0435. \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c, \u0430 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u044f\u0434\u0440\u0430, \u0447\u0435\u0440\u0435\u0437 \u0445\u043e\u0441\u0442, \u0441\u0435\u0431\u0435.<\/li>\n<li>\u041a\u043e\u043b\u0431\u044d\u043a\u0438. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u044d\u0442\u043e \u0443\u0436\u0435 \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0432 \u044f\u0434\u0440\u0435 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442, \u043d\u043e, \u043a\u0430\u043a \u0440\u0435\u0448\u0430\u0442\u044c \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 RPC \u044f \u043d\u0435 \u0437\u043d\u0430\u043b.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"reshenie\">\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u043c\u043d\u0435 \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u043e\u0432\u0430\u043b\u0438 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 COM. \u0412\u0435\u0434\u044c \u0443 \u043d\u0435\u0433\u043e, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u044f \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f RPC \u0441 \u043a\u043e\u043b\u0431\u044d\u043a\u0430\u043c\u0438 \u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438. \u041a\u043e\u0442\u043e\u0440\u0443\u044e, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 WinAPI (\u0442.\u0435. C\/C++) \u0438 \u043d\u0430\u0442\u0438\u0432\u043d\u043e \u2014 \u0432 C#.<\/p>\n<p>  <\/p>\n<p>\u0410 \u0442.\u043a. GUI \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0431\u044b\u043b \u043d\u0430 \u0448\u0430\u0440\u043f\u0435, \u0434\u0435\u043b\u043e \u0431\u044b\u043b\u043e \u0437\u0430 \u043c\u0430\u043b\u044b\u043c. \u041e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0435\u0433\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 COM-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438.<\/p>\n<p>  <\/p>\n<p>\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439:<\/p>\n<p>  <\/p>\n<p><u>1<\/u>) \u041a\u043b\u0430\u0441\u0441\u044b \u0438 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0447\u0435\u0440\u0435\u0437 COM, \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u043c \u043a\u0430\u043a <code>[ComVisible(true)]<\/code>. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0442\u0438\u043f \u0432\u044b \u0432\u0441\u0451 \u0436\u0435 \u0437\u0430\u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u043a\u0430\u043a \u0432\u0438\u0434\u0438\u043c\u044b\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0434\u0430\u043b\u0435\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0432\u0430\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u043a\u0430\u0436\u0443\u0442 (\u0438\u043d\u043e\u0433\u0434\u0430 \u044f\u0432\u043d\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u043d\u0435\u0442, \u043d\u043e \u0441\u043a\u0430\u0436\u0443\u0442)<\/p>\n<p>  <\/p>\n<p><u>2<\/u>) \u0421\u043e\u0437\u0434\u0430\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e (\u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0443 \u0432 IDA). \u041f\u043e\u043c\u0435\u0447\u0430\u044e \u0435\u0433\u043e \u0435\u0449\u0451 \u0434\u0432\u0443\u043c\u044f \u0442\u0435\u0433\u0430\u043c\u0438 (\u043a \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0435\u043c\u0443\u0441\u044f <code>ComVisible<\/code>):<\/p>\n<p>  <\/p>\n<pre><code class=\"cs\">[Guid(&quot;7710855F-D37B-464B-B645-972BAB2706D4&quot;)]  \/\/ Visual Studio \u0443\u043c\u0435\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 GUID-\u044b \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [ComVisible(true)] public interface IDebugApi<\/code><\/pre>\n<p>  <\/p>\n<p><u>3<\/u>) \u0420\u0435\u0430\u043b\u0438\u0437\u0443\u044e \u044d\u0442\u043e\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0432 \u0432\u0438\u0434\u0435 \u043a\u043b\u0430\u0441\u0441\u0430 <code>DebugCOM<\/code>:<\/p>\n<p>  <\/p>\n<pre><code class=\"cs\">[Guid(&quot;6AF9F5DD-6626-4E35-BEF4-29A73E18A739&quot;)] [ComVisible(true)] public class DebugCOM : IDebugApi<\/code><\/pre>\n<p>  <\/p>\n<p><u>4<\/u>) \u0412\u044b\u043d\u043e\u0448\u0443 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 (\u0431\u0435\u0437 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438) \u0438 \u0432\u0441\u0435 \u0435\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 (<code>Class Library<\/code>), \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u044e. \u041f\u043e\u043b\u0443\u0447\u0430\u044e <u>DebugCOM.dll<\/u><\/p>\n<p>  <\/p>\n<p><u>5<\/u>) \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <u>tlbexp.exe<\/u> \u0438\u0437 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0438 Visual Studio (\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 <code>Developer Command Prompt<\/code>) \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u044e DLL \u0432 TLB. \u0412 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0442.\u0434.<\/p>\n<p>  <\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">tlbexp DebugCOM.dll \/out:DebugCOM.tlb<\/code><\/pre>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u0451 \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438 \u0432\u0441\u0435 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u044b \u043a\u0430\u043a \u0432\u0438\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f COM, \u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">Assembly exported to 'DebugCOM.tlb'<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418\u043d\u0430\u0447\u0435, \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u0430\u0434. \u0410\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439:<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0412\u044b\u0445\u043b\u043e\u043f TlbExp<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">TlbExp : warning TX801311B0 : Type library exporter warning processing 'AddressInfo.Type, DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'InteropBreakpoint.MemoryType, DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.GetMemorySize(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.GetMemoryValue(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.SetMemoryValue(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.SetMemoryValues(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.SetMemoryState(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.GetMemoryState(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.GetMemoryAccessCounts(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types. TlbExp : warning TX801311B0 : Type library exporter warning processing 'IDebugApi.GetMemoryAccessCounts2(type), DebugCOM'. Warning: Non COM visible value type 'SnesMemoryType' is being referenced either from the type currently being exported or from one of its base types.<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0412\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445 <code>SnesMemoryType<\/code> \u043d\u0435 \u043f\u043e\u043c\u0435\u0447\u0435\u043d \u043a\u0430\u043a <code>ComVisible(true)<\/code>. \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c.<\/p>\n<p>  <\/p>\n<p><u>6<\/u>) \u041f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439\u0441\u044f TLB-\u0444\u0430\u0439\u043b \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c (<code>File-&gt;View TypeLib...<\/code>) \u0432 <u>ComView<\/u>. \u0423\u0442\u0438\u043b\u0438\u0442\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0434\u0435\u0441\u044c:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">c:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\ComView.exe<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430\u043c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043a\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0443\u0436\u0435 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e IDL:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/1i\/0g\/o3\/1i0go3vcflabc3q5eyk2d716kto.png\"><\/p>\n<p>  <\/p>\n<p>\u0416\u043c\u0451\u043c <code>File-&gt;Save as...<\/code> \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043a\u0430\u043a IDL-\u0444\u0430\u0439\u043b.<\/p>\n<p>  <\/p>\n<p><u>7<\/u>) \u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0448\u0430\u0433\u0435 IDL-\u0444\u0430\u0439\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 C++ \u043f\u0440\u043e\u0435\u043a\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438 \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a <code>DebugCOM<\/code>:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ss\/o-\/3d\/sso-3dyfnbqayc0g6okp4scejmk.png\"><\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rv\/mz\/ot\/rvmzot9qy_jdntwsqnrhvklzy8c.png\"><\/p>\n<p>  <\/p>\n<p><u>8<\/u>) \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c\u0443 \u043c\u0435\u043d\u044e IDL-\u0444\u0430\u0439\u043b\u0430 \u0438 \u0436\u043c\u0451\u043c <code>Compile Ctrl+F7<\/code>. \u0415\u0441\u043b\u0438 \u0432\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430: <code>DebugCOM_h.h<\/code> \u0438 <code>DebugCOM_i.c<\/code>. \u0415\u0441\u043b\u0438 \u0436\u0435 \u043d\u0435\u0442 (\u0443 \u043c\u0435\u043d\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a \u0438 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c), \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0440\u0435\u0448\u0430\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sn\/zn\/-v\/snzn-vphs3dps15en5ummp5vctw.png\"><\/p>\n<p>  <\/p>\n<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 C# \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432 \u0438 \u043c\u0435\u0441\u0442 \u0433\u0434\u0435 \u043e\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f, \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0432\u0430\u0436\u0435\u043d. \u0427\u0435\u0433\u043e \u043d\u0435 \u0441\u043a\u0430\u0436\u0435\u0448\u044c \u043f\u0440\u043e C\/C++. \u0417\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432 \u0434\u043b\u044f C#.<\/p>\n<p>  <\/p>\n<p><u>9<\/u>) \u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0432 \u0434\u043e\u043b\u0433\u043e\u0436\u0434\u0430\u043d\u043d\u044b\u0435 <code>.h<\/code> \u0438 <code>.c<\/code> \u0444\u0430\u0439\u043b\u044b, \u0438\u043d\u043a\u043b\u0443\u0434\u0438\u043c \u0438\u0445 \u0432 \u043d\u0430\u0448 \u043a\u043e\u0434, \u0438 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u043d\u0443\u0436\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u0430\u043c \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430:<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f COM \u0432 C++<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;atlbase.h&gt; #include &lt;iostream&gt;  #include &quot;DebugCOM_h.h&quot; #include &quot;DebugCOM_i.c&quot;  int main(int argc, char* argv[]) {     HRESULT hr;      hr = ::CoInitializeEx(0, COINITBASE_MULTITHREADED);     if (FAILED(hr))     {         std::cout &lt;&lt; &quot;CoInitializeEx failure: &quot; &lt;&lt; std::hex &lt;&lt; std::showbase &lt;&lt; hr &lt;&lt; std::endl;         return EXIT_FAILURE;     }      CLSID CLSID_server;     hr = ::CLSIDFromString(L&quot;{6AF9F5DD-6626-4E35-BEF4-29A73E18A739}&quot;, &amp;CLSID_server);     if (FAILED(hr))     {         std::cout &lt;&lt; &quot;CLSIDFromString failure: &quot; &lt;&lt; std::hex &lt;&lt; std::showbase &lt;&lt; hr &lt;&lt; std::endl;         return EXIT_FAILURE;     }      CComPtr&lt;IDebugApi&gt; server;      hr = ::CoCreateInstance(CLSID_server, nullptr, CLSCTX_LOCAL_SERVER, __uuidof(IDebugApi), (void**)&amp;server);     if (FAILED(hr))     {         std::cout &lt;&lt; &quot;CoCreateInstance failure: &quot; &lt;&lt; std::hex &lt;&lt; std::showbase &lt;&lt; hr &lt;&lt; std::endl;         return EXIT_FAILURE;     }      DebugState state = {};     hr = server-&gt;GetState(&amp;state);     if (FAILED(hr))     {         std::cout &lt;&lt; &quot;GetState failure: &quot; &lt;&lt; std::hex &lt;&lt; std::showbase &lt;&lt; hr &lt;&lt; std::endl;         return EXIT_FAILURE;     }      std::cout &lt;&lt; &quot;PC Address: &quot; &lt;&lt; std::hex &lt;&lt; std::showbase &lt;&lt; state.Cpu.PC &lt;&lt; std::endl;      ::CoUninitialize();      return EXIT_SUCCESS;      return 0; }<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0418 \u0437\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u043b\u0430\u0432\u043d\u043e \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u043a \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f COM.<\/p>\n<p>  <\/p>\n<h2 id=\"osobennosti-com-interfeysov\">\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 COM-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432<\/h2>\n<p>  <\/p>\n<p>\u041e\u043d\u0438 \u0431\u044b\u0432\u0430\u044e\u0442 \u0434\u0432\u0443\u0445 \u0442\u0438\u043f\u043e\u0432:<\/p>\n<p>  <\/p>\n<ol>\n<li>Inprocess<\/li>\n<li>Out-of-process<\/li>\n<\/ol>\n<p>  <\/p>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0442\u0438\u043f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c COM \u0432 \u0442\u043e\u043c \u0436\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0433\u0434\u0435 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044f \u043c\u043e\u0433 \u0431\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c \u043f\u043e COM \u0438\u0437 GUI, \u043d\u043e \u043d\u0435 \u0438\u0437 IDA.<br \/>  \u0414\u0430\u043d\u043d\u044b\u0439 \u0442\u0438\u043f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e COM \u0432 \u0432\u0438\u0434\u0435 DLL.<\/p>\n<p>  <\/li>\n<li>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0442\u0438\u043f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a COM-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u0438\u0437\u0432\u043d\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u0431\u0443\u0434\u0435\u0442 \u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0445\u043e\u0441\u0442-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c. \u0422.\u0435. \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u044f\u0434\u0440\u0430, \u0430 COM \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/p>\n<p>  <\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c out-of-process COM. \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043d\u0430 GitHub \u0435\u0441\u0442\u044c \u0441\u0430\u043c\u044b\u0439 \u0447\u0442\u043e \u043d\u0438 \u043d\u0430 \u0435\u0441\u0442\u044c &quot;\u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 \u0440\u0443\u043a&quot; \u043f\u0440\u0438\u043c\u0435\u0440: <a href=\"https:\/\/github.com\/dotnet\/samples\/tree\/master\/core\/extensions\/OutOfProcCOM\" rel=\"nofollow\">https:\/\/github.com\/dotnet\/samples\/tree\/master\/core\/extensions\/OutOfProcCOM<\/a>. \u041e\u043d \u043b\u0435\u0433\u043a\u043e \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043d\u0443\u0436\u0434\u044b \u0432\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/p>\n<p>  <\/p>\n<h2 id=\"vyvody\">\u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p>  <\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435, \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c IDA Pro \u0438 .NET Framework \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 Windows, \u043d\u0435 \u0433\u043e\u0440\u043e\u0434\u044f \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434\u044b \u0438\u0437 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 RPC-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u044f\u0434\u0440\u0430 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0438 \u0448\u0430\u0440\u0438\u043d\u0433\u0430 \u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/526196\/\"> https:\/\/habr.com\/ru\/post\/526196\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vs\/pp\/q8\/vsppq8f6xcgmhyeztyugyzajw4c.png\"><\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e,<\/p>\n<p>  <\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435\/\u0437\u0430\u0434\u0430\u0447\u0435:<br \/>  \u041d\u0430\u0447\u0430\u0432 \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d-\u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0434\u043b\u044f \u0440\u0435\u0442\u0440\u043e-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043f\u043e\u0434 <u>IDA Pro<\/u> (\u043f\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u0443: \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 SNES), \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u042f\u0434\u0440\u043e \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 C++ \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 DLL<\/li>\n<li>GUI \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 C# \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 DLL-\u043a\u0443 \u044f\u0434\u0440\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0435\u0439<\/li>\n<li>IDA Pro, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u043b\u0438\u0431\u043e \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435, \u043b\u0438\u0431\u043e \u043d\u0430 C++ \u0432 \u0432\u0438\u0434\u0435 DLL (\u0430 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 C++)<br \/>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-312444","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/312444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=312444"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/312444\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=312444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=312444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=312444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}