#include "InstrumentationRuntimeASanLibsanitizers.h"
#include "lldb/Breakpoint/StoppointCallbackContext.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginInterface.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Target/Process.h"
#include "lldb/Utility/RegularExpression.h"
#include "Plugins/InstrumentationRuntime/Utility/ReportRetriever.h"
usingnamespacelldb;
usingnamespacelldb_private;
LLDB_PLUGIN_DEFINE(…)
lldb::InstrumentationRuntimeSP
InstrumentationRuntimeASanLibsanitizers::CreateInstance(
const lldb::ProcessSP &process_sp) { … }
void InstrumentationRuntimeASanLibsanitizers::Initialize() { … }
void InstrumentationRuntimeASanLibsanitizers::Terminate() { … }
lldb::InstrumentationRuntimeType
InstrumentationRuntimeASanLibsanitizers::GetTypeStatic() { … }
InstrumentationRuntimeASanLibsanitizers::
~InstrumentationRuntimeASanLibsanitizers() { … }
const RegularExpression &
InstrumentationRuntimeASanLibsanitizers::GetPatternForRuntimeLibrary() { … }
bool InstrumentationRuntimeASanLibsanitizers::CheckIfRuntimeIsValid(
const lldb::ModuleSP module_sp) { … }
bool InstrumentationRuntimeASanLibsanitizers::NotifyBreakpointHit(
void *baton, StoppointCallbackContext *context, user_id_t break_id,
user_id_t break_loc_id) { … }
void InstrumentationRuntimeASanLibsanitizers::Activate() { … }
void InstrumentationRuntimeASanLibsanitizers::Deactivate() { … }