Arguments pointers are passed around as integrer types and need
to be converted to pointers when performing ptrace IO operations such as
in get_struct(). Move the casts into get_struct() and friends and take
a uintptr_t argument rather than a void *.
Add a print_pointer function that takes a uintptr_t and uses a single
case plus "%p" to print pointers.