(state, value)
return str_ref
Allocate and initialize a new string in the context of the state passed.

        The method returns the reference to the newly allocated string

        :param state: angr state where we want to allocate the string
        :type SimState
        :param value: value of the string to initialize
        :type claripy.String

        :return SimSootValue_StringRef
Allocate and initialize a new string in the context of the state passed.
Allocate and initialize a new string in the context of the state passed .
def new_string(state, value):
        """
        Allocate and initialize a new string in the context of the state passed.

        The method returns the reference to the newly allocated string

        :param state: angr state where we want to allocate the string
        :type SimState
        :param value: value of the string to initialize
        :type claripy.String

        :return SimSootValue_StringRef
        """
        str_ref = SimSootValue_StringRef(state.memory.get_new_uuid())
        state.memory.store(str_ref, value)
        return str_ref
def new_string ( state , value ) : str_ref = SimSootValue_StringRef ( state . memory . get_new_uuid ( ) ) state . memory . store ( str_ref , value ) return str_ref