LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
InstrumentationRuntimeASanLibsanitizers Class Reference

#include <InstrumentationRuntimeASanLibsanitizers.h>

Inheritance diagram for InstrumentationRuntimeASanLibsanitizers:
Inheritance graph
[legend]

Public Member Functions

 ~InstrumentationRuntimeASanLibsanitizers () override
 
llvm::StringRef GetPluginName () override
 
virtual lldb::InstrumentationRuntimeType GetType ()
 
- Public Member Functions inherited from lldb_private::InstrumentationRuntime
void ModulesDidLoad (lldb_private::ModuleList &module_list)
 Look for the instrumentation runtime in module_list.
 
bool IsActive () const
 
virtual lldb::ThreadCollectionSP GetBacktracesFromExtendedStopInfo (StructuredData::ObjectSP info)
 
- Public Member Functions inherited from lldb_private::PluginInterface
 PluginInterface ()=default
 
virtual ~PluginInterface ()=default
 
virtual llvm::StringRef GetPluginName ()=0
 
 PluginInterface (const PluginInterface &)=delete
 
PluginInterfaceoperator= (const PluginInterface &)=delete
 

Static Public Member Functions

static lldb::InstrumentationRuntimeSP CreateInstance (const lldb::ProcessSP &process_sp)
 
static void Initialize ()
 
static void Terminate ()
 
static llvm::StringRef GetPluginNameStatic ()
 
static lldb::InstrumentationRuntimeType GetTypeStatic ()
 
- Static Public Member Functions inherited from lldb_private::InstrumentationRuntime
static void ModulesDidLoad (lldb_private::ModuleList &module_list, Process *process, InstrumentationRuntimeCollection &runtimes)
 

Private Member Functions

 InstrumentationRuntimeASanLibsanitizers (const lldb::ProcessSP &process_sp)
 
const lldb_private::RegularExpressionGetPatternForRuntimeLibrary () override
 Return a regular expression which can be used to identify a valid version of the runtime library.
 
bool CheckIfRuntimeIsValid (const lldb::ModuleSP module_sp) override
 Check whether module_sp corresponds to a valid runtime library.
 
void Activate () override
 Register a breakpoint in the runtime library and perform any other necessary initialization.
 
void Deactivate ()
 

Static Private Member Functions

static bool NotifyBreakpointHit (void *baton, lldb_private::StoppointCallbackContext *context, lldb::user_id_t break_id, lldb::user_id_t break_loc_id)
 

Additional Inherited Members

- Protected Member Functions inherited from lldb_private::InstrumentationRuntime
 InstrumentationRuntime (const lldb::ProcessSP &process_sp)
 
lldb::ProcessSP GetProcessSP ()
 
lldb::ModuleSP GetRuntimeModuleSP ()
 
void SetRuntimeModuleSP (lldb::ModuleSP module_sp)
 
lldb::user_id_t GetBreakpointID () const
 
void SetBreakpointID (lldb::user_id_t ID)
 
void SetActive (bool IsActive)
 
virtual const RegularExpressionGetPatternForRuntimeLibrary ()=0
 Return a regular expression which can be used to identify a valid version of the runtime library.
 
virtual bool CheckIfRuntimeIsValid (const lldb::ModuleSP module_sp)=0
 Check whether module_sp corresponds to a valid runtime library.
 
virtual void Activate ()=0
 Register a breakpoint in the runtime library and perform any other necessary initialization.
 

Detailed Description

Definition at line 14 of file InstrumentationRuntimeASanLibsanitizers.h.

Constructor & Destructor Documentation

◆ ~InstrumentationRuntimeASanLibsanitizers()

InstrumentationRuntimeASanLibsanitizers::~InstrumentationRuntimeASanLibsanitizers ( )
override

Definition at line 49 of file InstrumentationRuntimeASanLibsanitizers.cpp.

References Deactivate().

◆ InstrumentationRuntimeASanLibsanitizers()

InstrumentationRuntimeASanLibsanitizers::InstrumentationRuntimeASanLibsanitizers ( const lldb::ProcessSP process_sp)
inlineprivate

Definition at line 35 of file InstrumentationRuntimeASanLibsanitizers.h.

Member Function Documentation

◆ Activate()

void InstrumentationRuntimeASanLibsanitizers::Activate ( )
overrideprivatevirtual

◆ CheckIfRuntimeIsValid()

bool InstrumentationRuntimeASanLibsanitizers::CheckIfRuntimeIsValid ( const lldb::ModuleSP  module_sp)
overrideprivatevirtual

Check whether module_sp corresponds to a valid runtime library.

Implements lldb_private::InstrumentationRuntime.

Definition at line 61 of file InstrumentationRuntimeASanLibsanitizers.cpp.

References lldb::eSymbolTypeAny.

◆ CreateInstance()

lldb::InstrumentationRuntimeSP InstrumentationRuntimeASanLibsanitizers::CreateInstance ( const lldb::ProcessSP process_sp)
static

Definition at line 27 of file InstrumentationRuntimeASanLibsanitizers.cpp.

Referenced by Initialize(), and Terminate().

◆ Deactivate()

void InstrumentationRuntimeASanLibsanitizers::Deactivate ( )
private

◆ GetPatternForRuntimeLibrary()

const RegularExpression & InstrumentationRuntimeASanLibsanitizers::GetPatternForRuntimeLibrary ( )
overrideprivatevirtual

Return a regular expression which can be used to identify a valid version of the runtime library.

Implements lldb_private::InstrumentationRuntime.

Definition at line 55 of file InstrumentationRuntimeASanLibsanitizers.cpp.

◆ GetPluginName()

llvm::StringRef InstrumentationRuntimeASanLibsanitizers::GetPluginName ( )
inlineoverridevirtual

◆ GetPluginNameStatic()

static llvm::StringRef InstrumentationRuntimeASanLibsanitizers::GetPluginNameStatic ( )
inlinestatic

Definition at line 26 of file InstrumentationRuntimeASanLibsanitizers.h.

Referenced by GetPluginName(), and Initialize().

◆ GetType()

virtual lldb::InstrumentationRuntimeType InstrumentationRuntimeASanLibsanitizers::GetType ( )
inlinevirtual

Definition at line 32 of file InstrumentationRuntimeASanLibsanitizers.h.

References GetTypeStatic().

◆ GetTypeStatic()

lldb::InstrumentationRuntimeType InstrumentationRuntimeASanLibsanitizers::GetTypeStatic ( )
static

◆ Initialize()

void InstrumentationRuntimeASanLibsanitizers::Initialize ( )
static

◆ NotifyBreakpointHit()

bool InstrumentationRuntimeASanLibsanitizers::NotifyBreakpointHit ( void *  baton,
lldb_private::StoppointCallbackContext context,
lldb::user_id_t  break_id,
lldb::user_id_t  break_loc_id 
)
staticprivate

◆ Terminate()

void InstrumentationRuntimeASanLibsanitizers::Terminate ( )
static

The documentation for this class was generated from the following files: