mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-4040 added ability for scripts to open programs that need to be upgraded, with ask options
This commit is contained in:
parent
e81515d9d8
commit
514c04906b
6 changed files with 142 additions and 43 deletions
|
@ -75,7 +75,7 @@ public class AskValuesExampleScript extends GhidraScript {
|
|||
// show up in the tool and when you release the consumer, it will be closed.
|
||||
// NOTE: if you call getProgram() more than once, the consumer will be added multiple times
|
||||
// and you must release it multiple times
|
||||
Program program = values.getProgram("Other Program", this, state.getTool());
|
||||
Program program = values.getProgram("Other Program", this, state.getTool(), true);
|
||||
|
||||
println("Name = " + name);
|
||||
println("Count = " + age);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue