예제 #1
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)
예제 #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)
예제 #3
0
파일: process.py 프로젝트: haxkor/forkever
    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)
예제 #4
0
 def writeWord(self, address, word):
     """
     Address have to be aligned!
     """
     ptrace_poketext(self.pid, address, word)
예제 #5
0
 def writeWord(self, address, word):
     """
     Address have to be aligned!
     """
     ptrace_poketext(self.pid, address, word)