mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 13:21:22 +08:00
Corrected improper scalar reference markup for negative values
This commit is contained in:
@@ -802,7 +802,7 @@ public class CodeUnitFormat {
|
||||
long originalValue = (addr.isStackAddress() &&
|
||||
originalScalar.bitLength() == addr.getAddressSpace().getSize())
|
||||
? originalScalar.getSignedValue()
|
||||
: originalScalar.getValue();
|
||||
: originalScalar.getUnsignedValue();
|
||||
long addrOffset;
|
||||
if (addr instanceof SegmentedAddress) {
|
||||
addrOffset = ((SegmentedAddress) addr).getSegmentOffset();
|
||||
|
||||
Reference in New Issue
Block a user