mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 10:10:13 +08:00
Original segmented address parsing exceptions
This commit is contained in:
+7
-1
@@ -216,9 +216,15 @@ public class SegmentedAddressSpace extends GenericAddressSpace {
|
||||
private SegmentedAddress parseSegmented(String segStr, String offStr)
|
||||
throws AddressFormatException {
|
||||
int seg = -1;
|
||||
int off = -1;
|
||||
try {
|
||||
seg = (int) parseString(segStr);
|
||||
}
|
||||
catch (NumberFormatException e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
int off = -1;
|
||||
try {
|
||||
off = (int) parseString(offStr);
|
||||
}
|
||||
catch (NumberFormatException e) {
|
||||
|
||||
Reference in New Issue
Block a user