protected int getStructureComponent(Structure testInfoStruct, String fieldName) {
		for (DataTypeComponent component : testInfoStruct.getDefinedComponents()) {
			if (fieldName.equals(component.getFieldName())) {
				return component.getOffset();
			}
		}
		throw new RuntimeException(fieldName + " field not found within " +
			testInfoStruct.getName() + " structure definition at " + infoStructAddr.toString(true));
	}
Check for a Data pointer at the specified address and return the referenced
address.
@param addr address of stored pointer
@return pointer referenced address or null if no pointer found
Ghidra/Features/Base/src/main/java/ghidra/test/processors/support/PCodeTestAbstractControlBlock.java