#include "MemoryHistoryASan.h"
#include "lldb/Target/MemoryHistory.h"
#include "Plugins/Process/Utility/HistoryThread.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginInterface.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Expression/UserExpression.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadList.h"
#include "lldb/lldb-private.h"
#include <sstream>
usingnamespacelldb;
usingnamespacelldb_private;
LLDB_PLUGIN_DEFINE(…)
MemoryHistorySP MemoryHistoryASan::CreateInstance(const ProcessSP &process_sp) { … }
void MemoryHistoryASan::Initialize() { … }
void MemoryHistoryASan::Terminate() { … }
MemoryHistoryASan::MemoryHistoryASan(const ProcessSP &process_sp) { … }
const char *memory_history_asan_command_prefix = …;
const char *memory_history_asan_command_format = …;
static void CreateHistoryThreadFromValueObject(ProcessSP process_sp,
ValueObjectSP return_value_sp,
const char *type,
const char *thread_name,
HistoryThreads &result) { … }
HistoryThreads MemoryHistoryASan::GetHistoryThreads(lldb::addr_t address) { … }