Fix compilation for 32-bit

This commit is contained in:
Duncan Ogilvie 2020-11-12 03:31:37 +01:00
parent c3bdb07ab6
commit c69ab584fe

View File

@ -1231,6 +1231,7 @@ bool ModRelocationsInRange(duint Address, duint Size, std::vector<MODRELOCATIONI
return !Relocations.empty();
}
#if _WIN64
const RUNTIME_FUNCTION* MODINFO::findRuntimeFunction(DWORD rva) const
{
const auto found = std::lower_bound(runtimeFunctions.cbegin(), runtimeFunctions.cend(), rva, [](const RUNTIME_FUNCTION & a, const DWORD & rva)
@ -1243,6 +1244,7 @@ const RUNTIME_FUNCTION* MODINFO::findRuntimeFunction(DWORD rva) const
return nullptr;
}
#endif
bool MODINFO::loadSymbols(const String & pdbPath, bool forceLoad)
{