Rewrite SymbolTable

This commit is contained in:
Kingcom
2013-11-27 13:33:30 +01:00
parent 33da416a82
commit 5844d0107b
13 changed files with 527 additions and 625 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ public:
// Add the symbol to the symbol map for debugging.
char temp[256];
sprintf(temp,"zz_%s", GetFuncName(func.moduleName, func.nid));
symbolMap.AddSymbol(temp, func.stubAddr, 8, ST_FUNCTION);
symbolMap.AddFunction(temp,func.stubAddr,8);
// Keep track and actually hook it up if possible.
importedFuncs.push_back(func);