LuaFunctionRegisterSpreadsheet/GhidraParser/GhidraParser.hpp

22 lines
472 B
C++
Raw Normal View History

#pragma once
#include <map>
#include <string>
typedef unsigned int uint; // i am lazy
typedef unsigned char byte;
//#pragma pack(push, 1)
struct FunctionInfo
{
uint address = 0;
std::string func = "";
std::string usg = "";
std::map<int, std::vector<std::string>> param_in{};
int param_in_cnt = 0;
std::map<int, std::vector<std::string>> param_out{};
int param_out_cnt = 0;
std::vector<std::string> parse_errors;
bool valid_parse = false;
};
//#pragma pack(pop)