blob: 8e309279416bc69bfc7485c3017fb65a161884f5 [file] [log] [blame]
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
The lldb module contains the public APIs for Python binding.
Some of the important classes are described here:
o SBTarget: Represents the target program running under the debugger.
o SBProcess: Represents the process associated with the target program.
o SBThread: Represents a thread of execution. SBProcess contains SBThread(s).
o SBFrame: Represents one of the stack frames associated with a thread. SBThread
contains SBFrame(s).
o SBSymbolContext: A container that stores various debugger related info.
o SBValue: Represents the value of a variable, a register, or an expression.
o SBModule: Represents an executable image and its associated object and symbol
files. SBTarget contains SBModule(s).
o SBBreakpoint: Represents a logical breakpoint and its associated settings.
SBTarget contains SBBreakpoint(s).
o SBSymbol: Represents the symbol possibly associated with a stack frame.
o SBCompileUnit: Represents a compilation unit, or compiled source file.
o SBFunction: Represents a generic function, which can be inlined or not.
o SBBlock: Represents a lexical block. SBFunction contains SBBlock(s).
o SBLineEntry: Specifies an association with a contiguous range of instructions
and a source file location. SBCompileUnit contains SBLineEntry(s).
"""
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
try:
# Try an absolute import first. If we're being loaded from lldb,
# _lldb should be a built-in module.
import _lldb
except ImportError:
# Relative import should work if we are being loaded by Python.
from . import _lldb
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
def _swig_setattr_nondynamic_instance_variable(set):
def set_instance_attr(self, name, value):
if name == "thisown":
self.this.own(value)
elif name == "this":
set(self, name, value)
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
set(self, name, value)
else:
raise AttributeError("You cannot add instance attributes to %s" % self)
return set_instance_attr
def _swig_setattr_nondynamic_class_variable(set):
def set_class_attr(cls, name, value):
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
set(cls, name, value)
else:
raise AttributeError("You cannot add class attributes to %s" % cls)
return set_class_attr
def _swig_add_metaclass(metaclass):
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
def wrapper(cls):
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
return wrapper
class _SwigNonDynamicMeta(type):
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
import uuid
import re
import os
import six
#SWIG_VERSION is written as a single hex number, but the components of it are
#meant to be interpreted in decimal. So, 0x030012 is swig 3.0.12, and not
#3.0.18.
def _to_int(hex):
return hex // 0x10 % 0x10 * 10 + hex % 0x10
swig_version = (_to_int(0x040001 // 0x10000), _to_int(0x040001 // 0x100), _to_int(0x040001))
del _to_int
# ===================================
# Iterator for lldb container objects
# ===================================
def lldb_iter(obj, getsize, getelem):
"""A generator adaptor to support iteration for lldb container objects."""
size = getattr(obj, getsize)
elem = getattr(obj, getelem)
for i in range(size()):
yield elem(i)
INT32_MAX = _lldb.INT32_MAX
UINT32_MAX = _lldb.UINT32_MAX
UINT64_MAX = _lldb.UINT64_MAX
LLDB_GENERIC_ERROR = _lldb.LLDB_GENERIC_ERROR
LLDB_INVALID_BREAK_ID = _lldb.LLDB_INVALID_BREAK_ID
LLDB_DEFAULT_BREAK_SIZE = _lldb.LLDB_DEFAULT_BREAK_SIZE
LLDB_INVALID_WATCH_ID = _lldb.LLDB_INVALID_WATCH_ID
LLDB_WATCH_TYPE_READ = _lldb.LLDB_WATCH_TYPE_READ
LLDB_WATCH_TYPE_WRITE = _lldb.LLDB_WATCH_TYPE_WRITE
LLDB_REGNUM_GENERIC_PC = _lldb.LLDB_REGNUM_GENERIC_PC
LLDB_REGNUM_GENERIC_SP = _lldb.LLDB_REGNUM_GENERIC_SP
LLDB_REGNUM_GENERIC_FP = _lldb.LLDB_REGNUM_GENERIC_FP
LLDB_REGNUM_GENERIC_RA = _lldb.LLDB_REGNUM_GENERIC_RA
LLDB_REGNUM_GENERIC_FLAGS = _lldb.LLDB_REGNUM_GENERIC_FLAGS
LLDB_REGNUM_GENERIC_ARG1 = _lldb.LLDB_REGNUM_GENERIC_ARG1
LLDB_REGNUM_GENERIC_ARG2 = _lldb.LLDB_REGNUM_GENERIC_ARG2
LLDB_REGNUM_GENERIC_ARG3 = _lldb.LLDB_REGNUM_GENERIC_ARG3
LLDB_REGNUM_GENERIC_ARG4 = _lldb.LLDB_REGNUM_GENERIC_ARG4
LLDB_REGNUM_GENERIC_ARG5 = _lldb.LLDB_REGNUM_GENERIC_ARG5
LLDB_REGNUM_GENERIC_ARG6 = _lldb.LLDB_REGNUM_GENERIC_ARG6
LLDB_REGNUM_GENERIC_ARG7 = _lldb.LLDB_REGNUM_GENERIC_ARG7
LLDB_REGNUM_GENERIC_ARG8 = _lldb.LLDB_REGNUM_GENERIC_ARG8
LLDB_INVALID_ADDRESS = _lldb.LLDB_INVALID_ADDRESS
LLDB_INVALID_INDEX32 = _lldb.LLDB_INVALID_INDEX32
LLDB_INVALID_IVAR_OFFSET = _lldb.LLDB_INVALID_IVAR_OFFSET
LLDB_INVALID_IMAGE_TOKEN = _lldb.LLDB_INVALID_IMAGE_TOKEN
LLDB_INVALID_MODULE_VERSION = _lldb.LLDB_INVALID_MODULE_VERSION
LLDB_INVALID_REGNUM = _lldb.LLDB_INVALID_REGNUM
LLDB_INVALID_UID = _lldb.LLDB_INVALID_UID
LLDB_INVALID_PROCESS_ID = _lldb.LLDB_INVALID_PROCESS_ID
LLDB_INVALID_THREAD_ID = _lldb.LLDB_INVALID_THREAD_ID
LLDB_INVALID_FRAME_ID = _lldb.LLDB_INVALID_FRAME_ID
LLDB_INVALID_SIGNAL_NUMBER = _lldb.LLDB_INVALID_SIGNAL_NUMBER
LLDB_INVALID_OFFSET = _lldb.LLDB_INVALID_OFFSET
LLDB_INVALID_LINE_NUMBER = _lldb.LLDB_INVALID_LINE_NUMBER
LLDB_INVALID_QUEUE_ID = _lldb.LLDB_INVALID_QUEUE_ID
LLDB_ARCH_DEFAULT = _lldb.LLDB_ARCH_DEFAULT
LLDB_ARCH_DEFAULT_32BIT = _lldb.LLDB_ARCH_DEFAULT_32BIT
LLDB_ARCH_DEFAULT_64BIT = _lldb.LLDB_ARCH_DEFAULT_64BIT
LLDB_INVALID_CPUTYPE = _lldb.LLDB_INVALID_CPUTYPE
LLDB_MAX_NUM_OPTION_SETS = _lldb.LLDB_MAX_NUM_OPTION_SETS
LLDB_OPT_SET_ALL = _lldb.LLDB_OPT_SET_ALL
LLDB_OPT_SET_1 = _lldb.LLDB_OPT_SET_1
LLDB_OPT_SET_2 = _lldb.LLDB_OPT_SET_2
LLDB_OPT_SET_3 = _lldb.LLDB_OPT_SET_3
LLDB_OPT_SET_4 = _lldb.LLDB_OPT_SET_4
LLDB_OPT_SET_5 = _lldb.LLDB_OPT_SET_5
LLDB_OPT_SET_6 = _lldb.LLDB_OPT_SET_6
LLDB_OPT_SET_7 = _lldb.LLDB_OPT_SET_7
LLDB_OPT_SET_8 = _lldb.LLDB_OPT_SET_8
LLDB_OPT_SET_9 = _lldb.LLDB_OPT_SET_9
LLDB_OPT_SET_10 = _lldb.LLDB_OPT_SET_10
LLDB_OPT_SET_11 = _lldb.LLDB_OPT_SET_11
eStateInvalid = _lldb.eStateInvalid
eStateUnloaded = _lldb.eStateUnloaded
eStateConnected = _lldb.eStateConnected
eStateAttaching = _lldb.eStateAttaching
eStateLaunching = _lldb.eStateLaunching
eStateStopped = _lldb.eStateStopped
eStateRunning = _lldb.eStateRunning
eStateStepping = _lldb.eStateStepping
eStateCrashed = _lldb.eStateCrashed
eStateDetached = _lldb.eStateDetached
eStateExited = _lldb.eStateExited
eStateSuspended = _lldb.eStateSuspended
kLastStateType = _lldb.kLastStateType
eLaunchFlagNone = _lldb.eLaunchFlagNone
eLaunchFlagExec = _lldb.eLaunchFlagExec
eLaunchFlagDebug = _lldb.eLaunchFlagDebug
eLaunchFlagStopAtEntry = _lldb.eLaunchFlagStopAtEntry
eLaunchFlagDisableASLR = _lldb.eLaunchFlagDisableASLR
eLaunchFlagDisableSTDIO = _lldb.eLaunchFlagDisableSTDIO
eLaunchFlagLaunchInTTY = _lldb.eLaunchFlagLaunchInTTY
eLaunchFlagLaunchInShell = _lldb.eLaunchFlagLaunchInShell
eLaunchFlagLaunchInSeparateProcessGroup = _lldb.eLaunchFlagLaunchInSeparateProcessGroup
eLaunchFlagDontSetExitStatus = _lldb.eLaunchFlagDontSetExitStatus
eLaunchFlagDetachOnError = _lldb.eLaunchFlagDetachOnError
eLaunchFlagShellExpandArguments = _lldb.eLaunchFlagShellExpandArguments
eLaunchFlagCloseTTYOnExit = _lldb.eLaunchFlagCloseTTYOnExit
eOnlyThisThread = _lldb.eOnlyThisThread
eAllThreads = _lldb.eAllThreads
eOnlyDuringStepping = _lldb.eOnlyDuringStepping
eByteOrderInvalid = _lldb.eByteOrderInvalid
eByteOrderBig = _lldb.eByteOrderBig
eByteOrderPDP = _lldb.eByteOrderPDP
eByteOrderLittle = _lldb.eByteOrderLittle
eEncodingInvalid = _lldb.eEncodingInvalid
eEncodingUint = _lldb.eEncodingUint
eEncodingSint = _lldb.eEncodingSint
eEncodingIEEE754 = _lldb.eEncodingIEEE754
eEncodingVector = _lldb.eEncodingVector
eFormatDefault = _lldb.eFormatDefault
eFormatInvalid = _lldb.eFormatInvalid
eFormatBoolean = _lldb.eFormatBoolean
eFormatBinary = _lldb.eFormatBinary
eFormatBytes = _lldb.eFormatBytes
eFormatBytesWithASCII = _lldb.eFormatBytesWithASCII
eFormatChar = _lldb.eFormatChar
eFormatCharPrintable = _lldb.eFormatCharPrintable
eFormatComplex = _lldb.eFormatComplex
eFormatComplexFloat = _lldb.eFormatComplexFloat
eFormatCString = _lldb.eFormatCString
eFormatDecimal = _lldb.eFormatDecimal
eFormatEnum = _lldb.eFormatEnum
eFormatHex = _lldb.eFormatHex
eFormatHexUppercase = _lldb.eFormatHexUppercase
eFormatFloat = _lldb.eFormatFloat
eFormatOctal = _lldb.eFormatOctal
eFormatOSType = _lldb.eFormatOSType
eFormatUnicode16 = _lldb.eFormatUnicode16
eFormatUnicode32 = _lldb.eFormatUnicode32
eFormatUnsigned = _lldb.eFormatUnsigned
eFormatPointer = _lldb.eFormatPointer
eFormatVectorOfChar = _lldb.eFormatVectorOfChar
eFormatVectorOfSInt8 = _lldb.eFormatVectorOfSInt8
eFormatVectorOfUInt8 = _lldb.eFormatVectorOfUInt8
eFormatVectorOfSInt16 = _lldb.eFormatVectorOfSInt16
eFormatVectorOfUInt16 = _lldb.eFormatVectorOfUInt16
eFormatVectorOfSInt32 = _lldb.eFormatVectorOfSInt32
eFormatVectorOfUInt32 = _lldb.eFormatVectorOfUInt32
eFormatVectorOfSInt64 = _lldb.eFormatVectorOfSInt64
eFormatVectorOfUInt64 = _lldb.eFormatVectorOfUInt64
eFormatVectorOfFloat16 = _lldb.eFormatVectorOfFloat16
eFormatVectorOfFloat32 = _lldb.eFormatVectorOfFloat32
eFormatVectorOfFloat64 = _lldb.eFormatVectorOfFloat64
eFormatVectorOfUInt128 = _lldb.eFormatVectorOfUInt128
eFormatComplexInteger = _lldb.eFormatComplexInteger
eFormatCharArray = _lldb.eFormatCharArray
eFormatAddressInfo = _lldb.eFormatAddressInfo
eFormatHexFloat = _lldb.eFormatHexFloat
eFormatInstruction = _lldb.eFormatInstruction
eFormatVoid = _lldb.eFormatVoid
eFormatUnicode8 = _lldb.eFormatUnicode8
kNumFormats = _lldb.kNumFormats
eDescriptionLevelBrief = _lldb.eDescriptionLevelBrief
eDescriptionLevelFull = _lldb.eDescriptionLevelFull
eDescriptionLevelVerbose = _lldb.eDescriptionLevelVerbose
eDescriptionLevelInitial = _lldb.eDescriptionLevelInitial
kNumDescriptionLevels = _lldb.kNumDescriptionLevels
eScriptLanguageNone = _lldb.eScriptLanguageNone
eScriptLanguagePython = _lldb.eScriptLanguagePython
eScriptLanguageLua = _lldb.eScriptLanguageLua
eScriptLanguageUnknown = _lldb.eScriptLanguageUnknown
eScriptLanguageDefault = _lldb.eScriptLanguageDefault
eRegisterKindEHFrame = _lldb.eRegisterKindEHFrame
eRegisterKindDWARF = _lldb.eRegisterKindDWARF
eRegisterKindGeneric = _lldb.eRegisterKindGeneric
eRegisterKindProcessPlugin = _lldb.eRegisterKindProcessPlugin
eRegisterKindLLDB = _lldb.eRegisterKindLLDB
kNumRegisterKinds = _lldb.kNumRegisterKinds
eStopReasonInvalid = _lldb.eStopReasonInvalid
eStopReasonNone = _lldb.eStopReasonNone
eStopReasonTrace = _lldb.eStopReasonTrace
eStopReasonBreakpoint = _lldb.eStopReasonBreakpoint
eStopReasonWatchpoint = _lldb.eStopReasonWatchpoint
eStopReasonSignal = _lldb.eStopReasonSignal
eStopReasonException = _lldb.eStopReasonException
eStopReasonExec = _lldb.eStopReasonExec
eStopReasonPlanComplete = _lldb.eStopReasonPlanComplete
eStopReasonThreadExiting = _lldb.eStopReasonThreadExiting
eStopReasonInstrumentation = _lldb.eStopReasonInstrumentation
eReturnStatusInvalid = _lldb.eReturnStatusInvalid
eReturnStatusSuccessFinishNoResult = _lldb.eReturnStatusSuccessFinishNoResult
eReturnStatusSuccessFinishResult = _lldb.eReturnStatusSuccessFinishResult
eReturnStatusSuccessContinuingNoResult = _lldb.eReturnStatusSuccessContinuingNoResult
eReturnStatusSuccessContinuingResult = _lldb.eReturnStatusSuccessContinuingResult
eReturnStatusStarted = _lldb.eReturnStatusStarted
eReturnStatusFailed = _lldb.eReturnStatusFailed
eReturnStatusQuit = _lldb.eReturnStatusQuit
eExpressionCompleted = _lldb.eExpressionCompleted
eExpressionSetupError = _lldb.eExpressionSetupError
eExpressionParseError = _lldb.eExpressionParseError
eExpressionDiscarded = _lldb.eExpressionDiscarded
eExpressionInterrupted = _lldb.eExpressionInterrupted
eExpressionHitBreakpoint = _lldb.eExpressionHitBreakpoint
eExpressionTimedOut = _lldb.eExpressionTimedOut
eExpressionResultUnavailable = _lldb.eExpressionResultUnavailable
eExpressionStoppedForDebug = _lldb.eExpressionStoppedForDebug
eSearchDepthInvalid = _lldb.eSearchDepthInvalid
eSearchDepthTarget = _lldb.eSearchDepthTarget
eSearchDepthModule = _lldb.eSearchDepthModule
eSearchDepthCompUnit = _lldb.eSearchDepthCompUnit
eSearchDepthFunction = _lldb.eSearchDepthFunction
eSearchDepthBlock = _lldb.eSearchDepthBlock
eSearchDepthAddress = _lldb.eSearchDepthAddress
kLastSearchDepthKind = _lldb.kLastSearchDepthKind
eConnectionStatusSuccess = _lldb.eConnectionStatusSuccess
eConnectionStatusEndOfFile = _lldb.eConnectionStatusEndOfFile
eConnectionStatusError = _lldb.eConnectionStatusError
eConnectionStatusTimedOut = _lldb.eConnectionStatusTimedOut
eConnectionStatusNoConnection = _lldb.eConnectionStatusNoConnection
eConnectionStatusLostConnection = _lldb.eConnectionStatusLostConnection
eConnectionStatusInterrupted = _lldb.eConnectionStatusInterrupted
eErrorTypeInvalid = _lldb.eErrorTypeInvalid
eErrorTypeGeneric = _lldb.eErrorTypeGeneric
eErrorTypeMachKernel = _lldb.eErrorTypeMachKernel
eErrorTypePOSIX = _lldb.eErrorTypePOSIX
eErrorTypeExpression = _lldb.eErrorTypeExpression
eErrorTypeWin32 = _lldb.eErrorTypeWin32
eValueTypeInvalid = _lldb.eValueTypeInvalid
eValueTypeVariableGlobal = _lldb.eValueTypeVariableGlobal
eValueTypeVariableStatic = _lldb.eValueTypeVariableStatic
eValueTypeVariableArgument = _lldb.eValueTypeVariableArgument
eValueTypeVariableLocal = _lldb.eValueTypeVariableLocal
eValueTypeRegister = _lldb.eValueTypeRegister
eValueTypeRegisterSet = _lldb.eValueTypeRegisterSet
eValueTypeConstResult = _lldb.eValueTypeConstResult
eValueTypeVariableThreadLocal = _lldb.eValueTypeVariableThreadLocal
eInputReaderGranularityInvalid = _lldb.eInputReaderGranularityInvalid
eInputReaderGranularityByte = _lldb.eInputReaderGranularityByte
eInputReaderGranularityWord = _lldb.eInputReaderGranularityWord
eInputReaderGranularityLine = _lldb.eInputReaderGranularityLine
eInputReaderGranularityAll = _lldb.eInputReaderGranularityAll
eSymbolContextTarget = _lldb.eSymbolContextTarget
eSymbolContextModule = _lldb.eSymbolContextModule
eSymbolContextCompUnit = _lldb.eSymbolContextCompUnit
eSymbolContextFunction = _lldb.eSymbolContextFunction
eSymbolContextBlock = _lldb.eSymbolContextBlock
eSymbolContextLineEntry = _lldb.eSymbolContextLineEntry
eSymbolContextSymbol = _lldb.eSymbolContextSymbol
eSymbolContextEverything = _lldb.eSymbolContextEverything
eSymbolContextVariable = _lldb.eSymbolContextVariable
ePermissionsWritable = _lldb.ePermissionsWritable
ePermissionsReadable = _lldb.ePermissionsReadable
ePermissionsExecutable = _lldb.ePermissionsExecutable
eInputReaderActivate = _lldb.eInputReaderActivate
eInputReaderAsynchronousOutputWritten = _lldb.eInputReaderAsynchronousOutputWritten
eInputReaderReactivate = _lldb.eInputReaderReactivate
eInputReaderDeactivate = _lldb.eInputReaderDeactivate
eInputReaderGotToken = _lldb.eInputReaderGotToken
eInputReaderInterrupt = _lldb.eInputReaderInterrupt
eInputReaderEndOfFile = _lldb.eInputReaderEndOfFile
eInputReaderDone = _lldb.eInputReaderDone
eBreakpointEventTypeInvalidType = _lldb.eBreakpointEventTypeInvalidType
eBreakpointEventTypeAdded = _lldb.eBreakpointEventTypeAdded
eBreakpointEventTypeRemoved = _lldb.eBreakpointEventTypeRemoved
eBreakpointEventTypeLocationsAdded = _lldb.eBreakpointEventTypeLocationsAdded
eBreakpointEventTypeLocationsRemoved = _lldb.eBreakpointEventTypeLocationsRemoved
eBreakpointEventTypeLocationsResolved = _lldb.eBreakpointEventTypeLocationsResolved
eBreakpointEventTypeEnabled = _lldb.eBreakpointEventTypeEnabled
eBreakpointEventTypeDisabled = _lldb.eBreakpointEventTypeDisabled
eBreakpointEventTypeCommandChanged = _lldb.eBreakpointEventTypeCommandChanged
eBreakpointEventTypeConditionChanged = _lldb.eBreakpointEventTypeConditionChanged
eBreakpointEventTypeIgnoreChanged = _lldb.eBreakpointEventTypeIgnoreChanged
eBreakpointEventTypeThreadChanged = _lldb.eBreakpointEventTypeThreadChanged
eBreakpointEventTypeAutoContinueChanged = _lldb.eBreakpointEventTypeAutoContinueChanged
eWatchpointEventTypeInvalidType = _lldb.eWatchpointEventTypeInvalidType
eWatchpointEventTypeAdded = _lldb.eWatchpointEventTypeAdded
eWatchpointEventTypeRemoved = _lldb.eWatchpointEventTypeRemoved
eWatchpointEventTypeEnabled = _lldb.eWatchpointEventTypeEnabled
eWatchpointEventTypeDisabled = _lldb.eWatchpointEventTypeDisabled
eWatchpointEventTypeCommandChanged = _lldb.eWatchpointEventTypeCommandChanged
eWatchpointEventTypeConditionChanged = _lldb.eWatchpointEventTypeConditionChanged
eWatchpointEventTypeIgnoreChanged = _lldb.eWatchpointEventTypeIgnoreChanged
eWatchpointEventTypeThreadChanged = _lldb.eWatchpointEventTypeThreadChanged
eWatchpointEventTypeTypeChanged = _lldb.eWatchpointEventTypeTypeChanged
eLanguageTypeUnknown = _lldb.eLanguageTypeUnknown
eLanguageTypeC89 = _lldb.eLanguageTypeC89
eLanguageTypeC = _lldb.eLanguageTypeC
eLanguageTypeAda83 = _lldb.eLanguageTypeAda83
eLanguageTypeC_plus_plus = _lldb.eLanguageTypeC_plus_plus
eLanguageTypeCobol74 = _lldb.eLanguageTypeCobol74
eLanguageTypeCobol85 = _lldb.eLanguageTypeCobol85
eLanguageTypeFortran77 = _lldb.eLanguageTypeFortran77
eLanguageTypeFortran90 = _lldb.eLanguageTypeFortran90
eLanguageTypePascal83 = _lldb.eLanguageTypePascal83
eLanguageTypeModula2 = _lldb.eLanguageTypeModula2
eLanguageTypeJava = _lldb.eLanguageTypeJava
eLanguageTypeC99 = _lldb.eLanguageTypeC99
eLanguageTypeAda95 = _lldb.eLanguageTypeAda95
eLanguageTypeFortran95 = _lldb.eLanguageTypeFortran95
eLanguageTypePLI = _lldb.eLanguageTypePLI
eLanguageTypeObjC = _lldb.eLanguageTypeObjC
eLanguageTypeObjC_plus_plus = _lldb.eLanguageTypeObjC_plus_plus
eLanguageTypeUPC = _lldb.eLanguageTypeUPC
eLanguageTypeD = _lldb.eLanguageTypeD
eLanguageTypePython = _lldb.eLanguageTypePython
eLanguageTypeOpenCL = _lldb.eLanguageTypeOpenCL
eLanguageTypeGo = _lldb.eLanguageTypeGo
eLanguageTypeModula3 = _lldb.eLanguageTypeModula3
eLanguageTypeHaskell = _lldb.eLanguageTypeHaskell
eLanguageTypeC_plus_plus_03 = _lldb.eLanguageTypeC_plus_plus_03
eLanguageTypeC_plus_plus_11 = _lldb.eLanguageTypeC_plus_plus_11
eLanguageTypeOCaml = _lldb.eLanguageTypeOCaml
eLanguageTypeRust = _lldb.eLanguageTypeRust
eLanguageTypeC11 = _lldb.eLanguageTypeC11
eLanguageTypeSwift = _lldb.eLanguageTypeSwift
eLanguageTypeJulia = _lldb.eLanguageTypeJulia
eLanguageTypeDylan = _lldb.eLanguageTypeDylan
eLanguageTypeC_plus_plus_14 = _lldb.eLanguageTypeC_plus_plus_14
eLanguageTypeFortran03 = _lldb.eLanguageTypeFortran03
eLanguageTypeFortran08 = _lldb.eLanguageTypeFortran08
eLanguageTypeMipsAssembler = _lldb.eLanguageTypeMipsAssembler
eLanguageTypeExtRenderScript = _lldb.eLanguageTypeExtRenderScript
eNumLanguageTypes = _lldb.eNumLanguageTypes
eInstrumentationRuntimeTypeAddressSanitizer = _lldb.eInstrumentationRuntimeTypeAddressSanitizer
eInstrumentationRuntimeTypeThreadSanitizer = _lldb.eInstrumentationRuntimeTypeThreadSanitizer
eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer = _lldb.eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer
eInstrumentationRuntimeTypeMainThreadChecker = _lldb.eInstrumentationRuntimeTypeMainThreadChecker
eInstrumentationRuntimeTypeSwiftRuntimeReporting = _lldb.eInstrumentationRuntimeTypeSwiftRuntimeReporting
eNumInstrumentationRuntimeTypes = _lldb.eNumInstrumentationRuntimeTypes
eNoDynamicValues = _lldb.eNoDynamicValues
eDynamicCanRunTarget = _lldb.eDynamicCanRunTarget
eDynamicDontRunTarget = _lldb.eDynamicDontRunTarget
eStopShowColumnAnsiOrCaret = _lldb.eStopShowColumnAnsiOrCaret
eStopShowColumnAnsi = _lldb.eStopShowColumnAnsi
eStopShowColumnCaret = _lldb.eStopShowColumnCaret
eStopShowColumnNone = _lldb.eStopShowColumnNone
eAccessNone = _lldb.eAccessNone
eAccessPublic = _lldb.eAccessPublic
eAccessPrivate = _lldb.eAccessPrivate
eAccessProtected = _lldb.eAccessProtected
eAccessPackage = _lldb.eAccessPackage
eArgTypeAddress = _lldb.eArgTypeAddress
eArgTypeAddressOrExpression = _lldb.eArgTypeAddressOrExpression
eArgTypeAliasName = _lldb.eArgTypeAliasName
eArgTypeAliasOptions = _lldb.eArgTypeAliasOptions
eArgTypeArchitecture = _lldb.eArgTypeArchitecture
eArgTypeBoolean = _lldb.eArgTypeBoolean
eArgTypeBreakpointID = _lldb.eArgTypeBreakpointID
eArgTypeBreakpointIDRange = _lldb.eArgTypeBreakpointIDRange
eArgTypeBreakpointName = _lldb.eArgTypeBreakpointName
eArgTypeByteSize = _lldb.eArgTypeByteSize
eArgTypeClassName = _lldb.eArgTypeClassName
eArgTypeCommandName = _lldb.eArgTypeCommandName
eArgTypeCount = _lldb.eArgTypeCount
eArgTypeDescriptionVerbosity = _lldb.eArgTypeDescriptionVerbosity
eArgTypeDirectoryName = _lldb.eArgTypeDirectoryName
eArgTypeDisassemblyFlavor = _lldb.eArgTypeDisassemblyFlavor
eArgTypeEndAddress = _lldb.eArgTypeEndAddress
eArgTypeExpression = _lldb.eArgTypeExpression
eArgTypeExpressionPath = _lldb.eArgTypeExpressionPath
eArgTypeExprFormat = _lldb.eArgTypeExprFormat
eArgTypeFilename = _lldb.eArgTypeFilename
eArgTypeFormat = _lldb.eArgTypeFormat
eArgTypeFrameIndex = _lldb.eArgTypeFrameIndex
eArgTypeFullName = _lldb.eArgTypeFullName
eArgTypeFunctionName = _lldb.eArgTypeFunctionName
eArgTypeFunctionOrSymbol = _lldb.eArgTypeFunctionOrSymbol
eArgTypeGDBFormat = _lldb.eArgTypeGDBFormat
eArgTypeHelpText = _lldb.eArgTypeHelpText
eArgTypeIndex = _lldb.eArgTypeIndex
eArgTypeLanguage = _lldb.eArgTypeLanguage
eArgTypeLineNum = _lldb.eArgTypeLineNum
eArgTypeLogCategory = _lldb.eArgTypeLogCategory
eArgTypeLogChannel = _lldb.eArgTypeLogChannel
eArgTypeMethod = _lldb.eArgTypeMethod
eArgTypeName = _lldb.eArgTypeName
eArgTypeNewPathPrefix = _lldb.eArgTypeNewPathPrefix
eArgTypeNumLines = _lldb.eArgTypeNumLines
eArgTypeNumberPerLine = _lldb.eArgTypeNumberPerLine
eArgTypeOffset = _lldb.eArgTypeOffset
eArgTypeOldPathPrefix = _lldb.eArgTypeOldPathPrefix
eArgTypeOneLiner = _lldb.eArgTypeOneLiner
eArgTypePath = _lldb.eArgTypePath
eArgTypePermissionsNumber = _lldb.eArgTypePermissionsNumber
eArgTypePermissionsString = _lldb.eArgTypePermissionsString
eArgTypePid = _lldb.eArgTypePid
eArgTypePlugin = _lldb.eArgTypePlugin
eArgTypeProcessName = _lldb.eArgTypeProcessName
eArgTypePythonClass = _lldb.eArgTypePythonClass
eArgTypePythonFunction = _lldb.eArgTypePythonFunction
eArgTypePythonScript = _lldb.eArgTypePythonScript
eArgTypeQueueName = _lldb.eArgTypeQueueName
eArgTypeRegisterName = _lldb.eArgTypeRegisterName
eArgTypeRegularExpression = _lldb.eArgTypeRegularExpression
eArgTypeRunArgs = _lldb.eArgTypeRunArgs
eArgTypeRunMode = _lldb.eArgTypeRunMode
eArgTypeScriptedCommandSynchronicity = _lldb.eArgTypeScriptedCommandSynchronicity
eArgTypeScriptLang = _lldb.eArgTypeScriptLang
eArgTypeSearchWord = _lldb.eArgTypeSearchWord
eArgTypeSelector = _lldb.eArgTypeSelector
eArgTypeSettingIndex = _lldb.eArgTypeSettingIndex
eArgTypeSettingKey = _lldb.eArgTypeSettingKey
eArgTypeSettingPrefix = _lldb.eArgTypeSettingPrefix
eArgTypeSettingVariableName = _lldb.eArgTypeSettingVariableName
eArgTypeShlibName = _lldb.eArgTypeShlibName
eArgTypeSourceFile = _lldb.eArgTypeSourceFile
eArgTypeSortOrder = _lldb.eArgTypeSortOrder
eArgTypeStartAddress = _lldb.eArgTypeStartAddress
eArgTypeSummaryString = _lldb.eArgTypeSummaryString
eArgTypeSymbol = _lldb.eArgTypeSymbol
eArgTypeThreadID = _lldb.eArgTypeThreadID
eArgTypeThreadIndex = _lldb.eArgTypeThreadIndex
eArgTypeThreadName = _lldb.eArgTypeThreadName
eArgTypeTypeName = _lldb.eArgTypeTypeName
eArgTypeUnsignedInteger = _lldb.eArgTypeUnsignedInteger
eArgTypeUnixSignal = _lldb.eArgTypeUnixSignal
eArgTypeVarName = _lldb.eArgTypeVarName
eArgTypeValue = _lldb.eArgTypeValue
eArgTypeWidth = _lldb.eArgTypeWidth
eArgTypeNone = _lldb.eArgTypeNone
eArgTypePlatform = _lldb.eArgTypePlatform
eArgTypeWatchpointID = _lldb.eArgTypeWatchpointID
eArgTypeWatchpointIDRange = _lldb.eArgTypeWatchpointIDRange
eArgTypeWatchType = _lldb.eArgTypeWatchType
eArgRawInput = _lldb.eArgRawInput
eArgTypeCommand = _lldb.eArgTypeCommand
eArgTypeColumnNum = _lldb.eArgTypeColumnNum
eArgTypeLastArg = _lldb.eArgTypeLastArg
eSymbolTypeAny = _lldb.eSymbolTypeAny
eSymbolTypeInvalid = _lldb.eSymbolTypeInvalid
eSymbolTypeAbsolute = _lldb.eSymbolTypeAbsolute
eSymbolTypeCode = _lldb.eSymbolTypeCode
eSymbolTypeResolver = _lldb.eSymbolTypeResolver
eSymbolTypeData = _lldb.eSymbolTypeData
eSymbolTypeTrampoline = _lldb.eSymbolTypeTrampoline
eSymbolTypeRuntime = _lldb.eSymbolTypeRuntime
eSymbolTypeException = _lldb.eSymbolTypeException
eSymbolTypeSourceFile = _lldb.eSymbolTypeSourceFile
eSymbolTypeHeaderFile = _lldb.eSymbolTypeHeaderFile
eSymbolTypeObjectFile = _lldb.eSymbolTypeObjectFile
eSymbolTypeCommonBlock = _lldb.eSymbolTypeCommonBlock
eSymbolTypeBlock = _lldb.eSymbolTypeBlock
eSymbolTypeLocal = _lldb.eSymbolTypeLocal
eSymbolTypeParam = _lldb.eSymbolTypeParam
eSymbolTypeVariable = _lldb.eSymbolTypeVariable
eSymbolTypeVariableType = _lldb.eSymbolTypeVariableType
eSymbolTypeLineEntry = _lldb.eSymbolTypeLineEntry
eSymbolTypeLineHeader = _lldb.eSymbolTypeLineHeader
eSymbolTypeScopeBegin = _lldb.eSymbolTypeScopeBegin
eSymbolTypeScopeEnd = _lldb.eSymbolTypeScopeEnd
eSymbolTypeAdditional = _lldb.eSymbolTypeAdditional
eSymbolTypeCompiler = _lldb.eSymbolTypeCompiler
eSymbolTypeInstrumentation = _lldb.eSymbolTypeInstrumentation
eSymbolTypeUndefined = _lldb.eSymbolTypeUndefined
eSymbolTypeObjCClass = _lldb.eSymbolTypeObjCClass
eSymbolTypeObjCMetaClass = _lldb.eSymbolTypeObjCMetaClass
eSymbolTypeObjCIVar = _lldb.eSymbolTypeObjCIVar
eSymbolTypeReExported = _lldb.eSymbolTypeReExported
eSectionTypeInvalid = _lldb.eSectionTypeInvalid
eSectionTypeCode = _lldb.eSectionTypeCode
eSectionTypeContainer = _lldb.eSectionTypeContainer
eSectionTypeData = _lldb.eSectionTypeData
eSectionTypeDataCString = _lldb.eSectionTypeDataCString
eSectionTypeDataCStringPointers = _lldb.eSectionTypeDataCStringPointers
eSectionTypeDataSymbolAddress = _lldb.eSectionTypeDataSymbolAddress
eSectionTypeData4 = _lldb.eSectionTypeData4
eSectionTypeData8 = _lldb.eSectionTypeData8
eSectionTypeData16 = _lldb.eSectionTypeData16
eSectionTypeDataPointers = _lldb.eSectionTypeDataPointers
eSectionTypeDebug = _lldb.eSectionTypeDebug
eSectionTypeZeroFill = _lldb.eSectionTypeZeroFill
eSectionTypeDataObjCMessageRefs = _lldb.eSectionTypeDataObjCMessageRefs
eSectionTypeDataObjCCFStrings = _lldb.eSectionTypeDataObjCCFStrings
eSectionTypeDWARFDebugAbbrev = _lldb.eSectionTypeDWARFDebugAbbrev
eSectionTypeDWARFDebugAddr = _lldb.eSectionTypeDWARFDebugAddr
eSectionTypeDWARFDebugAranges = _lldb.eSectionTypeDWARFDebugAranges
eSectionTypeDWARFDebugCuIndex = _lldb.eSectionTypeDWARFDebugCuIndex
eSectionTypeDWARFDebugFrame = _lldb.eSectionTypeDWARFDebugFrame
eSectionTypeDWARFDebugInfo = _lldb.eSectionTypeDWARFDebugInfo
eSectionTypeDWARFDebugLine = _lldb.eSectionTypeDWARFDebugLine
eSectionTypeDWARFDebugLoc = _lldb.eSectionTypeDWARFDebugLoc
eSectionTypeDWARFDebugMacInfo = _lldb.eSectionTypeDWARFDebugMacInfo
eSectionTypeDWARFDebugMacro = _lldb.eSectionTypeDWARFDebugMacro
eSectionTypeDWARFDebugPubNames = _lldb.eSectionTypeDWARFDebugPubNames
eSectionTypeDWARFDebugPubTypes = _lldb.eSectionTypeDWARFDebugPubTypes
eSectionTypeDWARFDebugRanges = _lldb.eSectionTypeDWARFDebugRanges
eSectionTypeDWARFDebugStr = _lldb.eSectionTypeDWARFDebugStr
eSectionTypeDWARFDebugStrOffsets = _lldb.eSectionTypeDWARFDebugStrOffsets
eSectionTypeDWARFAppleNames = _lldb.eSectionTypeDWARFAppleNames
eSectionTypeDWARFAppleTypes = _lldb.eSectionTypeDWARFAppleTypes
eSectionTypeDWARFAppleNamespaces = _lldb.eSectionTypeDWARFAppleNamespaces
eSectionTypeDWARFAppleObjC = _lldb.eSectionTypeDWARFAppleObjC
eSectionTypeELFSymbolTable = _lldb.eSectionTypeELFSymbolTable
eSectionTypeELFDynamicSymbols = _lldb.eSectionTypeELFDynamicSymbols
eSectionTypeELFRelocationEntries = _lldb.eSectionTypeELFRelocationEntries
eSectionTypeELFDynamicLinkInfo = _lldb.eSectionTypeELFDynamicLinkInfo
eSectionTypeEHFrame = _lldb.eSectionTypeEHFrame
eSectionTypeARMexidx = _lldb.eSectionTypeARMexidx
eSectionTypeARMextab = _lldb.eSectionTypeARMextab
eSectionTypeCompactUnwind = _lldb.eSectionTypeCompactUnwind
eSectionTypeGoSymtab = _lldb.eSectionTypeGoSymtab
eSectionTypeAbsoluteAddress = _lldb.eSectionTypeAbsoluteAddress
eSectionTypeDWARFGNUDebugAltLink = _lldb.eSectionTypeDWARFGNUDebugAltLink
eSectionTypeDWARFDebugTypes = _lldb.eSectionTypeDWARFDebugTypes
eSectionTypeDWARFDebugNames = _lldb.eSectionTypeDWARFDebugNames
eSectionTypeOther = _lldb.eSectionTypeOther
eSectionTypeDWARFDebugLineStr = _lldb.eSectionTypeDWARFDebugLineStr
eSectionTypeDWARFDebugRngLists = _lldb.eSectionTypeDWARFDebugRngLists
eSectionTypeDWARFDebugLocLists = _lldb.eSectionTypeDWARFDebugLocLists
eSectionTypeDWARFDebugAbbrevDwo = _lldb.eSectionTypeDWARFDebugAbbrevDwo
eSectionTypeDWARFDebugInfoDwo = _lldb.eSectionTypeDWARFDebugInfoDwo
eSectionTypeDWARFDebugStrDwo = _lldb.eSectionTypeDWARFDebugStrDwo
eSectionTypeDWARFDebugStrOffsetsDwo = _lldb.eSectionTypeDWARFDebugStrOffsetsDwo
eSectionTypeDWARFDebugTypesDwo = _lldb.eSectionTypeDWARFDebugTypesDwo
eSectionTypeDWARFDebugRngListsDwo = _lldb.eSectionTypeDWARFDebugRngListsDwo
eSectionTypeDWARFDebugLocDwo = _lldb.eSectionTypeDWARFDebugLocDwo
eSectionTypeDWARFDebugLocListsDwo = _lldb.eSectionTypeDWARFDebugLocListsDwo
eEmulateInstructionOptionNone = _lldb.eEmulateInstructionOptionNone
eEmulateInstructionOptionAutoAdvancePC = _lldb.eEmulateInstructionOptionAutoAdvancePC
eEmulateInstructionOptionIgnoreConditions = _lldb.eEmulateInstructionOptionIgnoreConditions
eFunctionNameTypeNone = _lldb.eFunctionNameTypeNone
eFunctionNameTypeAuto = _lldb.eFunctionNameTypeAuto
eFunctionNameTypeFull = _lldb.eFunctionNameTypeFull
eFunctionNameTypeBase = _lldb.eFunctionNameTypeBase
eFunctionNameTypeMethod = _lldb.eFunctionNameTypeMethod
eFunctionNameTypeSelector = _lldb.eFunctionNameTypeSelector
eFunctionNameTypeAny = _lldb.eFunctionNameTypeAny
eBasicTypeInvalid = _lldb.eBasicTypeInvalid
eBasicTypeVoid = _lldb.eBasicTypeVoid
eBasicTypeChar = _lldb.eBasicTypeChar
eBasicTypeSignedChar = _lldb.eBasicTypeSignedChar
eBasicTypeUnsignedChar = _lldb.eBasicTypeUnsignedChar
eBasicTypeWChar = _lldb.eBasicTypeWChar
eBasicTypeSignedWChar = _lldb.eBasicTypeSignedWChar
eBasicTypeUnsignedWChar = _lldb.eBasicTypeUnsignedWChar
eBasicTypeChar16 = _lldb.eBasicTypeChar16
eBasicTypeChar32 = _lldb.eBasicTypeChar32
eBasicTypeShort = _lldb.eBasicTypeShort
eBasicTypeUnsignedShort = _lldb.eBasicTypeUnsignedShort
eBasicTypeInt = _lldb.eBasicTypeInt
eBasicTypeUnsignedInt = _lldb.eBasicTypeUnsignedInt
eBasicTypeLong = _lldb.eBasicTypeLong
eBasicTypeUnsignedLong = _lldb.eBasicTypeUnsignedLong
eBasicTypeLongLong = _lldb.eBasicTypeLongLong
eBasicTypeUnsignedLongLong = _lldb.eBasicTypeUnsignedLongLong
eBasicTypeInt128 = _lldb.eBasicTypeInt128
eBasicTypeUnsignedInt128 = _lldb.eBasicTypeUnsignedInt128
eBasicTypeBool = _lldb.eBasicTypeBool
eBasicTypeHalf = _lldb.eBasicTypeHalf
eBasicTypeFloat = _lldb.eBasicTypeFloat
eBasicTypeDouble = _lldb.eBasicTypeDouble
eBasicTypeLongDouble = _lldb.eBasicTypeLongDouble
eBasicTypeFloatComplex = _lldb.eBasicTypeFloatComplex
eBasicTypeDoubleComplex = _lldb.eBasicTypeDoubleComplex
eBasicTypeLongDoubleComplex = _lldb.eBasicTypeLongDoubleComplex
eBasicTypeObjCID = _lldb.eBasicTypeObjCID
eBasicTypeObjCClass = _lldb.eBasicTypeObjCClass
eBasicTypeObjCSel = _lldb.eBasicTypeObjCSel
eBasicTypeNullPtr = _lldb.eBasicTypeNullPtr
eBasicTypeOther = _lldb.eBasicTypeOther
eTraceTypeNone = _lldb.eTraceTypeNone
eTraceTypeProcessorTrace = _lldb.eTraceTypeProcessorTrace
eStructuredDataTypeInvalid = _lldb.eStructuredDataTypeInvalid
eStructuredDataTypeNull = _lldb.eStructuredDataTypeNull
eStructuredDataTypeGeneric = _lldb.eStructuredDataTypeGeneric
eStructuredDataTypeArray = _lldb.eStructuredDataTypeArray
eStructuredDataTypeInteger = _lldb.eStructuredDataTypeInteger
eStructuredDataTypeFloat = _lldb.eStructuredDataTypeFloat
eStructuredDataTypeBoolean = _lldb.eStructuredDataTypeBoolean
eStructuredDataTypeString = _lldb.eStructuredDataTypeString
eStructuredDataTypeDictionary = _lldb.eStructuredDataTypeDictionary
eTypeClassInvalid = _lldb.eTypeClassInvalid
eTypeClassArray = _lldb.eTypeClassArray
eTypeClassBlockPointer = _lldb.eTypeClassBlockPointer
eTypeClassBuiltin = _lldb.eTypeClassBuiltin
eTypeClassClass = _lldb.eTypeClassClass
eTypeClassComplexFloat = _lldb.eTypeClassComplexFloat
eTypeClassComplexInteger = _lldb.eTypeClassComplexInteger
eTypeClassEnumeration = _lldb.eTypeClassEnumeration
eTypeClassFunction = _lldb.eTypeClassFunction
eTypeClassMemberPointer = _lldb.eTypeClassMemberPointer
eTypeClassObjCObject = _lldb.eTypeClassObjCObject
eTypeClassObjCInterface = _lldb.eTypeClassObjCInterface
eTypeClassObjCObjectPointer = _lldb.eTypeClassObjCObjectPointer
eTypeClassPointer = _lldb.eTypeClassPointer
eTypeClassReference = _lldb.eTypeClassReference
eTypeClassStruct = _lldb.eTypeClassStruct
eTypeClassTypedef = _lldb.eTypeClassTypedef
eTypeClassUnion = _lldb.eTypeClassUnion
eTypeClassVector = _lldb.eTypeClassVector
eTypeClassOther = _lldb.eTypeClassOther
eTypeClassAny = _lldb.eTypeClassAny
eTemplateArgumentKindNull = _lldb.eTemplateArgumentKindNull
eTemplateArgumentKindType = _lldb.eTemplateArgumentKindType
eTemplateArgumentKindDeclaration = _lldb.eTemplateArgumentKindDeclaration
eTemplateArgumentKindIntegral = _lldb.eTemplateArgumentKindIntegral
eTemplateArgumentKindTemplate = _lldb.eTemplateArgumentKindTemplate
eTemplateArgumentKindTemplateExpansion = _lldb.eTemplateArgumentKindTemplateExpansion
eTemplateArgumentKindExpression = _lldb.eTemplateArgumentKindExpression
eTemplateArgumentKindPack = _lldb.eTemplateArgumentKindPack
eTemplateArgumentKindNullPtr = _lldb.eTemplateArgumentKindNullPtr
eTypeOptionNone = _lldb.eTypeOptionNone
eTypeOptionCascade = _lldb.eTypeOptionCascade
eTypeOptionSkipPointers = _lldb.eTypeOptionSkipPointers
eTypeOptionSkipReferences = _lldb.eTypeOptionSkipReferences
eTypeOptionHideChildren = _lldb.eTypeOptionHideChildren
eTypeOptionHideValue = _lldb.eTypeOptionHideValue
eTypeOptionShowOneLiner = _lldb.eTypeOptionShowOneLiner
eTypeOptionHideNames = _lldb.eTypeOptionHideNames
eTypeOptionNonCacheable = _lldb.eTypeOptionNonCacheable
eTypeOptionHideEmptyAggregates = _lldb.eTypeOptionHideEmptyAggregates
eTypeOptionFrontEndWantsDereference = _lldb.eTypeOptionFrontEndWantsDereference
eFrameCompareInvalid = _lldb.eFrameCompareInvalid
eFrameCompareUnknown = _lldb.eFrameCompareUnknown
eFrameCompareEqual = _lldb.eFrameCompareEqual
eFrameCompareSameParent = _lldb.eFrameCompareSameParent
eFrameCompareYounger = _lldb.eFrameCompareYounger
eFrameCompareOlder = _lldb.eFrameCompareOlder
eFilePermissionsUserRead = _lldb.eFilePermissionsUserRead
eFilePermissionsUserWrite = _lldb.eFilePermissionsUserWrite
eFilePermissionsUserExecute = _lldb.eFilePermissionsUserExecute
eFilePermissionsGroupRead = _lldb.eFilePermissionsGroupRead
eFilePermissionsGroupWrite = _lldb.eFilePermissionsGroupWrite
eFilePermissionsGroupExecute = _lldb.eFilePermissionsGroupExecute
eFilePermissionsWorldRead = _lldb.eFilePermissionsWorldRead
eFilePermissionsWorldWrite = _lldb.eFilePermissionsWorldWrite
eFilePermissionsWorldExecute = _lldb.eFilePermissionsWorldExecute
eFilePermissionsUserRW = _lldb.eFilePermissionsUserRW
eFileFilePermissionsUserRX = _lldb.eFileFilePermissionsUserRX
eFilePermissionsUserRWX = _lldb.eFilePermissionsUserRWX
eFilePermissionsGroupRW = _lldb.eFilePermissionsGroupRW
eFilePermissionsGroupRX = _lldb.eFilePermissionsGroupRX
eFilePermissionsGroupRWX = _lldb.eFilePermissionsGroupRWX
eFilePermissionsWorldRW = _lldb.eFilePermissionsWorldRW
eFilePermissionsWorldRX = _lldb.eFilePermissionsWorldRX
eFilePermissionsWorldRWX = _lldb.eFilePermissionsWorldRWX
eFilePermissionsEveryoneR = _lldb.eFilePermissionsEveryoneR
eFilePermissionsEveryoneW = _lldb.eFilePermissionsEveryoneW
eFilePermissionsEveryoneX = _lldb.eFilePermissionsEveryoneX
eFilePermissionsEveryoneRW = _lldb.eFilePermissionsEveryoneRW
eFilePermissionsEveryoneRX = _lldb.eFilePermissionsEveryoneRX
eFilePermissionsEveryoneRWX = _lldb.eFilePermissionsEveryoneRWX
eFilePermissionsFileDefault = _lldb.eFilePermissionsFileDefault
eFilePermissionsDirectoryDefault = _lldb.eFilePermissionsDirectoryDefault
eQueueItemKindUnknown = _lldb.eQueueItemKindUnknown
eQueueItemKindFunction = _lldb.eQueueItemKindFunction
eQueueItemKindBlock = _lldb.eQueueItemKindBlock
eQueueKindUnknown = _lldb.eQueueKindUnknown
eQueueKindSerial = _lldb.eQueueKindSerial
eQueueKindConcurrent = _lldb.eQueueKindConcurrent
eExpressionEvaluationParse = _lldb.eExpressionEvaluationParse
eExpressionEvaluationIRGen = _lldb.eExpressionEvaluationIRGen
eExpressionEvaluationExecution = _lldb.eExpressionEvaluationExecution
eExpressionEvaluationComplete = _lldb.eExpressionEvaluationComplete
eWatchpointKindWrite = _lldb.eWatchpointKindWrite
eWatchpointKindRead = _lldb.eWatchpointKindRead
eGdbSignalBadAccess = _lldb.eGdbSignalBadAccess
eGdbSignalBadInstruction = _lldb.eGdbSignalBadInstruction
eGdbSignalArithmetic = _lldb.eGdbSignalArithmetic
eGdbSignalEmulation = _lldb.eGdbSignalEmulation
eGdbSignalSoftware = _lldb.eGdbSignalSoftware
eGdbSignalBreakpoint = _lldb.eGdbSignalBreakpoint
ePathTypeLLDBShlibDir = _lldb.ePathTypeLLDBShlibDir
ePathTypeSupportExecutableDir = _lldb.ePathTypeSupportExecutableDir
ePathTypeHeaderDir = _lldb.ePathTypeHeaderDir
ePathTypePythonDir = _lldb.ePathTypePythonDir
ePathTypeLLDBSystemPlugins = _lldb.ePathTypeLLDBSystemPlugins
ePathTypeLLDBUserPlugins = _lldb.ePathTypeLLDBUserPlugins
ePathTypeLLDBTempSystemDir = _lldb.ePathTypeLLDBTempSystemDir
ePathTypeGlobalLLDBTempSystemDir = _lldb.ePathTypeGlobalLLDBTempSystemDir
ePathTypeClangDir = _lldb.ePathTypeClangDir
eMemberFunctionKindUnknown = _lldb.eMemberFunctionKindUnknown
eMemberFunctionKindConstructor = _lldb.eMemberFunctionKindConstructor
eMemberFunctionKindDestructor = _lldb.eMemberFunctionKindDestructor
eMemberFunctionKindInstanceMethod = _lldb.eMemberFunctionKindInstanceMethod
eMemberFunctionKindStaticMethod = _lldb.eMemberFunctionKindStaticMethod
eMatchTypeNormal = _lldb.eMatchTypeNormal
eMatchTypeRegex = _lldb.eMatchTypeRegex
eMatchTypeStartsWith = _lldb.eMatchTypeStartsWith
eTypeHasChildren = _lldb.eTypeHasChildren
eTypeHasValue = _lldb.eTypeHasValue
eTypeIsArray = _lldb.eTypeIsArray
eTypeIsBlock = _lldb.eTypeIsBlock
eTypeIsBuiltIn = _lldb.eTypeIsBuiltIn
eTypeIsClass = _lldb.eTypeIsClass
eTypeIsCPlusPlus = _lldb.eTypeIsCPlusPlus
eTypeIsEnumeration = _lldb.eTypeIsEnumeration
eTypeIsFuncPrototype = _lldb.eTypeIsFuncPrototype
eTypeIsMember = _lldb.eTypeIsMember
eTypeIsObjC = _lldb.eTypeIsObjC
eTypeIsPointer = _lldb.eTypeIsPointer
eTypeIsReference = _lldb.eTypeIsReference
eTypeIsStructUnion = _lldb.eTypeIsStructUnion
eTypeIsTemplate = _lldb.eTypeIsTemplate
eTypeIsTypedef = _lldb.eTypeIsTypedef
eTypeIsVector = _lldb.eTypeIsVector
eTypeIsScalar = _lldb.eTypeIsScalar
eTypeIsInteger = _lldb.eTypeIsInteger
eTypeIsFloat = _lldb.eTypeIsFloat
eTypeIsComplex = _lldb.eTypeIsComplex
eTypeIsSigned = _lldb.eTypeIsSigned
eTypeInstanceIsPointer = _lldb.eTypeInstanceIsPointer
eCommandRequiresTarget = _lldb.eCommandRequiresTarget
eCommandRequiresProcess = _lldb.eCommandRequiresProcess
eCommandRequiresThread = _lldb.eCommandRequiresThread
eCommandRequiresFrame = _lldb.eCommandRequiresFrame
eCommandRequiresRegContext = _lldb.eCommandRequiresRegContext
eCommandTryTargetAPILock = _lldb.eCommandTryTargetAPILock
eCommandProcessMustBeLaunched = _lldb.eCommandProcessMustBeLaunched
eCommandProcessMustBePaused = _lldb.eCommandProcessMustBePaused
eTypeSummaryCapped = _lldb.eTypeSummaryCapped
eTypeSummaryUncapped = _lldb.eTypeSummaryUncapped
class SBAddress(object):
r"""
A section + offset based address class.
The SBAddress class allows addresses to be relative to a section
that can move during runtime due to images (executables, shared
libraries, bundles, frameworks) being loaded at different
addresses than the addresses found in the object file that
represents them on disk. There are currently two types of addresses
for a section:
o file addresses
o load addresses
File addresses represents the virtual addresses that are in the 'on
disk' object files. These virtual addresses are converted to be
relative to unique sections scoped to the object file so that
when/if the addresses slide when the images are loaded/unloaded
in memory, we can easily track these changes without having to
update every object (compile unit ranges, line tables, function
address ranges, lexical block and inlined subroutine address
ranges, global and static variables) each time an image is loaded or
unloaded.
Load addresses represents the virtual addresses where each section
ends up getting loaded at runtime. Before executing a program, it
is common for all of the load addresses to be unresolved. When a
DynamicLoader plug-in receives notification that shared libraries
have been loaded/unloaded, the load addresses of the main executable
and any images (shared libraries) will be resolved/unresolved. When
this happens, breakpoints that are in one of these sections can be
set/cleared.
See docstring of SBFunction for example usage of SBAddress.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBAddress self) -> SBAddress
__init__(SBAddress self, SBAddress rhs) -> SBAddress
__init__(SBAddress self, SBSection section, lldb::addr_t offset) -> SBAddress
__init__(SBAddress self, lldb::addr_t load_addr, SBTarget target) -> SBAddress
Create an address by resolving a load address using the supplied target.
"""
_lldb.SBAddress_swiginit(self, _lldb.new_SBAddress(*args))
__swig_destroy__ = _lldb.delete_SBAddress
def IsValid(self):
r"""IsValid(SBAddress self) -> bool"""
return _lldb.SBAddress_IsValid(self)
def __nonzero__(self):
return _lldb.SBAddress___nonzero__(self)
__bool__ = __nonzero__
def __eq__(self, other):
return not self.__ne__(other)
def __ne__(self, rhs):
r"""__ne__(SBAddress self, SBAddress rhs) -> bool"""
return _lldb.SBAddress___ne__(self, rhs)
def Clear(self):
r"""Clear(SBAddress self)"""
return _lldb.SBAddress_Clear(self)
def GetFileAddress(self):
r"""GetFileAddress(SBAddress self) -> lldb::addr_t"""
return _lldb.SBAddress_GetFileAddress(self)
def GetLoadAddress(self, target):
r"""GetLoadAddress(SBAddress self, SBTarget target) -> lldb::addr_t"""
return _lldb.SBAddress_GetLoadAddress(self, target)
def SetLoadAddress(self, load_addr, target):
r"""SetLoadAddress(SBAddress self, lldb::addr_t load_addr, SBTarget target)"""
return _lldb.SBAddress_SetLoadAddress(self, load_addr, target)
def OffsetAddress(self, offset):
r"""OffsetAddress(SBAddress self, lldb::addr_t offset) -> bool"""
return _lldb.SBAddress_OffsetAddress(self, offset)
def GetDescription(self, description):
r"""GetDescription(SBAddress self, SBStream description) -> bool"""
return _lldb.SBAddress_GetDescription(self, description)
def GetSection(self):
r"""GetSection(SBAddress self) -> SBSection"""
return _lldb.SBAddress_GetSection(self)
def GetOffset(self):
r"""GetOffset(SBAddress self) -> lldb::addr_t"""
return _lldb.SBAddress_GetOffset(self)
def SetAddress(self, section, offset):
r"""SetAddress(SBAddress self, SBSection section, lldb::addr_t offset)"""
return _lldb.SBAddress_SetAddress(self, section, offset)
def GetSymbolContext(self, resolve_scope):
r"""
GetSymbolContext(SBAddress self, uint32_t resolve_scope) -> SBSymbolContext
GetSymbolContext() and the following can lookup symbol information for a given address.
An address might refer to code or data from an existing module, or it
might refer to something on the stack or heap. The following functions
will only return valid values if the address has been resolved to a code
or data address using 'void SBAddress::SetLoadAddress(...)' or
'lldb::SBAddress SBTarget::ResolveLoadAddress (...)'.
"""
return _lldb.SBAddress_GetSymbolContext(self, resolve_scope)
def GetModule(self):
r"""
GetModule(SBAddress self) -> SBModule
GetModule() and the following grab individual objects for a given address and
are less efficient if you want more than one symbol related objects.
Use one of the following when you want multiple debug symbol related
objects for an address:
lldb::SBSymbolContext SBAddress::GetSymbolContext (uint32_t resolve_scope);
lldb::SBSymbolContext SBTarget::ResolveSymbolContextForAddress (const SBAddress &addr, uint32_t resolve_scope);
One or more bits from the SymbolContextItem enumerations can be logically
OR'ed together to more efficiently retrieve multiple symbol objects.
"""
return _lldb.SBAddress_GetModule(self)
def GetCompileUnit(self):
r"""GetCompileUnit(SBAddress self) -> SBCompileUnit"""
return _lldb.SBAddress_GetCompileUnit(self)
def GetFunction(self):
r"""GetFunction(SBAddress self) -> SBFunction"""
return _lldb.SBAddress_GetFunction(self)
def GetBlock(self):
r"""GetBlock(SBAddress self) -> SBBlock"""
return _lldb.SBAddress_GetBlock(self)
def GetSymbol(self):
r"""GetSymbol(SBAddress self) -> SBSymbol"""
return _lldb.SBAddress_GetSymbol(self)
def GetLineEntry(self):
r"""GetLineEntry(SBAddress self) -> SBLineEntry"""
return _lldb.SBAddress_GetLineEntry(self)
def __str__(self):
r"""__str__(SBAddress self) -> std::string"""
return _lldb.SBAddress___str__(self)
def __get_load_addr_property__ (self):
'''Get the load address for a lldb.SBAddress using the current target.'''
return self.GetLoadAddress (target)
def __set_load_addr_property__ (self, load_addr):
'''Set the load address for a lldb.SBAddress using the current target.'''
return self.SetLoadAddress (load_addr, target)
def __int__(self):
'''Convert an address to a load address if there is a process and that process is alive, or to a file address otherwise.'''
if process.is_alive:
return self.GetLoadAddress (target)
else:
return self.GetFileAddress ()
def __oct__(self):
'''Convert the address to an octal string'''
return '%o' % int(self)
def __hex__(self):
'''Convert the address to an hex string'''
return '0x%x' % int(self)
module = property(GetModule, None, doc='''A read only property that returns an lldb object that represents the module (lldb.SBModule) that this address resides within.''')
compile_unit = property(GetCompileUnit, None, doc='''A read only property that returns an lldb object that represents the compile unit (lldb.SBCompileUnit) that this address resides within.''')
line_entry = property(GetLineEntry, None, doc='''A read only property that returns an lldb object that represents the line entry (lldb.SBLineEntry) that this address resides within.''')
function = property(GetFunction, None, doc='''A read only property that returns an lldb object that represents the function (lldb.SBFunction) that this address resides within.''')
block = property(GetBlock, None, doc='''A read only property that returns an lldb object that represents the block (lldb.SBBlock) that this address resides within.''')
symbol = property(GetSymbol, None, doc='''A read only property that returns an lldb object that represents the symbol (lldb.SBSymbol) that this address resides within.''')
offset = property(GetOffset, None, doc='''A read only property that returns the section offset in bytes as an integer.''')
section = property(GetSection, None, doc='''A read only property that returns an lldb object that represents the section (lldb.SBSection) that this address resides within.''')
file_addr = property(GetFileAddress, None, doc='''A read only property that returns file address for the section as an integer. This is the address that represents the address as it is found in the object file that defines it.''')
load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write property that gets/sets the SBAddress using load address. The setter resolves SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command) and not in Python based commands, or breakpoint commands.''')
# Register SBAddress in _lldb:
_lldb.SBAddress_swigregister(SBAddress)
class SBAttachInfo(object):
r"""Proxy of C++ lldb::SBAttachInfo class."""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBAttachInfo self) -> SBAttachInfo
__init__(SBAttachInfo self, lldb::pid_t pid) -> SBAttachInfo
__init__(SBAttachInfo self, char const * path, bool wait_for) -> SBAttachInfo
__init__(SBAttachInfo self, char const * path, bool wait_for, bool _async) -> SBAttachInfo
__init__(SBAttachInfo self, SBAttachInfo rhs) -> SBAttachInfo
"""
_lldb.SBAttachInfo_swiginit(self, _lldb.new_SBAttachInfo(*args))
def GetProcessID(self):
r"""GetProcessID(SBAttachInfo self) -> lldb::pid_t"""
return _lldb.SBAttachInfo_GetProcessID(self)
def SetProcessID(self, pid):
r"""SetProcessID(SBAttachInfo self, lldb::pid_t pid)"""
return _lldb.SBAttachInfo_SetProcessID(self, pid)
def SetExecutable(self, *args):
r"""
SetExecutable(SBAttachInfo self, char const * path)
SetExecutable(SBAttachInfo self, SBFileSpec exe_file)
"""
return _lldb.SBAttachInfo_SetExecutable(self, *args)
def GetWaitForLaunch(self):
r"""GetWaitForLaunch(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_GetWaitForLaunch(self)
def SetWaitForLaunch(self, *args):
r"""
SetWaitForLaunch(SBAttachInfo self, bool b)
SetWaitForLaunch(SBAttachInfo self, bool b, bool _async)
"""
return _lldb.SBAttachInfo_SetWaitForLaunch(self, *args)
def GetIgnoreExisting(self):
r"""GetIgnoreExisting(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_GetIgnoreExisting(self)
def SetIgnoreExisting(self, b):
r"""SetIgnoreExisting(SBAttachInfo self, bool b)"""
return _lldb.SBAttachInfo_SetIgnoreExisting(self, b)
def GetResumeCount(self):
r"""GetResumeCount(SBAttachInfo self) -> uint32_t"""
return _lldb.SBAttachInfo_GetResumeCount(self)
def SetResumeCount(self, c):
r"""SetResumeCount(SBAttachInfo self, uint32_t c)"""
return _lldb.SBAttachInfo_SetResumeCount(self, c)
def GetProcessPluginName(self):
r"""GetProcessPluginName(SBAttachInfo self) -> char const *"""
return _lldb.SBAttachInfo_GetProcessPluginName(self)
def SetProcessPluginName(self, plugin_name):
r"""SetProcessPluginName(SBAttachInfo self, char const * plugin_name)"""
return _lldb.SBAttachInfo_SetProcessPluginName(self, plugin_name)
def GetUserID(self):
r"""GetUserID(SBAttachInfo self) -> uint32_t"""
return _lldb.SBAttachInfo_GetUserID(self)
def GetGroupID(self):
r"""GetGroupID(SBAttachInfo self) -> uint32_t"""
return _lldb.SBAttachInfo_GetGroupID(self)
def UserIDIsValid(self):
r"""UserIDIsValid(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_UserIDIsValid(self)
def GroupIDIsValid(self):
r"""GroupIDIsValid(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_GroupIDIsValid(self)
def SetUserID(self, uid):
r"""SetUserID(SBAttachInfo self, uint32_t uid)"""
return _lldb.SBAttachInfo_SetUserID(self, uid)
def SetGroupID(self, gid):
r"""SetGroupID(SBAttachInfo self, uint32_t gid)"""
return _lldb.SBAttachInfo_SetGroupID(self, gid)
def GetEffectiveUserID(self):
r"""GetEffectiveUserID(SBAttachInfo self) -> uint32_t"""
return _lldb.SBAttachInfo_GetEffectiveUserID(self)
def GetEffectiveGroupID(self):
r"""GetEffectiveGroupID(SBAttachInfo self) -> uint32_t"""
return _lldb.SBAttachInfo_GetEffectiveGroupID(self)
def EffectiveUserIDIsValid(self):
r"""EffectiveUserIDIsValid(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_EffectiveUserIDIsValid(self)
def EffectiveGroupIDIsValid(self):
r"""EffectiveGroupIDIsValid(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_EffectiveGroupIDIsValid(self)
def SetEffectiveUserID(self, uid):
r"""SetEffectiveUserID(SBAttachInfo self, uint32_t uid)"""
return _lldb.SBAttachInfo_SetEffectiveUserID(self, uid)
def SetEffectiveGroupID(self, gid):
r"""SetEffectiveGroupID(SBAttachInfo self, uint32_t gid)"""
return _lldb.SBAttachInfo_SetEffectiveGroupID(self, gid)
def GetParentProcessID(self):
r"""GetParentProcessID(SBAttachInfo self) -> lldb::pid_t"""
return _lldb.SBAttachInfo_GetParentProcessID(self)
def SetParentProcessID(self, pid):
r"""SetParentProcessID(SBAttachInfo self, lldb::pid_t pid)"""
return _lldb.SBAttachInfo_SetParentProcessID(self, pid)
def ParentProcessIDIsValid(self):
r"""ParentProcessIDIsValid(SBAttachInfo self) -> bool"""
return _lldb.SBAttachInfo_ParentProcessIDIsValid(self)
def GetListener(self):
r"""GetListener(SBAttachInfo self) -> SBListener"""
return _lldb.SBAttachInfo_GetListener(self)
def SetListener(self, listener):
r"""SetListener(SBAttachInfo self, SBListener listener)"""
return _lldb.SBAttachInfo_SetListener(self, listener)
__swig_destroy__ = _lldb.delete_SBAttachInfo
# Register SBAttachInfo in _lldb:
_lldb.SBAttachInfo_swigregister(SBAttachInfo)
class SBBlock(object):
r"""Represents a lexical block. SBFunction contains SBBlock(s)."""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBBlock self) -> SBBlock
__init__(SBBlock self, SBBlock rhs) -> SBBlock
"""
_lldb.SBBlock_swiginit(self, _lldb.new_SBBlock(*args))
__swig_destroy__ = _lldb.delete_SBBlock
def IsInlined(self):
r"""
IsInlined(SBBlock self) -> bool
Does this block represent an inlined function?
"""
return _lldb.SBBlock_IsInlined(self)
def IsValid(self):
r"""IsValid(SBBlock self) -> bool"""
return _lldb.SBBlock_IsValid(self)
def __nonzero__(self):
return _lldb.SBBlock___nonzero__(self)
__bool__ = __nonzero__
def GetInlinedName(self):
r"""
GetInlinedName(SBBlock self) -> char const *
Get the function name if this block represents an inlined function;
otherwise, return None.
"""
return _lldb.SBBlock_GetInlinedName(self)
def GetInlinedCallSiteFile(self):
r"""
GetInlinedCallSiteFile(SBBlock self) -> SBFileSpec
Get the call site file if this block represents an inlined function;
otherwise, return an invalid file spec.
"""
return _lldb.SBBlock_GetInlinedCallSiteFile(self)
def GetInlinedCallSiteLine(self):
r"""
GetInlinedCallSiteLine(SBBlock self) -> uint32_t
Get the call site line if this block represents an inlined function;
otherwise, return 0.
"""
return _lldb.SBBlock_GetInlinedCallSiteLine(self)
def GetInlinedCallSiteColumn(self):
r"""
GetInlinedCallSiteColumn(SBBlock self) -> uint32_t
Get the call site column if this block represents an inlined function;
otherwise, return 0.
"""
return _lldb.SBBlock_GetInlinedCallSiteColumn(self)
def GetParent(self):
r"""
GetParent(SBBlock self) -> SBBlock
Get the parent block.
"""
return _lldb.SBBlock_GetParent(self)
def GetContainingInlinedBlock(self):
r"""
GetContainingInlinedBlock(SBBlock self) -> SBBlock
Get the inlined block that is or contains this block.
"""
return _lldb.SBBlock_GetContainingInlinedBlock(self)
def GetSibling(self):
r"""
GetSibling(SBBlock self) -> SBBlock
Get the sibling block for this block.
"""
return _lldb.SBBlock_GetSibling(self)
def GetFirstChild(self):
r"""
GetFirstChild(SBBlock self) -> SBBlock
Get the first child block.
"""
return _lldb.SBBlock_GetFirstChild(self)
def GetNumRanges(self):
r"""GetNumRanges(SBBlock self) -> uint32_t"""
return _lldb.SBBlock_GetNumRanges(self)
def GetRangeStartAddress(self, idx):
r"""GetRangeStartAddress(SBBlock self, uint32_t idx) -> SBAddress"""
return _lldb.SBBlock_GetRangeStartAddress(self, idx)
def GetRangeEndAddress(self, idx):
r"""GetRangeEndAddress(SBBlock self, uint32_t idx) -> SBAddress"""
return _lldb.SBBlock_GetRangeEndAddress(self, idx)
def GetRangeIndexForBlockAddress(self, block_addr):
r"""GetRangeIndexForBlockAddress(SBBlock self, SBAddress block_addr) -> uint32_t"""
return _lldb.SBBlock_GetRangeIndexForBlockAddress(self, block_addr)
def GetDescription(self, description):
r"""GetDescription(SBBlock self, SBStream description) -> bool"""
return _lldb.SBBlock_GetDescription(self, description)
def GetVariables(self, *args):
r"""
GetVariables(SBBlock self, SBFrame frame, bool arguments, bool locals, bool statics, lldb::DynamicValueType use_dynamic) -> SBValueList
GetVariables(SBBlock self, SBTarget target, bool arguments, bool locals, bool statics) -> SBValueList
"""
return _lldb.SBBlock_GetVariables(self, *args)
def __str__(self):
r"""__str__(SBBlock self) -> std::string"""
return _lldb.SBBlock___str__(self)
def get_range_at_index(self, idx):
if idx < self.GetNumRanges():
return [self.GetRangeStartAddress(idx), self.GetRangeEndAddress(idx)]
return []
class ranges_access(object):
'''A helper object that will lazily hand out an array of lldb.SBAddress that represent address ranges for a block.'''
def __init__(self, sbblock):
self.sbblock = sbblock
def __len__(self):
if self.sbblock:
return int(self.sbblock.GetNumRanges())
return 0
def __getitem__(self, key):
count = len(self)
if type(key) is int:
return self.sbblock.get_range_at_index (key);
if isinstance(key, SBAddress):
range_idx = self.sbblock.GetRangeIndexForBlockAddress(key);
if range_idx < len(self):
return [self.sbblock.GetRangeStartAddress(range_idx), self.sbblock.GetRangeEndAddress(range_idx)]
else:
print("error: unsupported item type: %s" % type(key))
return None
def get_ranges_access_object(self):
'''An accessor function that returns a ranges_access() object which allows lazy block address ranges access.'''
return self.ranges_access (self)
def get_ranges_array(self):
'''An accessor function that returns an array object that contains all ranges in this block object.'''
if not hasattr(self, 'ranges_array'):
self.ranges_array = []
for idx in range(self.num_ranges):
self.ranges_array.append ([self.GetRangeStartAddress(idx), self.GetRangeEndAddress(idx)])
return self.ranges_array
def get_call_site(self):
return declaration(self.GetInlinedCallSiteFile(), self.GetInlinedCallSiteLine(), self.GetInlinedCallSiteColumn())
parent = property(GetParent, None, doc='''A read only property that returns the same result as GetParent().''')
first_child = property(GetFirstChild, None, doc='''A read only property that returns the same result as GetFirstChild().''')
call_site = property(get_call_site, None, doc='''A read only property that returns a lldb.declaration object that contains the inlined call site file, line and column.''')
sibling = property(GetSibling, None, doc='''A read only property that returns the same result as GetSibling().''')
name = property(GetInlinedName, None, doc='''A read only property that returns the same result as GetInlinedName().''')
inlined_block = property(GetContainingInlinedBlock, None, doc='''A read only property that returns the same result as GetContainingInlinedBlock().''')
range = property(get_ranges_access_object, None, doc='''A read only property that allows item access to the address ranges for a block by integer (range = block.range[0]) and by lldb.SBAdddress (find the range that contains the specified lldb.SBAddress like "pc_range = lldb.frame.block.range[frame.addr]").''')
ranges = property(get_ranges_array, None, doc='''A read only property that returns a list() object that contains all of the address ranges for the block.''')
num_ranges = property(GetNumRanges, None, doc='''A read only property that returns the same result as GetNumRanges().''')
# Register SBBlock in _lldb:
_lldb.SBBlock_swigregister(SBBlock)
class SBBreakpoint(object):
r"""
Represents a logical breakpoint and its associated settings.
For example (from test/functionalities/breakpoint/breakpoint_ignore_count/
TestBreakpointIgnoreCount.py),
def breakpoint_ignore_count_python(self):
'''Use Python APIs to set breakpoint ignore count.'''
exe = os.path.join(os.getcwd(), 'a.out')
# Create a target by the debugger.
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
# Now create a breakpoint on main.c by name 'c'.
breakpoint = target.BreakpointCreateByName('c', 'a.out')
self.assertTrue(breakpoint and
breakpoint.GetNumLocations() == 1,
VALID_BREAKPOINT)
# Get the breakpoint location from breakpoint after we verified that,
# indeed, it has one location.
location = breakpoint.GetLocationAtIndex(0)
self.assertTrue(location and
location.IsEnabled(),
VALID_BREAKPOINT_LOCATION)
# Set the ignore count on the breakpoint location.
location.SetIgnoreCount(2)
self.assertTrue(location.GetIgnoreCount() == 2,
'SetIgnoreCount() works correctly')
# Now launch the process, and do not stop at entry point.
process = target.LaunchSimple(None, None, os.getcwd())
self.assertTrue(process, PROCESS_IS_VALID)
# Frame#0 should be on main.c:37, frame#1 should be on main.c:25, and
# frame#2 should be on main.c:48.
#lldbutil.print_stacktraces(process)
from lldbutil import get_stopped_thread
thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
self.assertTrue(thread != None, 'There should be a thread stopped due to breakpoint')
frame0 = thread.GetFrameAtIndex(0)
frame1 = thread.GetFrameAtIndex(1)
frame2 = thread.GetFrameAtIndex(2)
self.assertTrue(frame0.GetLineEntry().GetLine() == self.line1 and
frame1.GetLineEntry().GetLine() == self.line3 and
frame2.GetLineEntry().GetLine() == self.line4,
STOPPED_DUE_TO_BREAKPOINT_IGNORE_COUNT)
# The hit count for the breakpoint should be 3.
self.assertTrue(breakpoint.GetHitCount() == 3)
process.Continue()
SBBreakpoint supports breakpoint location iteration, for example,
for bl in breakpoint:
print('breakpoint location load addr: %s' % hex(bl.GetLoadAddress()))
print('breakpoint location condition: %s' % hex(bl.GetCondition()))
and rich comparison methods which allow the API program to use,
if aBreakpoint == bBreakpoint:
...
to compare two breakpoints for equality.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBBreakpoint self) -> SBBreakpoint
__init__(SBBreakpoint self, SBBreakpoint rhs) -> SBBreakpoint
"""
_lldb.SBBreakpoint_swiginit(self, _lldb.new_SBBreakpoint(*args))
__swig_destroy__ = _lldb.delete_SBBreakpoint
def __eq__(self, rhs):
r"""__eq__(SBBreakpoint self, SBBreakpoint rhs) -> bool"""
return _lldb.SBBreakpoint___eq__(self, rhs)
def __ne__(self, rhs):
r"""__ne__(SBBreakpoint self, SBBreakpoint rhs) -> bool"""
return _lldb.SBBreakpoint___ne__(self, rhs)
def GetID(self):
r"""GetID(SBBreakpoint self) -> lldb::break_id_t"""
return _lldb.SBBreakpoint_GetID(self)
def IsValid(self):
r"""IsValid(SBBreakpoint self) -> bool"""
return _lldb.SBBreakpoint_IsValid(self)
def __nonzero__(self):
return _lldb.SBBreakpoint___nonzero__(self)
__bool__ = __nonzero__
def ClearAllBreakpointSites(self):
r"""ClearAllBreakpointSites(SBBreakpoint self)"""
return _lldb.SBBreakpoint_ClearAllBreakpointSites(self)
def FindLocationByAddress(self, vm_addr):
r"""FindLocationByAddress(SBBreakpoint self, lldb::addr_t vm_addr) -> SBBreakpointLocation"""
return _lldb.SBBreakpoint_FindLocationByAddress(self, vm_addr)
def FindLocationIDByAddress(self, vm_addr):
r"""FindLocationIDByAddress(SBBreakpoint self, lldb::addr_t vm_addr) -> lldb::break_id_t"""
return _lldb.SBBreakpoint_FindLocationIDByAddress(self, vm_addr)
def FindLocationByID(self, bp_loc_id):
r"""FindLocationByID(SBBreakpoint self, lldb::break_id_t bp_loc_id) -> SBBreakpointLocation"""
return _lldb.SBBreakpoint_FindLocationByID(self, bp_loc_id)
def GetLocationAtIndex(self, index):
r"""GetLocationAtIndex(SBBreakpoint self, uint32_t index) -> SBBreakpointLocation"""
return _lldb.SBBreakpoint_GetLocationAtIndex(self, index)
def SetEnabled(self, enable):
r"""SetEnabled(SBBreakpoint self, bool enable)"""
return _lldb.SBBreakpoint_SetEnabled(self, enable)
def IsEnabled(self):
r"""IsEnabled(SBBreakpoint self) -> bool"""
return _lldb.SBBreakpoint_IsEnabled(self)
def SetOneShot(self, one_shot):
r"""SetOneShot(SBBreakpoint self, bool one_shot)"""
return _lldb.SBBreakpoint_SetOneShot(self, one_shot)
def IsOneShot(self):
r"""IsOneShot(SBBreakpoint self) -> bool"""
return _lldb.SBBreakpoint_IsOneShot(self)
def IsInternal(self):
r"""IsInternal(SBBreakpoint self) -> bool"""
return _lldb.SBBreakpoint_IsInternal(self)
def GetHitCount(self):
r"""GetHitCount(SBBreakpoint self) -> uint32_t"""
return _lldb.SBBreakpoint_GetHitCount(self)
def SetIgnoreCount(self, count):
r"""SetIgnoreCount(SBBreakpoint self, uint32_t count)"""
return _lldb.SBBreakpoint_SetIgnoreCount(self, count)
def GetIgnoreCount(self):
r"""GetIgnoreCount(SBBreakpoint self) -> uint32_t"""
return _lldb.SBBreakpoint_GetIgnoreCount(self)
def SetCondition(self, condition):
r"""
SetCondition(SBBreakpoint self, char const * condition)
The breakpoint stops only if the condition expression evaluates to true.
"""
return _lldb.SBBreakpoint_SetCondition(self, condition)
def GetCondition(self):
r"""
GetCondition(SBBreakpoint self) -> char const *
Get the condition expression for the breakpoint.
"""
return _lldb.SBBreakpoint_GetCondition(self)
def SetAutoContinue(self, auto_continue):
r"""SetAutoContinue(SBBreakpoint self, bool auto_continue)"""
return _lldb.SBBreakpoint_SetAutoContinue(self, auto_continue)
def GetAutoContinue(self):
r"""GetAutoContinue(SBBreakpoint self) -> bool"""
return _lldb.SBBreakpoint_GetAutoContinue(self)
def SetThreadID(self, sb_thread_id):
r"""SetThreadID(SBBreakpoint self, lldb::tid_t sb_thread_id)"""
return _lldb.SBBreakpoint_SetThreadID(self, sb_thread_id)
def GetThreadID(self):
r"""GetThreadID(SBBreakpoint self) -> lldb::tid_t"""
return _lldb.SBBreakpoint_GetThreadID(self)
def SetThreadIndex(self, index):
r"""SetThreadIndex(SBBreakpoint self, uint32_t index)"""
return _lldb.SBBreakpoint_SetThreadIndex(self, index)
def GetThreadIndex(self):
r"""GetThreadIndex(SBBreakpoint self) -> uint32_t"""
return _lldb.SBBreakpoint_GetThreadIndex(self)
def SetThreadName(self, thread_name):
r"""SetThreadName(SBBreakpoint self, char const * thread_name)"""
return _lldb.SBBreakpoint_SetThreadName(self, thread_name)
def GetThreadName(self):
r"""GetThreadName(SBBreakpoint self) -> char const *"""
return _lldb.SBBreakpoint_GetThreadName(self)
def SetQueueName(self, queue_name):
r"""SetQueueName(SBBreakpoint self, char const * queue_name)"""
return _lldb.SBBreakpoint_SetQueueName(self, queue_name)
def GetQueueName(self):
r"""GetQueueName(SBBreakpoint self) -> char const *"""
return _lldb.SBBreakpoint_GetQueueName(self)
def SetScriptCallbackFunction(self, *args):
r"""
SetScriptCallbackFunction(SBBreakpoint self, char const * callback_function_name)
SetScriptCallbackFunction(SBBreakpoint self, char const * callback_function_name, SBStructuredData extra_args) -> SBError
Set the name of the script function to be called when the breakpoint is hit.
To use this variant, the function should take (frame, bp_loc, extra_args, dict) and
when the breakpoint is hit the extra_args will be passed to the callback function.
"""
return _lldb.SBBreakpoint_SetScriptCallbackFunction(self, *args)
def SetScriptCallbackBody(self, script_body_text):
r"""
SetScriptCallbackBody(SBBreakpoint self, char const * script_body_text) -> SBError
Provide the body for the script function to be called when the breakpoint is hit.
The body will be wrapped in a function, which be passed two arguments:
'frame' - which holds the bottom-most SBFrame of the thread that hit the breakpoint
'bpno' - which is the SBBreakpointLocation to which the callback was attached.
The error parameter is currently ignored, but will at some point hold the Python
compilation diagnostics.
Returns true if the body compiles successfully, false if not.
"""
return _lldb.SBBreakpoint_SetScriptCallbackBody(self, script_body_text)
def SetCommandLineCommands(self, commands):
r"""SetCommandLineCommands(SBBreakpoint self, SBStringList commands)"""
return _lldb.SBBreakpoint_SetCommandLineCommands(self, commands)
def GetCommandLineCommands(self, commands):
r"""GetCommandLineCommands(SBBreakpoint self, SBStringList commands) -> bool"""
return _lldb.SBBreakpoint_GetCommandLineCommands(self, commands)
def AddName(self, new_name):
r"""AddName(SBBreakpoint self, char const * new_name) -> bool"""
return _lldb.SBBreakpoint_AddName(self, new_name)
def RemoveName(self, name_to_remove):
r"""RemoveName(SBBreakpoint self, char const * name_to_remove)"""
return _lldb.SBBreakpoint_RemoveName(self, name_to_remove)
def MatchesName(self, name):
r"""MatchesName(SBBreakpoint self, char const * name) -> bool"""
return _lldb.SBBreakpoint_MatchesName(self, name)
def GetNames(self, names):
r"""GetNames(SBBreakpoint self, SBStringList names)"""
return _lldb.SBBreakpoint_GetNames(self, names)
def GetNumResolvedLocations(self):
r"""GetNumResolvedLocations(SBBreakpoint self) -> size_t"""
return _lldb.SBBreakpoint_GetNumResolvedLocations(self)
def GetNumLocations(self):
r"""GetNumLocations(SBBreakpoint self) -> size_t"""
return _lldb.SBBreakpoint_GetNumLocations(self)
def GetDescription(self, *args):
r"""
GetDescription(SBBreakpoint self, SBStream description) -> bool
GetDescription(SBBreakpoint self, SBStream description, bool include_locations) -> bool
"""
return _lldb.SBBreakpoint_GetDescription(self, *args)
def AddLocation(self, address):
r"""AddLocation(SBBreakpoint self, SBAddress address) -> SBError"""
return _lldb.SBBreakpoint_AddLocation(self, address)
@staticmethod
def EventIsBreakpointEvent(event):
r"""EventIsBreakpointEvent(SBEvent event) -> bool"""
return _lldb.SBBreakpoint_EventIsBreakpointEvent(event)
@staticmethod
def GetBreakpointEventTypeFromEvent(event):
r"""GetBreakpointEventTypeFromEvent(SBEvent event) -> lldb::BreakpointEventType"""
return _lldb.SBBreakpoint_GetBreakpointEventTypeFromEvent(event)
@staticmethod
def GetBreakpointFromEvent(event):
r"""GetBreakpointFromEvent(SBEvent event) -> SBBreakpoint"""
return _lldb.SBBreakpoint_GetBreakpointFromEvent(event)
@staticmethod
def GetBreakpointLocationAtIndexFromEvent(event, loc_idx):
r"""GetBreakpointLocationAtIndexFromEvent(SBEvent event, uint32_t loc_idx) -> SBBreakpointLocation"""
return _lldb.SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(event, loc_idx)
@staticmethod
def GetNumBreakpointLocationsFromEvent(event_sp):
r"""GetNumBreakpointLocationsFromEvent(SBEvent event_sp) -> uint32_t"""
return _lldb.SBBreakpoint_GetNumBreakpointLocationsFromEvent(event_sp)
def IsHardware(self):
r"""IsHardware(SBBreakpoint self) -> bool"""
return _lldb.SBBreakpoint_IsHardware(self)
def __str__(self):
r"""__str__(SBBreakpoint self) -> std::string"""
return _lldb.SBBreakpoint___str__(self)
class locations_access(object):
'''A helper object that will lazily hand out locations for a breakpoint when supplied an index.'''
def __init__(self, sbbreakpoint):
self.sbbreakpoint = sbbreakpoint
def __len__(self):
if self.sbbreakpoint:
return int(self.sbbreakpoint.GetNumLocations())
return 0
def __getitem__(self, key):
if type(key) is int and key < len(self):
return self.sbbreakpoint.GetLocationAtIndex(key)
return None
def get_locations_access_object(self):
'''An accessor function that returns a locations_access() object which allows lazy location access from a lldb.SBBreakpoint object.'''
return self.locations_access (self)
def get_breakpoint_location_list(self):
'''An accessor function that returns a list() that contains all locations in a lldb.SBBreakpoint object.'''
locations = []
accessor = self.get_locations_access_object()
for idx in range(len(accessor)):
locations.append(accessor[idx])
return locations
def __iter__(self):
'''Iterate over all breakpoint locations in a lldb.SBBreakpoint
object.'''
return lldb_iter(self, 'GetNumLocations', 'GetLocationAtIndex')
def __len__(self):
'''Return the number of breakpoint locations in a lldb.SBBreakpoint
object.'''
return self.GetNumLocations()
locations = property(get_breakpoint_location_list, None, doc='''A read only property that returns a list() of lldb.SBBreakpointLocation objects for this breakpoint.''')
location = property(get_locations_access_object, None, doc='''A read only property that returns an object that can access locations by index (not location ID) (location = bkpt.location[12]).''')
id = property(GetID, None, doc='''A read only property that returns the ID of this breakpoint.''')
enabled = property(IsEnabled, SetEnabled, doc='''A read/write property that configures whether this breakpoint is enabled or not.''')
one_shot = property(IsOneShot, SetOneShot, doc='''A read/write property that configures whether this breakpoint is one-shot (deleted when hit) or not.''')
num_locations = property(GetNumLocations, None, doc='''A read only property that returns the count of locations of this breakpoint.''')
def __eq__(self, rhs):
if not isinstance(rhs, type(self)):
return False
return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
def __ne__(self, rhs):
if not isinstance(rhs, type(self)):
return True
return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
# Register SBBreakpoint in _lldb:
_lldb.SBBreakpoint_swigregister(SBBreakpoint)
def SBBreakpoint_EventIsBreakpointEvent(event):
r"""SBBreakpoint_EventIsBreakpointEvent(SBEvent event) -> bool"""
return _lldb.SBBreakpoint_EventIsBreakpointEvent(event)
def SBBreakpoint_GetBreakpointEventTypeFromEvent(event):
r"""SBBreakpoint_GetBreakpointEventTypeFromEvent(SBEvent event) -> lldb::BreakpointEventType"""
return _lldb.SBBreakpoint_GetBreakpointEventTypeFromEvent(event)
def SBBreakpoint_GetBreakpointFromEvent(event):
r"""SBBreakpoint_GetBreakpointFromEvent(SBEvent event) -> SBBreakpoint"""
return _lldb.SBBreakpoint_GetBreakpointFromEvent(event)
def SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(event, loc_idx):
r"""SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(SBEvent event, uint32_t loc_idx) -> SBBreakpointLocation"""
return _lldb.SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(event, loc_idx)
def SBBreakpoint_GetNumBreakpointLocationsFromEvent(event_sp):
r"""SBBreakpoint_GetNumBreakpointLocationsFromEvent(SBEvent event_sp) -> uint32_t"""
return _lldb.SBBreakpoint_GetNumBreakpointLocationsFromEvent(event_sp)
class SBBreakpointList(object):
r"""Proxy of C++ lldb::SBBreakpointList class."""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, target):
r"""__init__(SBBreakpointList self, SBTarget target) -> SBBreakpointList"""
_lldb.SBBreakpointList_swiginit(self, _lldb.new_SBBreakpointList(target))
__swig_destroy__ = _lldb.delete_SBBreakpointList
def GetSize(self):
r"""GetSize(SBBreakpointList self) -> size_t"""
return _lldb.SBBreakpointList_GetSize(self)
def GetBreakpointAtIndex(self, idx):
r"""GetBreakpointAtIndex(SBBreakpointList self, size_t idx) -> SBBreakpoint"""
return _lldb.SBBreakpointList_GetBreakpointAtIndex(self, idx)
def FindBreakpointByID(self, arg2):
r"""FindBreakpointByID(SBBreakpointList self, lldb::break_id_t arg2) -> SBBreakpoint"""
return _lldb.SBBreakpointList_FindBreakpointByID(self, arg2)
def Append(self, sb_bkpt):
r"""Append(SBBreakpointList self, SBBreakpoint sb_bkpt)"""
return _lldb.SBBreakpointList_Append(self, sb_bkpt)
def AppendIfUnique(self, sb_bkpt):
r"""AppendIfUnique(SBBreakpointList self, SBBreakpoint sb_bkpt) -> bool"""
return _lldb.SBBreakpointList_AppendIfUnique(self, sb_bkpt)
def AppendByID(self, id):
r"""AppendByID(SBBreakpointList self, lldb::break_id_t id)"""
return _lldb.SBBreakpointList_AppendByID(self, id)
def Clear(self):
r"""Clear(SBBreakpointList self)"""
return _lldb.SBBreakpointList_Clear(self)
# Register SBBreakpointList in _lldb:
_lldb.SBBreakpointList_swigregister(SBBreakpointList)
class SBBreakpointLocation(object):
r"""
Represents one unique instance (by address) of a logical breakpoint.
A breakpoint location is defined by the breakpoint that produces it,
and the address that resulted in this particular instantiation.
Each breakpoint location has its settable options.
SBBreakpoint contains SBBreakpointLocation(s). See docstring of SBBreakpoint
for retrieval of an SBBreakpointLocation from an SBBreakpoint.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBBreakpointLocation self) -> SBBreakpointLocation
__init__(SBBreakpointLocation self, SBBreakpointLocation rhs) -> SBBreakpointLocation
"""
_lldb.SBBreakpointLocation_swiginit(self, _lldb.new_SBBreakpointLocation(*args))
__swig_destroy__ = _lldb.delete_SBBreakpointLocation
def GetID(self):
r"""GetID(SBBreakpointLocation self) -> lldb::break_id_t"""
return _lldb.SBBreakpointLocation_GetID(self)
def IsValid(self):
r"""IsValid(SBBreakpointLocation self) -> bool"""
return _lldb.SBBreakpointLocation_IsValid(self)
def __nonzero__(self):
return _lldb.SBBreakpointLocation___nonzero__(self)
__bool__ = __nonzero__
def GetAddress(self):
r"""GetAddress(SBBreakpointLocation self) -> SBAddress"""
return _lldb.SBBreakpointLocation_GetAddress(self)
def GetLoadAddress(self):
r"""GetLoadAddress(SBBreakpointLocation self) -> lldb::addr_t"""
return _lldb.SBBreakpointLocation_GetLoadAddress(self)
def SetEnabled(self, enabled):
r"""SetEnabled(SBBreakpointLocation self, bool enabled)"""
return _lldb.SBBreakpointLocation_SetEnabled(self, enabled)
def IsEnabled(self):
r"""IsEnabled(SBBreakpointLocation self) -> bool"""
return _lldb.SBBreakpointLocation_IsEnabled(self)
def GetHitCount(self):
r"""GetHitCount(SBBreakpointLocation self) -> uint32_t"""
return _lldb.SBBreakpointLocation_GetHitCount(self)
def GetIgnoreCount(self):
r"""GetIgnoreCount(SBBreakpointLocation self) -> uint32_t"""
return _lldb.SBBreakpointLocation_GetIgnoreCount(self)
def SetIgnoreCount(self, n):
r"""SetIgnoreCount(SBBreakpointLocation self, uint32_t n)"""
return _lldb.SBBreakpointLocation_SetIgnoreCount(self, n)
def SetCondition(self, condition):
r"""
SetCondition(SBBreakpointLocation self, char const * condition)
The breakpoint location stops only if the condition expression evaluates
to true.
"""
return _lldb.SBBreakpointLocation_SetCondition(self, condition)
def GetCondition(self):
r"""
GetCondition(SBBreakpointLocation self) -> char const *
Get the condition expression for the breakpoint location.
"""
return _lldb.SBBreakpointLocation_GetCondition(self)
def GetAutoContinue(self):
r"""GetAutoContinue(SBBreakpointLocation self) -> bool"""
return _lldb.SBBreakpointLocation_GetAutoContinue(self)
def SetAutoContinue(self, auto_continue):
r"""SetAutoContinue(SBBreakpointLocation self, bool auto_continue)"""
return _lldb.SBBreakpointLocation_SetAutoContinue(self, auto_continue)
def SetScriptCallbackFunction(self, *args):
r"""
SetScriptCallbackFunction(SBBreakpointLocation self, char const * callback_function_name)
SetScriptCallbackFunction(SBBreakpointLocation self, char const * callback_function_name, SBStructuredData extra_args) -> SBError
Set the name of the script function to be called when the breakpoint is hit.
To use this variant, the function should take (frame, bp_loc, extra_args, dict) and
when the breakpoint is hit the extra_args will be passed to the callback function.
"""
return _lldb.SBBreakpointLocation_SetScriptCallbackFunction(self, *args)
def SetScriptCallbackBody(self, script_body_text):
r"""
SetScriptCallbackBody(SBBreakpointLocation self, char const * script_body_text) -> SBError
Provide the body for the script function to be called when the breakpoint location is hit.
The body will be wrapped in a function, which be passed two arguments:
'frame' - which holds the bottom-most SBFrame of the thread that hit the breakpoint
'bpno' - which is the SBBreakpointLocation to which the callback was attached.
The error parameter is currently ignored, but will at some point hold the Python
compilation diagnostics.
Returns true if the body compiles successfully, false if not.
"""
return _lldb.SBBreakpointLocation_SetScriptCallbackBody(self, script_body_text)
def SetCommandLineCommands(self, commands):
r"""SetCommandLineCommands(SBBreakpointLocation self, SBStringList commands)"""
return _lldb.SBBreakpointLocation_SetCommandLineCommands(self, commands)
def GetCommandLineCommands(self, commands):
r"""GetCommandLineCommands(SBBreakpointLocation self, SBStringList commands) -> bool"""
return _lldb.SBBreakpointLocation_GetCommandLineCommands(self, commands)
def SetThreadID(self, sb_thread_id):
r"""SetThreadID(SBBreakpointLocation self, lldb::tid_t sb_thread_id)"""
return _lldb.SBBreakpointLocation_SetThreadID(self, sb_thread_id)
def GetThreadID(self):
r"""GetThreadID(SBBreakpointLocation self) -> lldb::tid_t"""
return _lldb.SBBreakpointLocation_GetThreadID(self)
def SetThreadIndex(self, index):
r"""SetThreadIndex(SBBreakpointLocation self, uint32_t index)"""
return _lldb.SBBreakpointLocation_SetThreadIndex(self, index)
def GetThreadIndex(self):
r"""GetThreadIndex(SBBreakpointLocation self) -> uint32_t"""
return _lldb.SBBreakpointLocation_GetThreadIndex(self)
def SetThreadName(self, thread_name):
r"""SetThreadName(SBBreakpointLocation self, char const * thread_name)"""
return _lldb.SBBreakpointLocation_SetThreadName(self, thread_name)
def GetThreadName(self):
r"""GetThreadName(SBBreakpointLocation self) -> char const *"""
return _lldb.SBBreakpointLocation_GetThreadName(self)
def SetQueueName(self, queue_name):
r"""SetQueueName(SBBreakpointLocation self, char const * queue_name)"""
return _lldb.SBBreakpointLocation_SetQueueName(self, queue_name)
def GetQueueName(self):
r"""GetQueueName(SBBreakpointLocation self) -> char const *"""
return _lldb.SBBreakpointLocation_GetQueueName(self)
def IsResolved(self):
r"""IsResolved(SBBreakpointLocation self) -> bool"""
return _lldb.SBBreakpointLocation_IsResolved(self)
def GetDescription(self, description, level):
r"""GetDescription(SBBreakpointLocation self, SBStream description, lldb::DescriptionLevel level) -> bool"""
return _lldb.SBBreakpointLocation_GetDescription(self, description, level)
def GetBreakpoint(self):
r"""GetBreakpoint(SBBreakpointLocation self) -> SBBreakpoint"""
return _lldb.SBBreakpointLocation_GetBreakpoint(self)
def __str__(self):
r"""__str__(SBBreakpointLocation self) -> std::string"""
return _lldb.SBBreakpointLocation___str__(self)
# Register SBBreakpointLocation in _lldb:
_lldb.SBBreakpointLocation_swigregister(SBBreakpointLocation)
class SBBreakpointName(object):
r"""
Represents a breakpoint name registered in a given SBTarget.
Breakpoint names provide a way to act on groups of breakpoints. When you add a
name to a group of breakpoints, you can then use the name in all the command
line lldb commands for that name. You can also configure the SBBreakpointName
options and those options will be propagated to any SBBreakpoints currently
using that name. Adding a name to a breakpoint will also apply any of the
set options to that breakpoint.
You can also set permissions on a breakpoint name to disable listing, deleting
and disabling breakpoints. That will disallow the given operation for breakpoints
except when the breakpoint is mentioned by ID. So for instance deleting all the
breakpoints won't delete breakpoints so marked.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBBreakpointName self) -> SBBreakpointName
__init__(SBBreakpointName self, SBTarget target, char const * name) -> SBBreakpointName
__init__(SBBreakpointName self, SBBreakpoint bkpt, char const * name) -> SBBreakpointName
__init__(SBBreakpointName self, SBBreakpointName rhs) -> SBBreakpointName
"""
_lldb.SBBreakpointName_swiginit(self, _lldb.new_SBBreakpointName(*args))
__swig_destroy__ = _lldb.delete_SBBreakpointName
def __eq__(self, rhs):
r"""__eq__(SBBreakpointName self, SBBreakpointName rhs) -> bool"""
return _lldb.SBBreakpointName___eq__(self, rhs)
def __ne__(self, rhs):
r"""__ne__(SBBreakpointName self, SBBreakpointName rhs) -> bool"""
return _lldb.SBBreakpointName___ne__(self, rhs)
def __nonzero__(self):
return _lldb.SBBreakpointName___nonzero__(self)
__bool__ = __nonzero__
def IsValid(self):
r"""IsValid(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_IsValid(self)
def GetName(self):
r"""GetName(SBBreakpointName self) -> char const *"""
return _lldb.SBBreakpointName_GetName(self)
def SetEnabled(self, enable):
r"""SetEnabled(SBBreakpointName self, bool enable)"""
return _lldb.SBBreakpointName_SetEnabled(self, enable)
def IsEnabled(self):
r"""IsEnabled(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_IsEnabled(self)
def SetOneShot(self, one_shot):
r"""SetOneShot(SBBreakpointName self, bool one_shot)"""
return _lldb.SBBreakpointName_SetOneShot(self, one_shot)
def IsOneShot(self):
r"""IsOneShot(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_IsOneShot(self)
def SetIgnoreCount(self, count):
r"""SetIgnoreCount(SBBreakpointName self, uint32_t count)"""
return _lldb.SBBreakpointName_SetIgnoreCount(self, count)
def GetIgnoreCount(self):
r"""GetIgnoreCount(SBBreakpointName self) -> uint32_t"""
return _lldb.SBBreakpointName_GetIgnoreCount(self)
def SetCondition(self, condition):
r"""SetCondition(SBBreakpointName self, char const * condition)"""
return _lldb.SBBreakpointName_SetCondition(self, condition)
def GetCondition(self):
r"""GetCondition(SBBreakpointName self) -> char const *"""
return _lldb.SBBreakpointName_GetCondition(self)
def SetAutoContinue(self, auto_continue):
r"""SetAutoContinue(SBBreakpointName self, bool auto_continue)"""
return _lldb.SBBreakpointName_SetAutoContinue(self, auto_continue)
def GetAutoContinue(self):
r"""GetAutoContinue(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_GetAutoContinue(self)
def SetThreadID(self, sb_thread_id):
r"""SetThreadID(SBBreakpointName self, lldb::tid_t sb_thread_id)"""
return _lldb.SBBreakpointName_SetThreadID(self, sb_thread_id)
def GetThreadID(self):
r"""GetThreadID(SBBreakpointName self) -> lldb::tid_t"""
return _lldb.SBBreakpointName_GetThreadID(self)
def SetThreadIndex(self, index):
r"""SetThreadIndex(SBBreakpointName self, uint32_t index)"""
return _lldb.SBBreakpointName_SetThreadIndex(self, index)
def GetThreadIndex(self):
r"""GetThreadIndex(SBBreakpointName self) -> uint32_t"""
return _lldb.SBBreakpointName_GetThreadIndex(self)
def SetThreadName(self, thread_name):
r"""SetThreadName(SBBreakpointName self, char const * thread_name)"""
return _lldb.SBBreakpointName_SetThreadName(self, thread_name)
def GetThreadName(self):
r"""GetThreadName(SBBreakpointName self) -> char const *"""
return _lldb.SBBreakpointName_GetThreadName(self)
def SetQueueName(self, queue_name):
r"""SetQueueName(SBBreakpointName self, char const * queue_name)"""
return _lldb.SBBreakpointName_SetQueueName(self, queue_name)
def GetQueueName(self):
r"""GetQueueName(SBBreakpointName self) -> char const *"""
return _lldb.SBBreakpointName_GetQueueName(self)
def SetScriptCallbackFunction(self, *args):
r"""
SetScriptCallbackFunction(SBBreakpointName self, char const * callback_function_name)
SetScriptCallbackFunction(SBBreakpointName self, char const * callback_function_name, SBStructuredData extra_args) -> SBError
"""
return _lldb.SBBreakpointName_SetScriptCallbackFunction(self, *args)
def SetCommandLineCommands(self, commands):
r"""SetCommandLineCommands(SBBreakpointName self, SBStringList commands)"""
return _lldb.SBBreakpointName_SetCommandLineCommands(self, commands)
def GetCommandLineCommands(self, commands):
r"""GetCommandLineCommands(SBBreakpointName self, SBStringList commands) -> bool"""
return _lldb.SBBreakpointName_GetCommandLineCommands(self, commands)
def SetScriptCallbackBody(self, script_body_text):
r"""SetScriptCallbackBody(SBBreakpointName self, char const * script_body_text) -> SBError"""
return _lldb.SBBreakpointName_SetScriptCallbackBody(self, script_body_text)
def GetHelpString(self):
r"""GetHelpString(SBBreakpointName self) -> char const *"""
return _lldb.SBBreakpointName_GetHelpString(self)
def SetHelpString(self, help_string):
r"""SetHelpString(SBBreakpointName self, char const * help_string)"""
return _lldb.SBBreakpointName_SetHelpString(self, help_string)
def GetAllowList(self):
r"""GetAllowList(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_GetAllowList(self)
def SetAllowList(self, value):
r"""SetAllowList(SBBreakpointName self, bool value)"""
return _lldb.SBBreakpointName_SetAllowList(self, value)
def GetAllowDelete(self):
r"""GetAllowDelete(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_GetAllowDelete(self)
def SetAllowDelete(self, value):
r"""SetAllowDelete(SBBreakpointName self, bool value)"""
return _lldb.SBBreakpointName_SetAllowDelete(self, value)
def GetAllowDisable(self):
r"""GetAllowDisable(SBBreakpointName self) -> bool"""
return _lldb.SBBreakpointName_GetAllowDisable(self)
def SetAllowDisable(self, value):
r"""SetAllowDisable(SBBreakpointName self, bool value)"""
return _lldb.SBBreakpointName_SetAllowDisable(self, value)
def GetDescription(self, description):
r"""GetDescription(SBBreakpointName self, SBStream description) -> bool"""
return _lldb.SBBreakpointName_GetDescription(self, description)
def __str__(self):
r"""__str__(SBBreakpointName self) -> std::string"""
return _lldb.SBBreakpointName___str__(self)
# Register SBBreakpointName in _lldb:
_lldb.SBBreakpointName_swigregister(SBBreakpointName)
class SBBroadcaster(object):
r"""
Represents an entity which can broadcast events. A default broadcaster is
associated with an SBCommandInterpreter, SBProcess, and SBTarget. For
example, use
broadcaster = process.GetBroadcaster()
to retrieve the process's broadcaster.
See also SBEvent for example usage of interacting with a broadcaster.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBBroadcaster self) -> SBBroadcaster
__init__(SBBroadcaster self, char const * name) -> SBBroadcaster
__init__(SBBroadcaster self, SBBroadcaster rhs) -> SBBroadcaster
"""
_lldb.SBBroadcaster_swiginit(self, _lldb.new_SBBroadcaster(*args))
__swig_destroy__ = _lldb.delete_SBBroadcaster
def IsValid(self):
r"""IsValid(SBBroadcaster self) -> bool"""
return _lldb.SBBroadcaster_IsValid(self)
def __nonzero__(self):
return _lldb.SBBroadcaster___nonzero__(self)
__bool__ = __nonzero__
def Clear(self):
r"""Clear(SBBroadcaster self)"""
return _lldb.SBBroadcaster_Clear(self)
def BroadcastEventByType(self, event_type, unique=False):
r"""BroadcastEventByType(SBBroadcaster self, uint32_t event_type, bool unique=False)"""
return _lldb.SBBroadcaster_BroadcastEventByType(self, event_type, unique)
def BroadcastEvent(self, event, unique=False):
r"""BroadcastEvent(SBBroadcaster self, SBEvent event, bool unique=False)"""
return _lldb.SBBroadcaster_BroadcastEvent(self, event, unique)
def AddInitialEventsToListener(self, listener, requested_events):
r"""AddInitialEventsToListener(SBBroadcaster self, SBListener listener, uint32_t requested_events)"""
return _lldb.SBBroadcaster_AddInitialEventsToListener(self, listener, requested_events)
def AddListener(self, listener, event_mask):
r"""AddListener(SBBroadcaster self, SBListener listener, uint32_t event_mask) -> uint32_t"""
return _lldb.SBBroadcaster_AddListener(self, listener, event_mask)
def GetName(self):
r"""GetName(SBBroadcaster self) -> char const *"""
return _lldb.SBBroadcaster_GetName(self)
def EventTypeHasListeners(self, event_type):
r"""EventTypeHasListeners(SBBroadcaster self, uint32_t event_type) -> bool"""
return _lldb.SBBroadcaster_EventTypeHasListeners(self, event_type)
def RemoveListener(self, *args):
r"""RemoveListener(SBBroadcaster self, SBListener listener, uint32_t event_mask=4294967295U) -> bool"""
return _lldb.SBBroadcaster_RemoveListener(self, *args)
def __eq__(self, rhs):
r"""__eq__(SBBroadcaster self, SBBroadcaster rhs) -> bool"""
return _lldb.SBBroadcaster___eq__(self, rhs)
def __ne__(self, rhs):
r"""__ne__(SBBroadcaster self, SBBroadcaster rhs) -> bool"""
return _lldb.SBBroadcaster___ne__(self, rhs)
def __eq__(self, rhs):
if not isinstance(rhs, type(self)):
return False
return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
def __ne__(self, rhs):
if not isinstance(rhs, type(self)):
return True
return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
# Register SBBroadcaster in _lldb:
_lldb.SBBroadcaster_swigregister(SBBroadcaster)
class SBCommandInterpreterRunOptions(object):
r"""
SBCommandInterpreterRunOptions controls how the RunCommandInterpreter runs the code it is fed.
A default SBCommandInterpreterRunOptions object has:
StopOnContinue: false
StopOnError: false
StopOnCrash: false
EchoCommands: true
PrintResults: true
AddToHistory: true
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self):
r"""__init__(SBCommandInterpreterRunOptions self) -> SBCommandInterpreterRunOptions"""
_lldb.SBCommandInterpreterRunOptions_swiginit(self, _lldb.new_SBCommandInterpreterRunOptions())
__swig_destroy__ = _lldb.delete_SBCommandInterpreterRunOptions
def GetStopOnContinue(self):
r"""GetStopOnContinue(SBCommandInterpreterRunOptions self) -> bool"""
return _lldb.SBCommandInterpreterRunOptions_GetStopOnContinue(self)
def SetStopOnContinue(self, arg2):
r"""SetStopOnContinue(SBCommandInterpreterRunOptions self, bool arg2)"""
return _lldb.SBCommandInterpreterRunOptions_SetStopOnContinue(self, arg2)
def GetStopOnError(self):
r"""GetStopOnError(SBCommandInterpreterRunOptions self) -> bool"""
return _lldb.SBCommandInterpreterRunOptions_GetStopOnError(self)
def SetStopOnError(self, arg2):
r"""SetStopOnError(SBCommandInterpreterRunOptions self, bool arg2)"""
return _lldb.SBCommandInterpreterRunOptions_SetStopOnError(self, arg2)
def GetStopOnCrash(self):
r"""GetStopOnCrash(SBCommandInterpreterRunOptions self) -> bool"""
return _lldb.SBCommandInterpreterRunOptions_GetStopOnCrash(self)
def SetStopOnCrash(self, arg2):
r"""SetStopOnCrash(SBCommandInterpreterRunOptions self, bool arg2)"""
return _lldb.SBCommandInterpreterRunOptions_SetStopOnCrash(self, arg2)
def GetEchoCommands(self):
r"""GetEchoCommands(SBCommandInterpreterRunOptions self) -> bool"""
return _lldb.SBCommandInterpreterRunOptions_GetEchoCommands(self)
def SetEchoCommands(self, arg2):
r"""SetEchoCommands(SBCommandInterpreterRunOptions self, bool arg2)"""
return _lldb.SBCommandInterpreterRunOptions_SetEchoCommands(self, arg2)
def GetPrintResults(self):
r"""GetPrintResults(SBCommandInterpreterRunOptions self) -> bool"""
return _lldb.SBCommandInterpreterRunOptions_GetPrintResults(self)
def SetPrintResults(self, arg2):
r"""SetPrintResults(SBCommandInterpreterRunOptions self, bool arg2)"""
return _lldb.SBCommandInterpreterRunOptions_SetPrintResults(self, arg2)
def GetAddToHistory(self):
r"""GetAddToHistory(SBCommandInterpreterRunOptions self) -> bool"""
return _lldb.SBCommandInterpreterRunOptions_GetAddToHistory(self)
def SetAddToHistory(self, arg2):
r"""SetAddToHistory(SBCommandInterpreterRunOptions self, bool arg2)"""
return _lldb.SBCommandInterpreterRunOptions_SetAddToHistory(self, arg2)
# Register SBCommandInterpreterRunOptions in _lldb:
_lldb.SBCommandInterpreterRunOptions_swigregister(SBCommandInterpreterRunOptions)
class SBCommandInterpreter(object):
r"""
SBCommandInterpreter handles/interprets commands for lldb. You get the
command interpreter from the SBDebugger instance. For example (from test/
python_api/interpreter/TestCommandInterpreterAPI.py),
def command_interpreter_api(self):
'''Test the SBCommandInterpreter APIs.'''
exe = os.path.join(os.getcwd(), 'a.out')
# Create a target by the debugger.
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
# Retrieve the associated command interpreter from our debugger.
ci = self.dbg.GetCommandInterpreter()
self.assertTrue(ci, VALID_COMMAND_INTERPRETER)
# Exercise some APIs....
self.assertTrue(ci.HasCommands())
self.assertTrue(ci.HasAliases())
self.assertTrue(ci.HasAliasOptions())
self.assertTrue(ci.CommandExists('breakpoint'))
self.assertTrue(ci.CommandExists('target'))
self.assertTrue(ci.CommandExists('platform'))
self.assertTrue(ci.AliasExists('file'))
self.assertTrue(ci.AliasExists('run'))
self.assertTrue(ci.AliasExists('bt'))
res = lldb.SBCommandReturnObject()
ci.HandleCommand('breakpoint set -f main.c -l %d' % self.line, res)
self.assertTrue(res.Succeeded())
ci.HandleCommand('process launch', res)
self.assertTrue(res.Succeeded())
process = ci.GetProcess()
self.assertTrue(process)
...
The HandleCommand() instance method takes two args: the command string and
an SBCommandReturnObject instance which encapsulates the result of command
execution.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
eBroadcastBitThreadShouldExit = _lldb.SBCommandInterpreter_eBroadcastBitThreadShouldExit
eBroadcastBitResetPrompt = _lldb.SBCommandInterpreter_eBroadcastBitResetPrompt
eBroadcastBitQuitCommandReceived = _lldb.SBCommandInterpreter_eBroadcastBitQuitCommandReceived
eBroadcastBitAsynchronousOutputData = _lldb.SBCommandInterpreter_eBroadcastBitAsynchronousOutputData
eBroadcastBitAsynchronousErrorData = _lldb.SBCommandInterpreter_eBroadcastBitAsynchronousErrorData
def __init__(self, rhs):
r"""__init__(SBCommandInterpreter self, SBCommandInterpreter rhs) -> SBCommandInterpreter"""
_lldb.SBCommandInterpreter_swiginit(self, _lldb.new_SBCommandInterpreter(rhs))
__swig_destroy__ = _lldb.delete_SBCommandInterpreter
@staticmethod
def GetArgumentTypeAsCString(arg_type):
r"""GetArgumentTypeAsCString(lldb::CommandArgumentType const arg_type) -> char const *"""
return _lldb.SBCommandInterpreter_GetArgumentTypeAsCString(arg_type)
@staticmethod
def GetArgumentDescriptionAsCString(arg_type):
r"""GetArgumentDescriptionAsCString(lldb::CommandArgumentType const arg_type) -> char const *"""
return _lldb.SBCommandInterpreter_GetArgumentDescriptionAsCString(arg_type)
@staticmethod
def EventIsCommandInterpreterEvent(event):
r"""EventIsCommandInterpreterEvent(SBEvent event) -> bool"""
return _lldb.SBCommandInterpreter_EventIsCommandInterpreterEvent(event)
def IsValid(self):
r"""IsValid(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_IsValid(self)
def __nonzero__(self):
return _lldb.SBCommandInterpreter___nonzero__(self)
__bool__ = __nonzero__
def GetIOHandlerControlSequence(self, ch):
r"""GetIOHandlerControlSequence(SBCommandInterpreter self, char ch) -> char const *"""
return _lldb.SBCommandInterpreter_GetIOHandlerControlSequence(self, ch)
def GetPromptOnQuit(self):
r"""GetPromptOnQuit(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_GetPromptOnQuit(self)
def SetPromptOnQuit(self, b):
r"""SetPromptOnQuit(SBCommandInterpreter self, bool b)"""
return _lldb.SBCommandInterpreter_SetPromptOnQuit(self, b)
def AllowExitCodeOnQuit(self, b):
r"""AllowExitCodeOnQuit(SBCommandInterpreter self, bool b)"""
return _lldb.SBCommandInterpreter_AllowExitCodeOnQuit(self, b)
def HasCustomQuitExitCode(self):
r"""HasCustomQuitExitCode(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_HasCustomQuitExitCode(self)
def GetQuitStatus(self):
r"""GetQuitStatus(SBCommandInterpreter self) -> int"""
return _lldb.SBCommandInterpreter_GetQuitStatus(self)
def ResolveCommand(self, command_line, result):
r"""ResolveCommand(SBCommandInterpreter self, char const * command_line, SBCommandReturnObject result)"""
return _lldb.SBCommandInterpreter_ResolveCommand(self, command_line, result)
def CommandExists(self, cmd):
r"""CommandExists(SBCommandInterpreter self, char const * cmd) -> bool"""
return _lldb.SBCommandInterpreter_CommandExists(self, cmd)
def AliasExists(self, cmd):
r"""AliasExists(SBCommandInterpreter self, char const * cmd) -> bool"""
return _lldb.SBCommandInterpreter_AliasExists(self, cmd)
def GetBroadcaster(self):
r"""GetBroadcaster(SBCommandInterpreter self) -> SBBroadcaster"""
return _lldb.SBCommandInterpreter_GetBroadcaster(self)
@staticmethod
def GetBroadcasterClass():
r"""GetBroadcasterClass() -> char const *"""
return _lldb.SBCommandInterpreter_GetBroadcasterClass()
def HasCommands(self):
r"""HasCommands(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_HasCommands(self)
def HasAliases(self):
r"""HasAliases(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_HasAliases(self)
def HasAliasOptions(self):
r"""HasAliasOptions(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_HasAliasOptions(self)
def GetProcess(self):
r"""GetProcess(SBCommandInterpreter self) -> SBProcess"""
return _lldb.SBCommandInterpreter_GetProcess(self)
def GetDebugger(self):
r"""GetDebugger(SBCommandInterpreter self) -> SBDebugger"""
return _lldb.SBCommandInterpreter_GetDebugger(self)
def SourceInitFileInHomeDirectory(self, result):
r"""SourceInitFileInHomeDirectory(SBCommandInterpreter self, SBCommandReturnObject result)"""
return _lldb.SBCommandInterpreter_SourceInitFileInHomeDirectory(self, result)
def SourceInitFileInCurrentWorkingDirectory(self, result):
r"""SourceInitFileInCurrentWorkingDirectory(SBCommandInterpreter self, SBCommandReturnObject result)"""
return _lldb.SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory(self, result)
def HandleCommand(self, *args):
r"""
HandleCommand(SBCommandInterpreter self, char const * command_line, SBCommandReturnObject result, bool add_to_history=False) -> lldb::ReturnStatus
HandleCommand(SBCommandInterpreter self, char const * command_line, SBExecutionContext exe_ctx, SBCommandReturnObject result, bool add_to_history=False) -> lldb::ReturnStatus
"""
return _lldb.SBCommandInterpreter_HandleCommand(self, *args)
def HandleCommandsFromFile(self, file, override_context, options, result):
r"""HandleCommandsFromFile(SBCommandInterpreter self, SBFileSpec file, SBExecutionContext override_context, SBCommandInterpreterRunOptions options, SBCommandReturnObject result)"""
return _lldb.SBCommandInterpreter_HandleCommandsFromFile(self, file, override_context, options, result)
def HandleCompletion(self, current_line, cursor_pos, match_start_point, max_return_elements, matches):
r"""HandleCompletion(SBCommandInterpreter self, char const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, SBStringList matches) -> int"""
return _lldb.SBCommandInterpreter_HandleCompletion(self, current_line, cursor_pos, match_start_point, max_return_elements, matches)
def HandleCompletionWithDescriptions(self, current_line, cursor_pos, match_start_point, max_return_elements, matches, descriptions):
r"""HandleCompletionWithDescriptions(SBCommandInterpreter self, char const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, SBStringList matches, SBStringList descriptions) -> int"""
return _lldb.SBCommandInterpreter_HandleCompletionWithDescriptions(self, current_line, cursor_pos, match_start_point, max_return_elements, matches, descriptions)
def IsActive(self):
r"""IsActive(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_IsActive(self)
def WasInterrupted(self):
r"""WasInterrupted(SBCommandInterpreter self) -> bool"""
return _lldb.SBCommandInterpreter_WasInterrupted(self)
# Register SBCommandInterpreter in _lldb:
_lldb.SBCommandInterpreter_swigregister(SBCommandInterpreter)
def SBCommandInterpreter_GetArgumentTypeAsCString(arg_type):
r"""SBCommandInterpreter_GetArgumentTypeAsCString(lldb::CommandArgumentType const arg_type) -> char const *"""
return _lldb.SBCommandInterpreter_GetArgumentTypeAsCString(arg_type)
def SBCommandInterpreter_GetArgumentDescriptionAsCString(arg_type):
r"""SBCommandInterpreter_GetArgumentDescriptionAsCString(lldb::CommandArgumentType const arg_type) -> char const *"""
return _lldb.SBCommandInterpreter_GetArgumentDescriptionAsCString(arg_type)
def SBCommandInterpreter_EventIsCommandInterpreterEvent(event):
r"""SBCommandInterpreter_EventIsCommandInterpreterEvent(SBEvent event) -> bool"""
return _lldb.SBCommandInterpreter_EventIsCommandInterpreterEvent(event)
def SBCommandInterpreter_GetBroadcasterClass():
r"""SBCommandInterpreter_GetBroadcasterClass() -> char const *"""
return _lldb.SBCommandInterpreter_GetBroadcasterClass()
class SBCommandReturnObject(object):
r"""
Represents a container which holds the result from command execution.
It works with SBCommandInterpreter.HandleCommand() to encapsulate the result
of command execution.
See SBCommandInterpreter for example usage of SBCommandReturnObject.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBCommandReturnObject self) -> SBCommandReturnObject
__init__(SBCommandReturnObject self, SBCommandReturnObject rhs) -> SBCommandReturnObject
"""
_lldb.SBCommandReturnObject_swiginit(self, _lldb.new_SBCommandReturnObject(*args))
__swig_destroy__ = _lldb.delete_SBCommandReturnObject
def IsValid(self):
r"""IsValid(SBCommandReturnObject self) -> bool"""
return _lldb.SBCommandReturnObject_IsValid(self)
def __nonzero__(self):
return _lldb.SBCommandReturnObject___nonzero__(self)
__bool__ = __nonzero__
def GetOutputSize(self):
r"""GetOutputSize(SBCommandReturnObject self) -> size_t"""
return _lldb.SBCommandReturnObject_GetOutputSize(self)
def GetErrorSize(self):
r"""GetErrorSize(SBCommandReturnObject self) -> size_t"""
return _lldb.SBCommandReturnObject_GetErrorSize(self)
def GetOutput(self, *args):
r"""
GetOutput(SBCommandReturnObject self) -> char const
GetOutput(SBCommandReturnObject self, bool only_if_no_immediate) -> char const *
"""
return _lldb.SBCommandReturnObject_GetOutput(self, *args)
def GetError(self, *args):
r"""
GetError(SBCommandReturnObject self) -> char const
GetError(SBCommandReturnObject self, bool if_no_immediate) -> char const *
"""
return _lldb.SBCommandReturnObject_GetError(self, *args)
def PutOutput(self, *args):
r"""
PutOutput(SBCommandReturnObject self, SBFile file) -> size_t
PutOutput(SBCommandReturnObject self, lldb::FileSP BORROWED) -> size_t
"""
return _lldb.SBCommandReturnObject_PutOutput(self, *args)
def PutError(self, *args):
r"""
PutError(SBCommandReturnObject self, SBFile file) -> size_t
PutError(SBCommandReturnObject self, lldb::FileSP BORROWED) -> size_t
"""
return _lldb.SBCommandReturnObject_PutError(self, *args)
def Clear(self):
r"""Clear(SBCommandReturnObject self)"""
return _lldb.SBCommandReturnObject_Clear(self)
def SetStatus(self, status):
r"""SetStatus(SBCommandReturnObject self, lldb::ReturnStatus status)"""
return _lldb.SBCommandReturnObject_SetStatus(self, status)
def SetError(self, *args):
r"""
SetError(SBCommandReturnObject self, SBError error, char const * fallback_error_cstr=None)
SetError(SBCommandReturnObject self, char const * error_cstr)
"""
return _lldb.SBCommandReturnObject_SetError(self, *args)
def GetStatus(self):
r"""GetStatus(SBCommandReturnObject self) -> lldb::ReturnStatus"""
return _lldb.SBCommandReturnObject_GetStatus(self)
def Succeeded(self):
r"""Succeeded(SBCommandReturnObject self) -> bool"""
return _lldb.SBCommandReturnObject_Succeeded(self)
def HasResult(self):
r"""HasResult(SBCommandReturnObject self) -> bool"""
return _lldb.SBCommandReturnObject_HasResult(self)
def AppendMessage(self, message):
r"""AppendMessage(SBCommandReturnObject self, char const * message)"""
return _lldb.SBCommandReturnObject_AppendMessage(self, message)
def AppendWarning(self, message):
r"""AppendWarning(SBCommandReturnObject self, char const * message)"""
return _lldb.SBCommandReturnObject_AppendWarning(self, message)
def GetDescription(self, description):
r"""GetDescription(SBCommandReturnObject self, SBStream description) -> bool"""
return _lldb.SBCommandReturnObject_GetDescription(self, description)
def __str__(self):
r"""__str__(SBCommandReturnObject self) -> std::string"""
return _lldb.SBCommandReturnObject___str__(self)
def SetImmediateOutputFile(self, *args):
r"""
SetImmediateOutputFile(SBCommandReturnObject self, SBFile file)
SetImmediateOutputFile(SBCommandReturnObject self, lldb::FileSP BORROWED)
SetImmediateOutputFile(SBCommandReturnObject self, lldb::FileSP BORROWED, bool transfer_ownership)
"""
return _lldb.SBCommandReturnObject_SetImmediateOutputFile(self, *args)
def SetImmediateErrorFile(self, *args):
r"""
SetImmediateErrorFile(SBCommandReturnObject self, SBFile file)
SetImmediateErrorFile(SBCommandReturnObject self, lldb::FileSP BORROWED)
SetImmediateErrorFile(SBCommandReturnObject self, lldb::FileSP BORROWED, bool transfer_ownership)
"""
return _lldb.SBCommandReturnObject_SetImmediateErrorFile(self, *args)
def PutCString(self, string):
r"""PutCString(SBCommandReturnObject self, char const * string)"""
return _lldb.SBCommandReturnObject_PutCString(self, string)
def Print(self, str):
r"""Print(SBCommandReturnObject self, char const * str)"""
return _lldb.SBCommandReturnObject_Print(self, str)
def write(self, str):
r"""write(SBCommandReturnObject self, char const * str)"""
return _lldb.SBCommandReturnObject_write(self, str)
def flush(self):
r"""flush(SBCommandReturnObject self)"""
return _lldb.SBCommandReturnObject_flush(self)
# Register SBCommandReturnObject in _lldb:
_lldb.SBCommandReturnObject_swigregister(SBCommandReturnObject)
class SBCommunication(object):
r"""Proxy of C++ lldb::SBCommunication class."""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
eBroadcastBitDisconnected = _lldb.SBCommunication_eBroadcastBitDisconnected
eBroadcastBitReadThreadGotBytes = _lldb.SBCommunication_eBroadcastBitReadThreadGotBytes
eBroadcastBitReadThreadDidExit = _lldb.SBCommunication_eBroadcastBitReadThreadDidExit
eBroadcastBitReadThreadShouldExit = _lldb.SBCommunication_eBroadcastBitReadThreadShouldExit
eBroadcastBitPacketAvailable = _lldb.SBCommunication_eBroadcastBitPacketAvailable
eAllEventBits = _lldb.SBCommunication_eAllEventBits
def __init__(self, *args):
r"""
__init__(SBCommunication self) -> SBCommunication
__init__(SBCommunication self, char const * broadcaster_name) -> SBCommunication
"""
_lldb.SBCommunication_swiginit(self, _lldb.new_SBCommunication(*args))
__swig_destroy__ = _lldb.delete_SBCommunication
def IsValid(self):
r"""IsValid(SBCommunication self) -> bool"""
return _lldb.SBCommunication_IsValid(self)
def __nonzero__(self):
return _lldb.SBCommunication___nonzero__(self)
__bool__ = __nonzero__
def GetBroadcaster(self):
r"""GetBroadcaster(SBCommunication self) -> SBBroadcaster"""
return _lldb.SBCommunication_GetBroadcaster(self)
@staticmethod
def GetBroadcasterClass():
r"""GetBroadcasterClass() -> char const *"""
return _lldb.SBCommunication_GetBroadcasterClass()
def AdoptFileDesriptor(self, fd, owns_fd):
r"""AdoptFileDesriptor(SBCommunication self, int fd, bool owns_fd) -> lldb::ConnectionStatus"""
return _lldb.SBCommunication_AdoptFileDesriptor(self, fd, owns_fd)
def Connect(self, url):
r"""Connect(SBCommunication self, char const * url) -> lldb::ConnectionStatus"""
return _lldb.SBCommunication_Connect(self, url)
def Disconnect(self):
r"""Disconnect(SBCommunication self) -> lldb::ConnectionStatus"""
return _lldb.SBCommunication_Disconnect(self)
def IsConnected(self):
r"""IsConnected(SBCommunication self) -> bool"""
return _lldb.SBCommunication_IsConnected(self)
def GetCloseOnEOF(self):
r"""GetCloseOnEOF(SBCommunication self) -> bool"""
return _lldb.SBCommunication_GetCloseOnEOF(self)
def SetCloseOnEOF(self, b):
r"""SetCloseOnEOF(SBCommunication self, bool b)"""
return _lldb.SBCommunication_SetCloseOnEOF(self, b)
def Read(self, dst, dst_len, timeout_usec, status):
r"""Read(SBCommunication self, void * dst, size_t dst_len, uint32_t timeout_usec, lldb::ConnectionStatus & status) -> size_t"""
return _lldb.SBCommunication_Read(self, dst, dst_len, timeout_usec, status)
def Write(self, src, src_len, status):
r"""Write(SBCommunication self, void const * src, size_t src_len, lldb::ConnectionStatus & status) -> size_t"""
return _lldb.SBCommunication_Write(self, src, src_len, status)
def ReadThreadStart(self):
r"""ReadThreadStart(SBCommunication self) -> bool"""
return _lldb.SBCommunication_ReadThreadStart(self)
def ReadThreadStop(self):
r"""ReadThreadStop(SBCommunication self) -> bool"""
return _lldb.SBCommunication_ReadThreadStop(self)
def ReadThreadIsRunning(self):
r"""ReadThreadIsRunning(SBCommunication self) -> bool"""
return _lldb.SBCommunication_ReadThreadIsRunning(self)
def SetReadThreadBytesReceivedCallback(self, callback, callback_baton):
r"""SetReadThreadBytesReceivedCallback(SBCommunication self, lldb::SBCommunication::ReadThreadBytesReceived callback, void * callback_baton) -> bool"""
return _lldb.SBCommunication_SetReadThreadBytesReceivedCallback(self, callback, callback_baton)
# Register SBCommunication in _lldb:
_lldb.SBCommunication_swigregister(SBCommunication)
def SBCommunication_GetBroadcasterClass():
r"""SBCommunication_GetBroadcasterClass() -> char const *"""
return _lldb.SBCommunication_GetBroadcasterClass()
class SBCompileUnit(object):
r"""
Represents a compilation unit, or compiled source file.
SBCompileUnit supports line entry iteration. For example,
# Now get the SBSymbolContext from this frame. We want everything. :-)
context = frame0.GetSymbolContext(lldb.eSymbolContextEverything)
...
compileUnit = context.GetCompileUnit()
for lineEntry in compileUnit:
print('line entry: %s:%d' % (str(lineEntry.GetFileSpec()),
lineEntry.GetLine()))
print('start addr: %s' % str(lineEntry.GetStartAddress()))
print('end addr: %s' % str(lineEntry.GetEndAddress()))
produces:
line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:20
start addr: a.out[0x100000d98]
end addr: a.out[0x100000da3]
line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:21
start addr: a.out[0x100000da3]
end addr: a.out[0x100000da9]
line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:22
start addr: a.out[0x100000da9]
end addr: a.out[0x100000db6]
line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:23
start addr: a.out[0x100000db6]
end addr: a.out[0x100000dbc]
...
See also SBSymbolContext and SBLineEntry
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBCompileUnit self) -> SBCompileUnit
__init__(SBCompileUnit self, SBCompileUnit rhs) -> SBCompileUnit
"""
_lldb.SBCompileUnit_swiginit(self, _lldb.new_SBCompileUnit(*args))
__swig_destroy__ = _lldb.delete_SBCompileUnit
def IsValid(self):
r"""IsValid(SBCompileUnit self) -> bool"""
return _lldb.SBCompileUnit_IsValid(self)
def __nonzero__(self):
return _lldb.SBCompileUnit___nonzero__(self)
__bool__ = __nonzero__
def GetFileSpec(self):
r"""GetFileSpec(SBCompileUnit self) -> SBFileSpec"""
return _lldb.SBCompileUnit_GetFileSpec(self)
def GetNumLineEntries(self):
r"""GetNumLineEntries(SBCompileUnit self) -> uint32_t"""
return _lldb.SBCompileUnit_GetNumLineEntries(self)
def GetLineEntryAtIndex(self, idx):
r"""GetLineEntryAtIndex(SBCompileUnit self, uint32_t idx) -> SBLineEntry"""
return _lldb.SBCompileUnit_GetLineEntryAtIndex(self, idx)
def FindLineEntryIndex(self, *args):
r"""
FindLineEntryIndex(SBCompileUnit self, uint32_t start_idx, uint32_t line, SBFileSpec inline_file_spec) -> uint32_t
FindLineEntryIndex(SBCompileUnit self, uint32_t start_idx, uint32_t line, SBFileSpec inline_file_spec, bool exact) -> uint32_t
"""
return _lldb.SBCompileUnit_FindLineEntryIndex(self, *args)
def GetSupportFileAtIndex(self, idx):
r"""GetSupportFileAtIndex(SBCompileUnit self, uint32_t idx) -> SBFileSpec"""
return _lldb.SBCompileUnit_GetSupportFileAtIndex(self, idx)
def GetNumSupportFiles(self):
r"""GetNumSupportFiles(SBCompileUnit self) -> uint32_t"""
return _lldb.SBCompileUnit_GetNumSupportFiles(self)
def FindSupportFileIndex(self, start_idx, sb_file, full):
r"""FindSupportFileIndex(SBCompileUnit self, uint32_t start_idx, SBFileSpec sb_file, bool full) -> uint32_t"""
return _lldb.SBCompileUnit_FindSupportFileIndex(self, start_idx, sb_file, full)
def GetTypes(self, *args):
r"""
GetTypes(SBCompileUnit self, uint32_t type_mask=eTypeClassAny) -> SBTypeList
Get all types matching type_mask from debug info in this
compile unit.
@param[in] type_mask
A bitfield that consists of one or more bits logically OR'ed
together from the lldb::TypeClass enumeration. This allows
you to request only structure types, or only class, struct
and union types. Passing in lldb::eTypeClassAny will return
all types found in the debug information for this compile
unit.
@return
A list of types in this compile unit that match type_mask
"""
return _lldb.SBCompileUnit_GetTypes(self, *args)
def GetLanguage(self):
r"""GetLanguage(SBCompileUnit self) -> lldb::LanguageType"""
return _lldb.SBCompileUnit_GetLanguage(self)
def GetDescription(self, description):
r"""GetDescription(SBCompileUnit self, SBStream description) -> bool"""
return _lldb.SBCompileUnit_GetDescription(self, description)
def __eq__(self, rhs):
r"""__eq__(SBCompileUnit self, SBCompileUnit rhs) -> bool"""
return _lldb.SBCompileUnit___eq__(self, rhs)
def __ne__(self, rhs):
r"""__ne__(SBCompileUnit self, SBCompileUnit rhs) -> bool"""
return _lldb.SBCompileUnit___ne__(self, rhs)
def __str__(self):
r"""__str__(SBCompileUnit self) -> std::string"""
return _lldb.SBCompileUnit___str__(self)
def __iter__(self):
'''Iterate over all line entries in a lldb.SBCompileUnit object.'''
return lldb_iter(self, 'GetNumLineEntries', 'GetLineEntryAtIndex')
def __len__(self):
'''Return the number of line entries in a lldb.SBCompileUnit
object.'''
return self.GetNumLineEntries()
file = property(GetFileSpec, None, doc='''A read only property that returns the same result an lldb object that represents the source file (lldb.SBFileSpec) for the compile unit.''')
num_line_entries = property(GetNumLineEntries, None, doc='''A read only property that returns the number of line entries in a compile unit as an integer.''')
def __eq__(self, rhs):
if not isinstance(rhs, type(self)):
return False
return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
def __ne__(self, rhs):
if not isinstance(rhs, type(self)):
return True
return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
# Register SBCompileUnit in _lldb:
_lldb.SBCompileUnit_swigregister(SBCompileUnit)
class SBData(object):
r"""Proxy of C++ lldb::SBData class."""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
__init__(SBData self) -> SBData
__init__(SBData self, SBData rhs) -> SBData
"""
_lldb.SBData_swiginit(self, _lldb.new_SBData(*args))
__swig_destroy__ = _lldb.delete_SBData
def GetAddressByteSize(self):
r"""GetAddressByteSize(SBData self) -> uint8_t"""
return _lldb.SBData_GetAddressByteSize(self)
def SetAddressByteSize(self, addr_byte_size):
r"""SetAddressByteSize(SBData self, uint8_t addr_byte_size)"""
return _lldb.SBData_SetAddressByteSize(self, addr_byte_size)
def Clear(self):
r"""Clear(SBData self)"""
return _lldb.SBData_Clear(self)
def IsValid(self):
r"""IsValid(SBData self) -> bool"""
return _lldb.SBData_IsValid(self)
def __nonzero__(self):
return _lldb.SBData___nonzero__(self)
__bool__ = __nonzero__
def GetByteSize(self):
r"""GetByteSize(SBData self) -> size_t"""
return _lldb.SBData_GetByteSize(self)
def GetByteOrder(self):
r"""GetByteOrder(SBData self) -> lldb::ByteOrder"""
return _lldb.SBData_GetByteOrder(self)
def SetByteOrder(self, endian):
r"""SetByteOrder(SBData self, lldb::ByteOrder endian)"""
return _lldb.SBData_SetByteOrder(self, endian)
def GetFloat(self, error, offset):
r"""GetFloat(SBData self, SBError error, lldb::offset_t offset) -> float"""
return _lldb.SBData_GetFloat(self, error, offset)
def GetDouble(self, error, offset):
r"""GetDouble(SBData self, SBError error, lldb::offset_t offset) -> double"""
return _lldb.SBData_GetDouble(self, error, offset)
def GetLongDouble(self, error, offset):
r"""GetLongDouble(SBData self, SBError error, lldb::offset_t offset) -> long double"""
return _lldb.SBData_GetLongDouble(self, error, offset)
def GetAddress(self, error, offset):
r"""GetAddress(SBData self, SBError error, lldb::offset_t offset) -> lldb::addr_t"""
return _lldb.SBData_GetAddress(self, error, offset)
def GetUnsignedInt8(self, error, offset):
r"""GetUnsignedInt8(SBData self, SBError error, lldb::offset_t offset) -> uint8_t"""
return _lldb.SBData_GetUnsignedInt8(self, error, offset)
def GetUnsignedInt16(self, error, offset):
r"""GetUnsignedInt16(SBData self, SBError error, lldb::offset_t offset) -> uint16_t"""
return _lldb.SBData_GetUnsignedInt16(self, error, offset)
def GetUnsignedInt32(self, error, offset):
r"""GetUnsignedInt32(SBData self, SBError error, lldb::offset_t offset) -> uint32_t"""
return _lldb.SBData_GetUnsignedInt32(self, error, offset)
def GetUnsignedInt64(self, error, offset):
r"""GetUnsignedInt64(SBData self, SBError error, lldb::offset_t offset) -> uint64_t"""
return _lldb.SBData_GetUnsignedInt64(self, error, offset)
def GetSignedInt8(self, error, offset):
r"""GetSignedInt8(SBData self, SBError error, lldb::offset_t offset) -> int8_t"""
return _lldb.SBData_GetSignedInt8(self, error, offset)
def GetSignedInt16(self, error, offset):
r"""GetSignedInt16(SBData self, SBError error, lldb::offset_t offset) -> int16_t"""
return _lldb.SBData_GetSignedInt16(self, error, offset)
def GetSignedInt32(self, error, offset):
r"""GetSignedInt32(SBData self, SBError error, lldb::offset_t offset) -> int32_t"""
return _lldb.SBData_GetSignedInt32(self, error, offset)
def GetSignedInt64(self, error, offset):
r"""GetSignedInt64(SBData self, SBError error, lldb::offset_t offset) -> int64_t"""
return _lldb.SBData_GetSignedInt64(self, error, offset)
def GetString(self, error, offset):
r"""GetString(SBData self, SBError error, lldb::offset_t offset) -> char const *"""
return _lldb.SBData_GetString(self, error, offset)
def GetDescription(self, description, base_addr):
r"""GetDescription(SBData self, SBStream description, lldb::addr_t base_addr) -> bool"""
return _lldb.SBData_GetDescription(self, description, base_addr)
def ReadRawData(self, error, offset, buf):
r"""ReadRawData(SBData self, SBError error, lldb::offset_t offset, void * buf) -> size_t"""
return _lldb.SBData_ReadRawData(self, error, offset, buf)
def SetData(self, error, buf, endian, addr_size):
r"""SetData(SBData self, SBError error, void const * buf, lldb::ByteOrder endian, uint8_t addr_size)"""
return _lldb.SBData_SetData(self, error, buf, endian, addr_size)
def Append(self, rhs):
r"""Append(SBData self, SBData rhs) -> bool"""
return _lldb.SBData_Append(self, rhs)
@staticmethod
def CreateDataFromCString(endian, addr_byte_size, data):
r"""CreateDataFromCString(lldb::ByteOrder endian, uint32_t addr_byte_size, char const * data) -> SBData"""
return _lldb.SBData_CreateDataFromCString(endian, addr_byte_size, data)
@staticmethod