public void saveXml(Writer writer) throws IOException {
		writer.append("<fentry name=\"");
		SpecXmlUtils.xmlEscapeWriter(writer, funcName);
		writer.append("\" addr=\"0x");
		writer.append(Long.toHexString(address));
		writer.append("\"/>\n");
	}
Identifying information for a function within a single executable
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/protocol/FunctionEntry.java