mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-3285 Added parsing of parenthesized values with ull, llu, lu, LL suffixes
This commit is contained in:
parent
88d0110a09
commit
2ac921df58
3 changed files with 81 additions and 7 deletions
|
@ -269,7 +269,10 @@ public class AddressEvaluator {
|
|||
radix = 16;
|
||||
}
|
||||
strValue = strValue.toLowerCase();
|
||||
if (strValue.endsWith("ul")) {
|
||||
if (strValue.endsWith("ull") || strValue.endsWith("llu")) {
|
||||
strValue = strValue.substring(start, strValue.length() - 3);
|
||||
}
|
||||
else if (strValue.endsWith("ul") || strValue.endsWith("lu") || strValue.endsWith("ll")) {
|
||||
strValue = strValue.substring(start, strValue.length() - 2);
|
||||
}
|
||||
else if (strValue.endsWith("l") || strValue.endsWith("u")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue