GP-3282 Separated out the concepts of whether or not a program was analyzed from the state of if the user should be asked to analyze on open

This commit is contained in:
ghidragon 2023-04-04 15:39:17 -04:00
parent 008c299fa3
commit bbadb4aed4
21 changed files with 215 additions and 152 deletions

View file

@ -49,7 +49,7 @@ public class PdbScreenShots extends GhidraScreenShotGenerator {
temporaryDir = createTempDirectory("example_pdb");
tx = program.startTransaction("set analyzed flag");
Options proplist = program.getOptions(Program.PROGRAM_INFO);
proplist.setBoolean(Program.ANALYZED, false);
proplist.setBoolean(Program.ANALYZED_OPTION_NAME, false);
PdbInfo pdbInfo = PdbInfoDotNet.fromValues("HelloWorld.pdb", 1, new GUID(GUID1_STR));
pdbInfo.serializeToOptions(proplist);
proplist.setString("Executable Location",