public static long parseLong(String longStr) {
		boolean isNegative = longStr.startsWith("-");
		if (isNegative) {
			longStr = longStr.substring(1);
		}
		int radix = 10;
		if (longStr.startsWith("0x")) {
			longStr = longStr.substring(2);
			radix = 16;
		}
		long val = (radix == 10) ? NumericUtilities.parseLong(longStr) : NumericUtilities.parseHexLong(longStr);
		if (isNegative) {
			val *= -1;
		}
		return val;
	}
Read results from an SARIF file.

@param result       parsed SARIF results
@param options      for import/export
@param monitor      monitor that can be canceled
@throws AddressFormatException for bad locations
@throws CancelledException if cancelled
Ghidra/Features/Sarif/src/main/java/sarif/managers/SarifMgr.java