(self)
Execute a p-code store operation.
Execute a p-code store operation.
Execute a p - code store operation .
def _execute_store(self) -> None:
        """
        Execute a p-code store operation.
        """
        spc = self._current_op.inputs[0].get_space_from_const()
        assert spc.name in ("ram", "mem")
        off = self._get_value(self._current_op.inputs[1])
        data = self._get_value(self._current_op.inputs[2])
        l.debug("Storing %s at offset %s", data, off)
        self.state.memory.store(off, data, endness=self.project.arch.memory_endness)
def _execute_store ( self ) -> None : spc = self . _current_op . inputs [ 0 ] . get_space_from_const ( ) assert spc . name in ( "ram" , "mem" ) off = self . _get_value ( self . _current_op . inputs [ 1 ] ) data = self . _get_value ( self . _current_op . inputs [ 2 ] ) l . debug ( "Storing %s at offset %s" , data , off ) self . state . memory . store ( off , data , endness = self . project . arch . memory_endness )