Experimenting with xdb API, starting on compare tool.
This commit is contained in:
@@ -25,16 +25,22 @@ class PostmortemDebugTarget : public DebugTarget {
|
||||
PostmortemDebugTarget();
|
||||
~PostmortemDebugTarget() override;
|
||||
|
||||
const uint8_t* trace_base() const { return trace_base_ + 8; }
|
||||
size_t trace_length() const { return trace_length_; }
|
||||
|
||||
bool LoadTrace(const std::wstring& path,
|
||||
const std::wstring& content_path = L"");
|
||||
|
||||
bool Prepare();
|
||||
bool Prepare(std::atomic<bool>& cancelled);
|
||||
|
||||
std::unique_ptr<Cursor> CreateCursor() override;
|
||||
|
||||
private:
|
||||
HANDLE file_;
|
||||
HANDLE file_mapping_;
|
||||
const uint8_t* trace_base_;
|
||||
size_t trace_length_;
|
||||
|
||||
const protocol::ProcessStartEvent* process_start_event_;
|
||||
const protocol::ProcessExitEvent* process_exit_event_;
|
||||
|
||||
Reference in New Issue
Block a user