public static Variable getVariable(Program program, Variable var, Program otherProgram) {
		Symbol s = getSymbol(var.getSymbol(), otherProgram);
		return s != null ? (Variable) s.getObject() : null;
	}
Given a variable for a specified program, get the corresponding variable from the 
specified otherProgram.
@param program program which contains the specified variable instance
@param var variable to look for
@param otherProgram other program
@return corresponding variable for otherProgram or null if no such variable exists.
Ghidra/Features/Base/src/main/java/ghidra/program/util/DiffUtility.java