mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-18 00:20:10 +00:00
Original segmented address parsing exceptions
This commit is contained in:
parent
cabe66e282
commit
0595537962
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user