I'm trying to do this
pack("<Q", 0x401a12)
It works as it is, but I need pack() to take string hex code
addr = "0x401a12" # some hex from dump
pack("<Q", addr)
Any help?
I'm trying to do this
pack("<Q", 0x401a12)
It works as it is, but I need pack() to take string hex code
addr = "0x401a12" # some hex from dump
pack("<Q", addr)
Any help?