SignatureDB: Rewrite FormatHandler API

This commit is contained in:
Sepalani
2017-03-24 00:31:52 +00:00
parent 2daf5cb86f
commit a9b52ce91b
9 changed files with 150 additions and 68 deletions

View File

@ -72,7 +72,7 @@ void PPCSymbolDB::AddKnownSymbol(u32 startAddr, u32 size, const std::string& nam
Symbol* tempfunc = &iter->second;
tempfunc->name = name;
tempfunc->function_name = GetStrippedFunctionName(name);
tempfunc->hash = SignatureDB::ComputeCodeChecksum(startAddr, startAddr + size - 4);
tempfunc->hash = HashSignatureDB::ComputeCodeChecksum(startAddr, startAddr + size - 4);
tempfunc->type = type;
tempfunc->size = size;
}