class ProcessImpl

Defined at line 27 of file ../../src/developer/debug/zxdb/client/process_impl.h

Public Methods

void ProcessImpl (TargetImpl * target, uint64_t koid, const std::string & name, Process::StartType start_type, const std::vector<debug_ipc::ComponentInfo> & component_info, std::optional<debug_ipc::AddressRegion> shared_aspace)

Defined at line 34 of file ../../src/developer/debug/zxdb/client/process_impl.cc

TargetImpl * target ()

Defined at line 40 of file ../../src/developer/debug/zxdb/client/process_impl.h

Target * GetTarget ()

Process implementation:

Defined at line 43 of file ../../src/developer/debug/zxdb/client/process_impl.h

uint64_t GetKoid ()

Defined at line 44 of file ../../src/developer/debug/zxdb/client/process_impl.h

const std::string & GetName ()

Defined at line 45 of file ../../src/developer/debug/zxdb/client/process_impl.h

const std::vector<debug_ipc::ComponentInfo> & GetComponentInfo ()

Defined at line 46 of file ../../src/developer/debug/zxdb/client/process_impl.h

void ~ProcessImpl ()

Defined at line 47 of file ../../src/developer/debug/zxdb/client/process_impl.cc

ProcessSymbols * GetSymbols ()

Defined at line 49 of file ../../src/developer/debug/zxdb/client/process_impl.h

std::unique_ptr<ProcessImpl> FromPreviousProcess (TargetImpl * target, const debug_ipc::ProcessRecord & record)

static.

Defined at line 56 of file ../../src/developer/debug/zxdb/client/process_impl.cc

ThreadImpl * GetThreadImplFromKoid (uint64_t koid)

Defined at line 67 of file ../../src/developer/debug/zxdb/client/process_impl.cc

bool HasLoadedSymbols ()

Defined at line 74 of file ../../src/developer/debug/zxdb/client/process_impl.cc

SymbolStatus GetSymbolStatus ()

Defined at line 76 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void SetMemoryBlocks (uint64_t thread_koid, std::vector<debug_ipc::MemoryBlock> memory_blocks)

This is used when a breakpoint with automation is received, this stores the extra data that

will be used later.

Defined at line 90 of file ../../src/developer/debug/zxdb/client/process_impl.h

void GetModules (bool force_reload_symbols, fit::callback<void (const Err &, std::vector<debug_ipc::Module>)> )

Defined at line 97 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void GetAspace (uint64_t address, fit::callback<void (const Err &, std::vector<debug_ipc::AddressRegion>)> )

Defined at line 116 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::vector<Thread *> GetThreads ()

Defined at line 130 of file ../../src/developer/debug/zxdb/client/process_impl.cc

Thread * GetThreadFromKoid (uint64_t koid)

Defined at line 138 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void SyncThreads (fit::callback<void ()> callback)

Defined at line 140 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void Pause (fit::callback<void ()> on_paused)

Defined at line 154 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void Continue (bool forward_exceptions)

Defined at line 173 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void ContinueUntil (std::vector<InputLocation> location, fit::callback<void (const Err &)> cb)

Defined at line 184 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void CancelAllThreadControllers ()

Defined at line 189 of file ../../src/developer/debug/zxdb/client/process_impl.cc

fxl::RefPtr<SymbolDataProvider> GetSymbolDataProvider ()

Defined at line 194 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void GetTLSHelpers (GetTLSHelpersCallback cb)

Defined at line 202 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void ReadMemory (uint64_t address, uint32_t size, fit::callback<void (const Err &, MemoryDump)> callback)

Defined at line 214 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void WriteMemory (uint64_t address, std::vector<uint8_t> data, fit::callback<void (const Err &)> callback)

Defined at line 257 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void LoadInfoHandleTable (fit::callback<void (ErrOr<std::vector<debug_ipc::InfoHandle>>)> callback)

Defined at line 279 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::optional<debug_ipc::AddressRegion> GetSharedAddressSpace ()

Defined at line 296 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnThreadStarting (const debug_ipc::ThreadRecord & record)

Notifications from the agent that a thread has started or exited.

Defined at line 300 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnThreadExiting (const debug_ipc::ThreadRecord & record)

Defined at line 316 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnModules (std::vector<debug_ipc::Module> modules)

Notification that the list of loaded modules may have been updated.

Defined at line 372 of file ../../src/developer/debug/zxdb/client/process_impl.cc

bool HandleIO (const debug_ipc::NotifyIO & )

Returns true if the caller should show the output. False means silence.

Defined at line 390 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnSymbolLoadFailure (const Err & err)

ProcessSymbols::Notifications implementation (public portion):

Defined at line 559 of file ../../src/developer/debug/zxdb/client/process_impl.cc

debug_ipc::ResumeRequest::How OnException (const StopInfo & info)

Called by a thread instance when an exception occurs, before any automatic action has been

decided.

Defined at line 330 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void FetchMemoryRanges (std::vector<std::pair<uint64_t, uint32_t>> ranges, fit::callback<void ()> done)

unwinder::AsyncMemory::Delegate implementation.

Defined at line 564 of file ../../src/developer/debug/zxdb/client/process_impl.cc

unwinder::Error ReadBytes (uint64_t addr, uint64_t size, void * dst)

Defined at line 613 of file ../../src/developer/debug/zxdb/client/process_impl.cc