zx::process

Summary

Inheritance

Inherits from: zx::task< process >

Constructors and Destructors

process()
process(zx_handle_t value)
process(handle && h)
process(process && other)

Public static attributes

TYPE = ZX_OBJ_TYPE_PROCESS
constexpr zx_obj_type_t

Public functions

get_child(uint64_t koid, zx_rights_t rights, thread *result)
zx_status_t
operator=(process && other)
read_memory(uintptr_t vaddr, void *buffer, size_t len, size_t *actual)
zx_status_t
start(const thread & thread_handle, uintptr_t entry, uintptr_t stack, handle arg_handle, uintptr_t arg2)
zx_status_t
write_memory(uintptr_t vaddr, const void *buffer, size_t len, size_t *actual)
zx_status_t

Public static functions

create(const job & job, const char *name, uint32_t name_len, uint32_t flags, process *proc, vmar *root_vmar)
zx_status_t
self()

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_PROCESS

Public functions

get_child

zx_status_t get_child(
  uint64_t koid,
  zx_rights_t rights,
  thread *result
)

operator=

process & operator=(
  process && other
)

process

constexpr process()=default

process

 process(
  zx_handle_t value
)

process

 process(
  handle && h
)

process

 process(
  process && other
)

read_memory

zx_status_t read_memory(
  uintptr_t vaddr,
  void *buffer,
  size_t len,
  size_t *actual
)

start

zx_status_t start(
  const thread & thread_handle,
  uintptr_t entry,
  uintptr_t stack,
  handle arg_handle,
  uintptr_t arg2
)

write_memory

zx_status_t write_memory(
  uintptr_t vaddr,
  const void *buffer,
  size_t len,
  size_t *actual
)

Public static functions

create

zx_status_t create(
  const job & job,
  const char *name,
  uint32_t name_len,
  uint32_t flags,
  process *proc,
  vmar *root_vmar
)

self

unowned< process > self()