Might as well allow imports to blacklisted.

If someone's trying to read their code.
This commit is contained in:
Unknown W. Brackets 2014-05-24 17:15:25 -07:00
parent 8ef00232d3
commit c1fdb5fc5b

View File

@ -282,9 +282,6 @@ public:
void Cleanup();
void ImportFunc(const FuncSymbolImport &func) {
if (isFake) {
return;
}
if (!Memory::IsValidAddress(func.stubAddr)) {
WARN_LOG_REPORT(LOADER, "Invalid address for syscall stub %s %08x", func.moduleName, func.nid);
return;
@ -304,9 +301,6 @@ public:
}
void ImportVar(const VarSymbolImport &var) {
if (isFake) {
return;
}
// Keep track and actually hook it up if possible.
importedVars.push_back(var);
impExpModuleNames.insert(var.moduleName);