ROSE 0.11.145.147
Classes | Typedefs | Enumerations | Functions | Variables
Rose::BinaryAnalysis::Debugger Namespace Reference

Description

Name space for dynamic debuggers.

This name space holds everything related to running a specimen under a debugger.

Classes

class  Base
 Base class for debuggers. More...
 
class  Exception
 Exceptions for debugging. More...
 
class  ThreadId
 Thread ID. More...
 

Typedefs

using BasePtr = Sawyer::SharedPointer< Base >
 
using Ptr = BasePtr
 
using GdbPtr = Sawyer::SharedPointer< Gdb >
 
using LinuxPtr = Sawyer::SharedPointer< Linux >
 
using FilterAction = BitFlags< FilterActionFlag >
 Return value for tracing.
 

Enumerations

enum class  FilterActionFlag {
  REJECT = 0x00000001 ,
  STOP = 0x00000002
}
 Action for trace filter callback. More...
 

Functions

void initDiagnostics ()
 Initialize diagnostic facility.
 

Variables

Sawyer::Message::Facility mlog
 Diagnostic facility for debuggers.
 

Typedef Documentation

◆ BasePtr

Definition at line 15 of file Rose/BinaryAnalysis/Debugger/BasicTypes.h.

◆ Ptr

Definition at line 16 of file Rose/BinaryAnalysis/Debugger/BasicTypes.h.

◆ GdbPtr

Definition at line 21 of file Rose/BinaryAnalysis/Debugger/BasicTypes.h.

◆ LinuxPtr

Definition at line 26 of file Rose/BinaryAnalysis/Debugger/BasicTypes.h.

◆ FilterAction

Return value for tracing.

The return value from the trace filter indicates whether the current address should be appended to the trace or rejected, and whether the tracing operation should continue or stop. A default constructed FilterAction will append the current address to the trace and continue tracing, which is normally what one wants.

Definition at line 49 of file Rose/BinaryAnalysis/Debugger/BasicTypes.h.

Enumeration Type Documentation

◆ FilterActionFlag

Action for trace filter callback.

Enumerator
REJECT 

Reject the current address, not appending it to the trace.

STOP 

Abort tracing, either appending or rejecting the current address.

Definition at line 39 of file Rose/BinaryAnalysis/Debugger/BasicTypes.h.

Function Documentation

◆ initDiagnostics()

void Rose::BinaryAnalysis::Debugger::initDiagnostics ( )

Initialize diagnostic facility.

This is called automatically when the ROSE library is initialized.