首页
社区
课程
招聘
[转帖]IDA_Pro_plugin_wizard的一个bug及修正
发表于: 2009-7-29 16:09 6735

[转帖]IDA_Pro_plugin_wizard的一个bug及修正

2009-7-29 16:09
6735

转自己的贴,原发于:


f6bK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6i4c8W2j5h3@1#2x3o6W2Q4x3X3g2U0L8$3#2Q4x3V1k6E0L8$3c8#2L8r3g2K6i4K6u0W2M7r3S2H3i4K6y4r3L8X3q4E0k6g2)9K6c8p5&6W2N6%4y4Q4x3U0k6X3K9h3I4W2i4K6y4p5j5i4u0@1K9h3y4D9k6g2)9J5y4Y4y4A6k6q4)9K6c8o6M7&6



以前写IDA的plugin比较烦,都要手工设置很多东西,比较烦。具体设置方式可以见IDA PLUG-IN WRITING IN C/C++,3. Setting up a Build Environment


以VS为例,设置过程如下:


1 Go to File->New->Project… (Ctrl-Shift-N)


2 Expand the Visual C++ folder, followed by the Win32 sub-folder, and then select the


Win32 Project icon. Name the project whatever you like and click OK.


3 The Win32 Application Wizard should then appear, click the Application Settings


link on the left and make sure Windows Application is selected, and then tick the


Empty Project checkbox. Click Finish.


4 In the Solutions Explorer on the right hand side, right click on the Source Files


folder and go to Add->New Item...


5 Select C++ File (.cpp) under the Templates section and name the file appropriately.


Click Add. Repeat this step for any other files you want to add to the project.


6 Go to Project->projectname Properties...


7 Change the following settings (some have been put there to reduce the size of the


resulting plug-in, as VS seems to bloat the output file massively):


Configuration drop down in the top left: Select Release


Configuration Properties->General: Change Configuration Type to


Dynamic Library (.dll)


C/C++->General: Set Detect 64-bit Portability Issues checks to No


C/C++->General: Set Debug Information Format to Disabled


C/C++->General: Add the SDK include path to the Additional Include


Directories field. e.g. C:\IDA\SDK\Include


C/C++->Preprocessor: Add __NT__;__IDP__ to Preprocessor Definitions


C/C++->Code Generation: Turn off Buffer Security Check, set Basic


Runtime Checks to Default and set Runtime Library to Multi-threaded


C/C++->Advanced: Calling Convention is __stdcall


Linker->General: Change Output File from a .exe to a .plw in the IDA plugins


directory


[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 7
支持
分享
最新回复 (2)
雪    币: 672
活跃值: (584)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
2
你们的主页总算更新了,真不容易
2009-7-29 16:21
0
雪    币: 2290
活跃值: (20)
能力值: ( LV9,RANK:150 )
在线值:
发帖
回帖
粉丝
3
4242,好一段时间没更新了。
2009-7-29 17:05
0
游客
登录 | 注册 方可回帖
返回