private GhidraState getInitialProgramState(Program program) {
		ProgramLocation location = null;
		AddressSetView initializedMem = program.getMemory().getLoadedAndInitializedAddressSet();
		if (!initializedMem.isEmpty()) {
			location = new ProgramLocation(program, initializedMem.getMinAddress());
		}
		return new GhidraState(null, project, program, location, null, null);
	}
Run a list of scripts

@param scriptsList  list of script names to run
@param scriptFileMap    mapping of script names to Script objects
@param scriptState  the GhidraState to be passed into each script
@param continueOption option that could have been set by script(s)
@return option that could have been set by script(s)
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessAnalyzer.java