proc: Use correct type for mach task

This commit is contained in:
Derek Parker
2016-04-12 22:53:13 -07:00
parent 4fd02c829a
commit f37a26d525
7 changed files with 16 additions and 15 deletions

View File

@ -5,10 +5,10 @@
#include <mach/thread_info.h>
int
write_memory(mach_port_name_t, mach_vm_address_t, void *, mach_msg_type_number_t);
write_memory(task_t, mach_vm_address_t, void *, mach_msg_type_number_t);
int
read_memory(mach_port_name_t, mach_vm_address_t, void *, mach_msg_type_number_t);
read_memory(task_t, mach_vm_address_t, void *, mach_msg_type_number_t);
kern_return_t
get_registers(mach_port_name_t, x86_thread_state64_t*);