mirror of
https://github.com/x64dbg/testplugin.git
synced 2026-11-09 14:01:27 -10:00
30 lines
634 B
C++
30 lines
634 B
C++
#ifndef _SCRIPTAPI_SYMBOL_H
|
|
#define _SCRIPTAPI_SYMBOL_H
|
|
|
|
#include "_scriptapi.h"
|
|
|
|
namespace Script
|
|
{
|
|
namespace Symbol
|
|
{
|
|
enum SymbolType
|
|
{
|
|
Function,
|
|
Import,
|
|
Export
|
|
};
|
|
|
|
struct SymbolInfo
|
|
{
|
|
char mod[MAX_MODULE_SIZE];
|
|
duint rva;
|
|
char name[MAX_LABEL_SIZE];
|
|
bool manual;
|
|
SymbolType type;
|
|
};
|
|
|
|
SCRIPT_EXPORT bool GetList(ListOf(SymbolInfo) list); //caller has the responsibility to free the list
|
|
}; //Symbol
|
|
}; //Script
|
|
|
|
#endif //_SCRIPTAPI_SYMBOL_H
|