def writeWord(self, address, word):
     """
     Address have to be aligned!
     """
     debug("Write word %s at %s" %
           (formatWordHex(word), formatAddress(address)))
     ptrace_poketext(self.pid, address, word)
Exemple #2
0
 def writeWord(self, address, word):
     """
     Address have to be aligned!
     """
     debug("Write word %s at %s" % (
         formatWordHex(word), formatAddress(address)))
     ptrace_poketext(self.pid, address, word)
Exemple #3
0
    def writeWord(self, address, word):
        """
        Address have to be aligned!
        """
        if word >= (1 << 63):
            from struct import pack, unpack
            word = pack("<Q", word)
            word = unpack("<q", word)[0]

        ptrace_poketext(self.pid, address, word)
Exemple #4
0
 def writeWord(self, address, word):
     """
     Address have to be aligned!
     """
     ptrace_poketext(self.pid, address, word)
Exemple #5
0
 def writeWord(self, address, word):
     """
     Address have to be aligned!
     """
     ptrace_poketext(self.pid, address, word)