ida plug-in helloworld
                                            
 4690 단어  helloworld
                    
#include <ida.hpp>
#include <idp.hpp>
#include <loader.hpp>
#include <kernwin.hpp>
int __stdcall IDP_init(void)
{
  //        ,                 。
  if ( 0 )
  {
    error("sorry!");
    return PLUGIN_SKIP;
  }
  return PLUGIN_KEEP;
}
void __stdcall IDP_term(void)
{
  //      ,                  。
  return;                                                                       
}
//      plugins.cfg   ,         。
//              ,              ,     。
void __stdcall IDP_run(int arg)
{
  //      
  msg("Hello world!
");
  return;
}
//  Edit->Plugins    ,       ,      plugins.cfg    
char IDP_name[] = "My plugin";
char IDP_comment[] = "This is my test plug-in";
char IDP_help[] = "My plugin";
char IDP_hotkey[] = "Ctrl-Alt-X"; //        
//   PLUGIN         。
plugin_t PLUGIN =
{
  IDP_INTERFACE_VERSION, // IDA version plug-in is written for
  0, // Flags (see below)
  IDP_init, // Initialisation function
  IDP_term, // Clean-up function
  IDP_run, // Main plug-in body
  IDP_comment, // Comment – unused
  IDP_help, // As above – unused
  IDP_name, // Plug-in name shown in Edit->Plugins menu
  IDP_hotkey // Hot key to run the plug-in
};이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
안녕, 세계! C 프로그램이번 포스팅에서는 Hello, World! 이해하기 쉬운 방식으로 C로 프로그래밍하십시오. Hello, World를 이해하기 위해! C로 프로그래밍하려면 다음 게시물에 대한 지식이 있어야 합니다. (해시) 포함 (해...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.