mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5865 Add reference dialog fix for address spaces that have a wordsize
greater than one byte
This commit is contained in:
parent
d11c1c6c17
commit
0744141b15
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ public class AddressEvaluator extends ExpressionEvaluator {
|
||||||
long offset = longValue.getLongValue();
|
long offset = longValue.getLongValue();
|
||||||
AddressSpace space = getAddressSpace();
|
AddressSpace space = getAddressSpace();
|
||||||
try {
|
try {
|
||||||
return space.getAddressInThisSpaceOnly(offset);
|
return space.getAddressInThisSpaceOnly(offset*space.getAddressableUnitSize());
|
||||||
}
|
}
|
||||||
catch (AddressOutOfBoundsException e) {
|
catch (AddressOutOfBoundsException e) {
|
||||||
throw new ExpressionException(e.getMessage());
|
throw new ExpressionException(e.getMessage());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue