SymbolDB: In-class initialize Symbol class variables
This commit is contained in:
parent
54a643a4a3
commit
d8d127df25
|
@ -29,21 +29,17 @@ struct Symbol
|
||||||
SYMBOL_DATA = 1,
|
SYMBOL_DATA = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
Symbol() : hash(0), address(0), flags(0), size(0), numCalls(0), type(SYMBOL_FUNCTION), analyzed(0)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
std::vector<SCall> callers; // addresses of functions that call this function
|
std::vector<SCall> callers; // addresses of functions that call this function
|
||||||
std::vector<SCall> calls; // addresses of functions that are called by this function
|
std::vector<SCall> calls; // addresses of functions that are called by this function
|
||||||
u32 hash; // use for HLE function finding
|
u32 hash = 0; // use for HLE function finding
|
||||||
u32 address;
|
u32 address = 0;
|
||||||
u32 flags;
|
u32 flags = 0;
|
||||||
int size;
|
int size = 0;
|
||||||
int numCalls;
|
int numCalls = 0;
|
||||||
int type;
|
int type = SYMBOL_FUNCTION;
|
||||||
int index; // only used for coloring the disasm view
|
int index = 0; // only used for coloring the disasm view
|
||||||
int analyzed;
|
int analyzed = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
Loading…
Reference in New Issue