Jump to content
Tuts 4 You

help in writing ida plugins


abhijit mohanta

Recommended Posts

abhijit mohanta
Posted

I have written simple hellpoworld ida plugin using devcpp on windows ida plugin dev kit.I have put the .plw file into plugins path in ida . plugin sdk version 5.2 ida version 5.2

but I dont see the plugin coming in ida edit-->plugins options.I tried to configure plugins.cfg file still no results.I want to know whats wrong.I have even tried to place some readymade plugins in the plugin folder I see some of them orking while others not.Can anyone suggest on this.

plugin source code

#include <ida.hpp>

#include <idp.hpp>

#include <loader.hpp>

int IDAP_init(void)

{

}

void IDAP_term(void)

{

return;

}

void IDAP_run(int arg)

{

msg("hello world");

return;

}

char IDAP_comment[] = "this is test plugin";

char IDAP_name[] = "myplugin";

char IDAP_help[] = "pluginhelptest";

char IDAP_hotkey[] = "Alt-F5";

plugin_t PLUGIN =

{

IDP_INTERFACE_VERSION,

0,

IDAP_init,

IDAP_term,

IDAP_run,

IDAP_comment,

IDAP_help,

IDAP_name,

IDAP_hotkey

};

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...