class HandleSemantic

Defined at line 327 of file ../../src/lib/fidl_codec/semantic.h

Object which hold the information we have about handles for all the processes.

Public Methods

void HandleSemantic ()

Defined at line 329 of file ../../src/lib/fidl_codec/semantic.h

void ~HandleSemantic ()

Defined at line 330 of file ../../src/lib/fidl_codec/semantic.h

const std::map<zx_koid_t, ProcessSemantic> & process_handles ()

Defined at line 332 of file ../../src/lib/fidl_codec/semantic.h

const std::map<zx_koid_t, zx_koid_t> & linked_koids ()

Defined at line 333 of file ../../src/lib/fidl_codec/semantic.h

size_t handle_size (zx_koid_t pid)

Defined at line 335 of file ../../src/lib/fidl_codec/semantic.h

const ProcessSemantic * GetProcessSemantic (zx_koid_t pid)

Defined at line 343 of file ../../src/lib/fidl_codec/semantic.h

InferredHandleInfo * GetInferredHandleInfo (zx_koid_t pid, zx_handle_t handle)

Defined at line 351 of file ../../src/lib/fidl_codec/semantic.h

void CreateHandleInfo (int64_t timestamp, zx_koid_t thread_koid, zx_handle_t handle)

Defined at line 363 of file ../../src/lib/fidl_codec/semantic.h

bool NeedsToLoadHandleInfo (int64_t timestamp, zx_koid_t tid, zx_handle_t handle)

Defined at line 365 of file ../../src/lib/fidl_codec/semantic.h

void AddInferredHandleInfo (zx_koid_t pid, zx_handle_t handle, const InferredHandleInfo * inferred_handle_info)

Defined at line 369 of file ../../src/lib/fidl_codec/semantic.h

void AddInferredHandleInfo (zx_koid_t pid, zx_handle_t handle, std::unique_ptr<InferredHandleInfo> inferred_handle_info)

Defined at line 377 of file ../../src/lib/fidl_codec/semantic.h

void AddInferredHandleInfo (zx_koid_t pid, zx_handle_t handle, std::string_view type)

Defined at line 382 of file ../../src/lib/fidl_codec/semantic.h

void AddInferredHandleInfo (zx_koid_t pid, zx_handle_t handle, std::string_view type, int64_t fd, std::string_view attributes)

Defined at line 386 of file ../../src/lib/fidl_codec/semantic.h

void AddInferredHandleInfo (zx_koid_t pid, zx_handle_t handle, std::string_view type, std::string_view path, std::string_view attributes)

Defined at line 392 of file ../../src/lib/fidl_codec/semantic.h

void AddInferredHandleInfo (zx_koid_t pid, zx_handle_t handle, uint32_t type)

Defined at line 398 of file ../../src/lib/fidl_codec/semantic.h

zx_handle_t GetLinkedHandle (zx_koid_t pid, zx_handle_t handle)

Returns the handle peer for a channel.

Defined at line 404 of file ../../src/lib/fidl_codec/semantic.h

void AddLinkedHandles (zx_koid_t pid, zx_handle_t handle0, zx_handle_t handle1)

Associates two channels which have been created by the same zx_channel_create.

Defined at line 417 of file ../../src/lib/fidl_codec/semantic.h

zx_koid_t GetLinkedKoid (zx_koid_t koid)

Returns the koid of a channel peer given the channel koid).

Defined at line 424 of file ../../src/lib/fidl_codec/semantic.h

void AddLinkedKoids (zx_koid_t koid0, zx_koid_t koid1)

Associates two channel koids.

Defined at line 433 of file ../../src/lib/fidl_codec/semantic.h