mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
blasted sym files just aren't always in address-order, must search entire sym file to find correct function for our offset.
svn path=/trunk/; revision=12270
This commit is contained in:
parent
73df8e0872
commit
d56daebd24
1 changed files with 1 additions and 4 deletions
|
@ -84,7 +84,7 @@ KdbpStabFindEntry(IN PIMAGE_SYMBOL_INFO SymbolInfo,
|
|||
for (; (ULONG_PTR)StabEntry < (ULONG_PTR)StabsEnd; StabEntry++)
|
||||
{
|
||||
ULONG_PTR SymbolRelativeAddress;
|
||||
|
||||
|
||||
if (StabEntry->n_type != Type)
|
||||
continue;
|
||||
|
||||
|
@ -93,9 +93,6 @@ KdbpStabFindEntry(IN PIMAGE_SYMBOL_INFO SymbolInfo,
|
|||
if (StabEntry->n_value >= SymbolInfo->ImageSize)
|
||||
continue;
|
||||
|
||||
if (StabEntry->n_value > (ULONG_PTR)RelativeAddress )
|
||||
break;
|
||||
|
||||
SymbolRelativeAddress = StabEntry->n_value;
|
||||
if ((SymbolRelativeAddress <= (ULONG_PTR)RelativeAddress) &&
|
||||
(SymbolRelativeAddress > AddrFound))
|
||||
|
|
Loading…
Reference in a new issue