private void processExternalLocation(Map<String, Object> result) throws IOException {

		try {
			String name = (String) result.get("name");
			String location = (String) result.get("location");
			Address address = getLocation(result);
			String extern = (String) result.get("externalAddress");
			String source = (String) result.get("source");
			SourceType sourceType = getSourceType(source);
			if (sourceType.equals(SourceType.DEFAULT)) {
				sourceType = SourceType.IMPORTED;
			}
			boolean isClass = (boolean) result.get("isClass");
			Namespace p = walkNamespace(program.getGlobalNamespace(), location + "::", address, sourceType, isClass);
			String name0 = (String) result.get("originalImportedName");

			ExternalLocation loc = addExternal(result, name, address, sourceType, p, name0);
			externalMap.put(extern, loc);
		} catch (InvalidInputException | AddressOverflowException e) {
			log.appendException(e);
		}
	}
Process the entry point section of the SARIF file.

@param result  sarif reader
@param monitor monitor that can be canceled
Ghidra/Features/Sarif/src/main/java/sarif/managers/ExternalLibSarifMgr.java