@Override
	public CodeBlock getCodeBlockAt(Address addr, TaskMonitor monitor) throws CancelledException {

		if (addr == null) {
			return null;
		}

		CodeBlock block = getSubFromCache(addr);
		if (block == null) {
			block = getAddressSetContaining(addr, monitor);
		}
		if (block != null) {
			Address[] entPts = block.getStartAddresses();
			for (Address entPt : entPts) {
				if (entPt.equals(addr)) {
					return block;
				}
			}
		}
		return null;
	}
Get the code block that has an entry point at addr.

@param addr one of the entry points for a Model-M subroutine
@param monitor task monitor which allows user to cancel operation.
@return null if there is no subroutine with an entry at addr.
@throws CancelledException if the monitor cancels the operation.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/block/MultEntSubModel.java