public static PcodeProgram fromInstruction(Instruction instruction, boolean includeOverrides) {
		Language language = instruction.getPrototype().getLanguage();
		if (!(language instanceof SleighLanguage slang)) {
			throw new IllegalArgumentException("Instruction must be parsed using Sleigh");
		}
		PcodeOp[] pcode = instruction.getPcode(includeOverrides);
		return new PcodeProgram(slang, List.of(pcode), Map.of());
	}
Generate a p-code program from the given instruction

@param instruction the instruction
@param includeOverrides as in {@link Instruction#getPcode(boolean)}
@return the p-code program
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeProgram.java