mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-38 Refactored language/context related APIs to return unmodifiable
lists instead of arrays for some register related methods
This commit is contained in:
parent
0386895578
commit
e39b2e9ea9
43 changed files with 346 additions and 389 deletions
|
@ -219,8 +219,7 @@ public class BuildResultState extends GhidraScript {
|
|||
// }
|
||||
// }
|
||||
//
|
||||
Register[] regs = currentProgram.getLanguage().getRegisters();
|
||||
List<Register> registers = Arrays.asList(regs);
|
||||
List<Register> registers = currentProgram.getLanguage().getRegisters();
|
||||
try {
|
||||
Register reg = askChoice("Results Query", "Select Register:", registers, null);
|
||||
while (reg != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue