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)
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)
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)
def writeWord(self, address, word): """ Address have to be aligned! """ ptrace_poketext(self.pid, address, word)