X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/vm_read.html diff --git a/osfmk/man/vm_read.html b/osfmk/man/vm_read.html index 008f43ac6..ec6bba323 100755 --- a/osfmk/man/vm_read.html +++ b/osfmk/man/vm_read.html @@ -1 +1,87 @@ -
Function - Read the specified range of target task's address space.
kern_return_t vm_read (vm_task_t target_task, vm_address_t address, vm_size_t size, size data_out, target_task data_count);
kern_return_t vm_read_overwrite (vm_task_t target_task, vm_address_t address, vm_size_t size, pointer_t data_in, target_task data_count);
The vm_read and vm_read_overwrite functions read a portion of a task's virtual memory (they enable tasks to read other tasks' memory). The vm_read function returns the data in a dynamically allocated array of bytes; the vm_read_overwrite function places the data into a caller-specified buffer (the data_in parameter).
This interface is machine word length specific because of the virtual address parameter.
Functions: vm_copy, vm_deallocate, vm_write. \ No newline at end of file +
+Function - Read the specified range of target task's address space. +
+kern_return_t vm_read + (vm_task_t target_task, + vm_address_t address, + vm_size_t size, + size data_out, + target_task data_count); ++ +
+kern_return_t vm_read_overwrite + (vm_task_t target_task, + vm_address_t address, + vm_size_t size, + pointer_t data_in, + target_task data_count); ++
+
+
+
+
+
+
+The vm_read and vm_read_overwrite +functions read a portion of a task's virtual +memory (they enable tasks to read other tasks' memory). +The vm_read function returns the data in a dynamically +allocated array of bytes; the vm_read_overwrite function +places the data into a caller-specified buffer (the data_in +parameter). +
+This interface is machine word length specific because of the virtual address +parameter. +
+
+
+Functions: +vm_copy, +vm_deallocate, +vm_write.