Closed rodionovd closed 10 years ago
General notes:
mach_port_insert_right()
thread_set_exception_ports()
catch_exception_raise_state_identity()
*flavor == x86_THREAD_STATE64
rip
dlopen()
*out_state_count = x86_THREAD_STATE64_COUNT;
*flavor == x86_THREAD_STATE32
eip
*out_state_count = x86_THREAD_STATE32_COUNT
General notes:
mach_port_insert_right()
+thread_set_exception_ports()
to registers and exception port for the remote thread;catch_exception_raise_state_identity()
;*flavor == x86_THREAD_STATE64
rip
to remotedlopen()
*out_state_count = x86_THREAD_STATE64_COUNT;
*flavor == x86_THREAD_STATE32
eip
to remotedlopen()
*out_state_count = x86_THREAD_STATE32_COUNT