private void setExecutableType(long magic) {
		exeType = switch ((short) (magic & 0xFFFF)) {
			case 0x111 -> AoutType.CMAGIC; // 0421: core file
			case 0x108 -> AoutType.NMAGIC; // 0410: pure executable
			case 0x107 -> AoutType.OMAGIC; // 0407: object file or impure executable
			case 0x0CC -> AoutType.QMAGIC; // 0314: demand-paged exe w/ header in .text
			case 0x10B -> AoutType.ZMAGIC; // 0413: demand-paged executable
			default -> AoutType.UNKNOWN;
		};
	}
Sets the executable type based on the given magic

@param magic The magic
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/unixaout/UnixAoutHeader.java