(self, k)
Get the value of a register.

        :param str k: Name of the register. Prefix it with "_" prevents SimInspect being triggered and SimActions being
                      created.
        :param v:     Value to set to the register.
        :return:      Value of the register.
        :rtype:       claripy.ast.Base
Get the value of a register.
Get the value of a register .
def __getattr__(self, k):
        """
        Get the value of a register.

        :param str k: Name of the register. Prefix it with "_" prevents SimInspect being triggered and SimActions being
                      created.
        :param v:     Value to set to the register.
        :return:      Value of the register.
        :rtype:       claripy.ast.Base
        """

        state = super(SimRegNameView, self).__getattribute__('state') # type: SimState

        if isinstance(k, str) and k.startswith('_'):
            k = k[1:]
            inspect = False
            disable_actions = True
            events = False
        else:
            inspect = True
            disable_actions = False
            events = True

        try:
            return state.registers.load(k, inspect=inspect, disable_actions=disable_actions, events=events)
        except KeyError:
            return super(SimRegNameView, self).__getattribute__(k)
def __getattr__ ( self , k ) : state = super ( SimRegNameView , self ) . __getattribute__ ( 'state' ) # type: SimState if isinstance ( k , str ) and k . startswith ( '_' ) : k = k [ 1 : ] inspect = False disable_actions = True events = False else : inspect = True disable_actions = False events = True try : return state . registers . load ( k , inspect = inspect , disable_actions = disable_actions , events = events ) except KeyError : return super ( SimRegNameView , self ) . __getattribute__ ( k )