def WriteRegister(Name, Value): response = UdkCommandHelper.sendPacket( "P%x=%s" % (_RegisterIndex(Name), UdkCommandHelper.list_to_string(Value))) if response == "OK": UdkCommandHelper.executeCommand("flushregs") return response == "OK"
def WriteRegister(Name, Value): response = UdkCommandHelper.sendPacket( "P%x=%s" % (_RegisterIndex(Name), UdkCommandHelper.list_to_string(Value)) ) if response == "OK": UdkCommandHelper.executeCommand("flushregs") return response == "OK"
def SearchSignature(Address, Length, Alignment, Positive, Signature): response = UdkCommandHelper.sendUdkExtensionPacket( "search,%x,%x,%x,%x,%s" % (Address, Length, Alignment, Positive, UdkCommandHelper.list_to_string(Signature))) if response == "": return None else: return int(response, 16)
def SearchSignature(Address, Length, Alignment, Positive, Signature): response = UdkCommandHelper.sendUdkExtensionPacket( "search,%x,%x,%x,%x,%s" % ( Address, Length, Alignment, Positive, UdkCommandHelper.list_to_string(Signature) ) ) if response == "": return None else: return int(response, 16)
def WriteMemory(Address, Width, Value): response = UdkCommandHelper.sendUdkExtensionPacket( "MMIO%x,%x,%x:%s" % (Address, Width, len(Value), UdkCommandHelper.list_to_string(Value, Width))) return response == "OK"
def WriteMemory(Address, Width, Value): response = UdkCommandHelper.sendUdkExtensionPacket( "MMIO%x,%x,%x:%s" % (Address, Width, len(Value), UdkCommandHelper.list_to_string(Value, Width)) ) return response == "OK"