mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Original segmented address parsing exceptions
This commit is contained in:
parent
cabe66e282
commit
0595537962
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue