mirror of https://github.com/x64dbg/zydis
fixed build on apple-clang
This commit is contained in:
parent
8cfc7e90e3
commit
ead4f07fae
|
@ -34,6 +34,8 @@
|
|||
#include <cstdarg>
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
namespace Verteron
|
||||
{
|
||||
|
@ -622,7 +624,7 @@ const char* VXExactSymbolResolver::resolveSymbol(const VXInstructionInfo &info,
|
|||
uint64_t &offset)
|
||||
{
|
||||
std::unordered_map<uint64_t, std::string>::const_iterator iterator = m_symbolMap.find(address);
|
||||
if (iterator != m_symbolMap.end())
|
||||
if (iterator != m_symbolMap.cend())
|
||||
{
|
||||
offset = 0;
|
||||
return iterator->second.c_str();
|
||||
|
|
Loading…
Reference in New Issue