mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 21:45:55 +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() &&
|
long originalValue = (addr.isStackAddress() &&
|
||||||
originalScalar.bitLength() == addr.getAddressSpace().getSize())
|
originalScalar.bitLength() == addr.getAddressSpace().getSize())
|
||||||
? originalScalar.getSignedValue()
|
? originalScalar.getSignedValue()
|
||||||
: originalScalar.getValue();
|
: originalScalar.getUnsignedValue();
|
||||||
long addrOffset;
|
long addrOffset;
|
||||||
if (addr instanceof SegmentedAddress) {
|
if (addr instanceof SegmentedAddress) {
|
||||||
addrOffset = ((SegmentedAddress) addr).getSegmentOffset();
|
addrOffset = ((SegmentedAddress) addr).getSegmentOffset();
|
||||||
|
|||||||
Reference in New Issue
Block a user