Fix GDC's Linux SIg offset checking (NPOTB).
This commit is contained in:
parent
8e813109a2
commit
2db2af9343
@ -571,7 +571,9 @@ void *GetLinuxSigPtr(void *handle, const char* symbol)
|
||||
|
||||
if (real_bytes >= 1)
|
||||
{
|
||||
return mu.FindPattern(handle, (char*)real_sig, real_bytes, matches, dummy);
|
||||
struct link_map *dlmap = (struct link_map *)handle;
|
||||
|
||||
return mu.FindPattern((void *)dlmap->l_addr, (char*)real_sig, real_bytes, matches, dummy);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user