Chinaunix首页 | 论坛 | 博客
  • 博客访问: 318883
  • 博文数量: 60
  • 博客积分: 2781
  • 博客等级: 少校
  • 技术积分: 600
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-23 16:42
文章分类

全部博文(60)

文章存档

2011年(33)

2010年(27)

分类: C/C++

2011-01-16 14:28:55

采用的集成开发环境Visual C++ 2010 Express,设置Plugin开发环境步骤如下:

l  创建新项目,将其设置为Empty ProjectIDAPluginTest,在Source Files里添加cpp文件如PluginForTest.cpp

l  右键项目,点击属性,编辑项目IDAPluginTest的属性。

l  Configuration Properties->General->Configuration Type=Dynamic Library(.dll)

l  Configuration Properties->C/C++->General->Additional Include Directories= path to SDK "include" folder

l  Configuration Properties->C/C++->Preprocessor->Preprocessor Definitions=add two items __NT__;__IDP__;

l  Configuration Properties->C/C++->Code Generation->Runtime Library=Multi-threaded Debug(/MTd)

l  Configuration Properties->C/C++->Advanced->Calling Convention=_stdcall(/Gz)

l  Configuration Properties->Linker->General->Output File= $(OutDir)$(TargetName).plw

l  Configuration Properties->Linker->General->Additional Library Directories= path to SDK "libvc.w32" folder;

l  Configuration Properties->Linker->Input->Additional Dependencies=add path to SDK libvc.w32\ida.lib;

l  Configuration Properties->Linker->Command Line->Additional Options=/EXPORT:PLUGIN

阅读(3536) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~