#include <ida.hpp> #include <idp.hpp> #include <loader.hpp> #include <diskio.hpp> #include <funcs.hpp> #include <kernwin.hpp> #include <entry.hpp> #include <area.hpp> int IDAP_init(void) { // Do checks here to ensure your plug-in is being used within // an environment it was written for. Return PLUGIN_SKIP if the // checks fail, otherwise return PLUGIN_KEEP. return PLUGIN_KEEP; } void IDAP_term(void) { // Stuff to do when exiting, generally you'd put any sort // of clean-up jobs here. return; } // The plugin can be passed an integer argument from the plugins.cfg // file. This can be useful when you want the one plug-in to do // something different depending on the hot-key pressed or menu // item selected. void IDAP_run(int arg) { // The "meat" of your plug-in //在IDA下面框显示 msg("Hello world!/n"); //cmd命令 //call_system("notepad.ex