'Get address of the basic block or CFG node specified by v.
:param v: Can be one of the following: a CFGNode, or an address.
:return: The address.
:rtype: int'

def _get_addr(self, v):

    if isinstance(v, CFGNode):
        return v.addr
    elif (type(v) in (int, long)):
        return v
    else:
        raise AngrBladeError(('Unsupported    SimRun    argument    type    %s' % type(v)))
