Fix the OSX image base address so that binary patches work correctly.

develop
Alexander Gavrilov 2014-06-26 18:28:50 +04:00
parent 6f162a4e72
commit 17ed08cfe5
2 changed files with 2 additions and 2 deletions

@ -222,7 +222,7 @@ void Process::getMemRanges( vector<t_memrange> & ranges )
uintptr_t Process::getBase()
{
return 0x1000000;
return 0x1000;
}
int Process::adjustOffset(int offset, bool /*to_file*/)

@ -109,7 +109,7 @@ void VersionInfoFactory::ParseVersion (TiXmlElement* entry, VersionInfo* mem)
{
mem->setOS(OS_APPLE);
// this is wrong... I'm not going to do base image relocation on linux though.
mem->setBase(0x1000000);
mem->setBase(0x1000);
}
else
{