Adjusted the search function to find the symbol associated with an
address when EIP address resolving is enabled.
This commit is contained in:
parent
fce0c596cd
commit
1aa1cfdb64
@ -516,7 +516,9 @@ extern char * LookupModuleSymbol(value, sym)
|
||||
if ( mp->sym_array[nsym].value > value )
|
||||
{
|
||||
if ( sym->size == 0 ||
|
||||
(mp->sym_array[nsym].value-last->value) < sym->size )
|
||||
(value - last->value) < sym->offset ||
|
||||
( (sym->offset == (value - last->value)) &&
|
||||
(mp->sym_array[nsym].value-last->value) < sym->size ) )
|
||||
{
|
||||
sym->offset = value - last->value;
|
||||
sym->size = mp->sym_array[nsym].value - \
|
||||
|
Loading…
Reference in New Issue
Block a user