public void bootstrapProgram(Program program) throws Exception {
		// Fulfill requirements for the syscall userop library:
		// 1) The "/pointer" data type exists, so it knows the machine word size
		program.getDataTypeManager()
				.resolve(PointerDataType.dataType, DataTypeConflictHandler.DEFAULT_HANDLER);
		// 2) Create the syscall space and add those we'll be using
		Address startOther = program.getAddressFactory()
				.getAddressSpace(SpaceNames.OTHER_SPACE_NAME)
				.getAddress(0);
		MemoryBlock blockSyscall = program.getMemory()
				.createUninitializedBlock(SYSCALL_SPACE_NAME, startOther, 0x10000, true);
		blockSyscall.setPermissions(true, false, true);

		for (SyscallName n : names) {
			placeSyscall(program, n.getNumber(), n.getName());
		}
	}
Prepare a program, simulating the analysis normally performed by the system call analyzer

@param program the program to prepare
@throws Exception if something goes wrong
Ghidra/Features/SystemEmulation/src/test/java/ghidra/pcode/emu/sys/SyscallTestHelper.java