mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GT-3597 improved default reference update during language upgrade
redisassembly
This commit is contained in:
parent
1f54ed8a17
commit
b176767f07
3 changed files with 117 additions and 58 deletions
|
@ -104,7 +104,7 @@ public class FixLangId extends GhidraScript {
|
|||
List<LanguageDescription> descriptions =
|
||||
DefaultLanguageService.getLanguageService().getLanguageDescriptions(true);
|
||||
List<String> choices = new ArrayList<>(descriptions.size());
|
||||
for (int i = 0; i < choices.size(); i++) {
|
||||
for (int i = 0; i < descriptions.size(); i++) {
|
||||
choices.add(descriptions.get(i).getLanguageID().getIdAsString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue