Package lldb
[hide private]
[frames] | no frames]

Source Code for Package lldb

    1  # This file was automatically generated by SWIG (http://www.swig.org). 
    2  # Version 2.0.11 
    3  # 
    4  # Do not make changes to this file unless you know what you are doing--modify 
    5  # the SWIG interface file instead. 
    6  swig_version = (2, 0, 11) 
    7   
    8   
    9   
   10   
   11  """ 
   12  The lldb module contains the public APIs for Python binding. 
   13   
   14  Some of the important classes are described here: 
   15   
   16  o SBTarget: Represents the target program running under the debugger. 
   17  o SBProcess: Represents the process associated with the target program. 
   18  o SBThread: Represents a thread of execution. SBProcess contains SBThread(s). 
   19  o SBFrame: Represents one of the stack frames associated with a thread. SBThread 
   20        contains SBFrame(s). 
   21  o SBSymbolContext: A container that stores various debugger related info. 
   22  o SBValue: Represents the value of a variable, a register, or an expression. 
   23  o SBModule: Represents an executable image and its associated object and symbol 
   24        files.  SBTarget contains SBModule(s). 
   25  o SBBreakpoint: Represents a logical breakpoint and its associated settings. 
   26        SBTarget contains SBBreakpoint(s). 
   27  o SBSymbol: Represents the symbol possibly associated with a stack frame. 
   28  o SBCompileUnit: Represents a compilation unit, or compiled source file. 
   29  o SBFunction: Represents a generic function, which can be inlined or not. 
   30  o SBBlock: Represents a lexical block. SBFunction contains SBBlock(s). 
   31  o SBLineEntry: Specifies an association with a contiguous range of instructions 
   32        and a source file location. SBCompileUnit contains SBLineEntry(s). 
   33  """ 
   34   
   35   
   36  from sys import version_info 
   37  if version_info >= (2,6,0): 
38 - def swig_import_helper():
39 from os.path import dirname 40 import imp 41 fp = None 42 try: 43 fp, pathname, description = imp.find_module('_lldb', [dirname(__file__)]) 44 except ImportError: 45 import _lldb 46 return _lldb 47 if fp is not None: 48 try: 49 _mod = imp.load_module('_lldb', fp, pathname, description) 50 finally: 51 fp.close() 52 return _mod
53 _lldb = swig_import_helper() 54 del swig_import_helper 55 else: 56 import _lldb 57 del version_info 58 try: 59 _swig_property = property 60 except NameError: 61 pass # Python < 2.2 doesn't have 'property'.
62 -def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
63 if (name == "thisown"): return self.this.own(value) 64 if (name == "this"): 65 if type(value).__name__ == 'SwigPyObject': 66 self.__dict__[name] = value 67 return 68 method = class_type.__swig_setmethods__.get(name,None) 69 if method: return method(self,value) 70 if (not static): 71 self.__dict__[name] = value 72 else: 73 raise AttributeError("You cannot add attributes to %s" % self)
74
75 -def _swig_setattr(self,class_type,name,value):
76 return _swig_setattr_nondynamic(self,class_type,name,value,0)
77
78 -def _swig_getattr(self,class_type,name):
79 if (name == "thisown"): return self.this.own() 80 method = class_type.__swig_getmethods__.get(name,None) 81 if method: return method(self) 82 raise AttributeError(name)
83
84 -def _swig_repr(self):
85 try: strthis = "proxy of " + self.this.__repr__() 86 except: strthis = "" 87 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 89 try: 90 _object = object 91 _newclass = 1 92 except AttributeError:
93 - class _object : pass
94 _newclass = 0 95 96 97 import uuid 98 import re 99 import os 100 101 import six 102 103 INT32_MAX = _lldb.INT32_MAX 104 UINT32_MAX = _lldb.UINT32_MAX 105 UINT64_MAX = _lldb.UINT64_MAX 106 LLDB_GENERIC_ERROR = _lldb.LLDB_GENERIC_ERROR 107 LLDB_INVALID_BREAK_ID = _lldb.LLDB_INVALID_BREAK_ID 108 LLDB_DEFAULT_BREAK_SIZE = _lldb.LLDB_DEFAULT_BREAK_SIZE 109 LLDB_INVALID_WATCH_ID = _lldb.LLDB_INVALID_WATCH_ID 110 LLDB_WATCH_TYPE_READ = _lldb.LLDB_WATCH_TYPE_READ 111 LLDB_WATCH_TYPE_WRITE = _lldb.LLDB_WATCH_TYPE_WRITE 112 LLDB_REGNUM_GENERIC_PC = _lldb.LLDB_REGNUM_GENERIC_PC 113 LLDB_REGNUM_GENERIC_SP = _lldb.LLDB_REGNUM_GENERIC_SP 114 LLDB_REGNUM_GENERIC_FP = _lldb.LLDB_REGNUM_GENERIC_FP 115 LLDB_REGNUM_GENERIC_RA = _lldb.LLDB_REGNUM_GENERIC_RA 116 LLDB_REGNUM_GENERIC_FLAGS = _lldb.LLDB_REGNUM_GENERIC_FLAGS 117 LLDB_REGNUM_GENERIC_ARG1 = _lldb.LLDB_REGNUM_GENERIC_ARG1 118 LLDB_REGNUM_GENERIC_ARG2 = _lldb.LLDB_REGNUM_GENERIC_ARG2 119 LLDB_REGNUM_GENERIC_ARG3 = _lldb.LLDB_REGNUM_GENERIC_ARG3 120 LLDB_REGNUM_GENERIC_ARG4 = _lldb.LLDB_REGNUM_GENERIC_ARG4 121 LLDB_REGNUM_GENERIC_ARG5 = _lldb.LLDB_REGNUM_GENERIC_ARG5 122 LLDB_REGNUM_GENERIC_ARG6 = _lldb.LLDB_REGNUM_GENERIC_ARG6 123 LLDB_REGNUM_GENERIC_ARG7 = _lldb.LLDB_REGNUM_GENERIC_ARG7 124 LLDB_REGNUM_GENERIC_ARG8 = _lldb.LLDB_REGNUM_GENERIC_ARG8 125 LLDB_INVALID_ADDRESS = _lldb.LLDB_INVALID_ADDRESS 126 LLDB_INVALID_INDEX32 = _lldb.LLDB_INVALID_INDEX32 127 LLDB_INVALID_IVAR_OFFSET = _lldb.LLDB_INVALID_IVAR_OFFSET 128 LLDB_INVALID_IMAGE_TOKEN = _lldb.LLDB_INVALID_IMAGE_TOKEN 129 LLDB_INVALID_MODULE_VERSION = _lldb.LLDB_INVALID_MODULE_VERSION 130 LLDB_INVALID_REGNUM = _lldb.LLDB_INVALID_REGNUM 131 LLDB_INVALID_UID = _lldb.LLDB_INVALID_UID 132 LLDB_INVALID_PROCESS_ID = _lldb.LLDB_INVALID_PROCESS_ID 133 LLDB_INVALID_THREAD_ID = _lldb.LLDB_INVALID_THREAD_ID 134 LLDB_INVALID_FRAME_ID = _lldb.LLDB_INVALID_FRAME_ID 135 LLDB_INVALID_SIGNAL_NUMBER = _lldb.LLDB_INVALID_SIGNAL_NUMBER 136 LLDB_INVALID_OFFSET = _lldb.LLDB_INVALID_OFFSET 137 LLDB_INVALID_LINE_NUMBER = _lldb.LLDB_INVALID_LINE_NUMBER 138 LLDB_INVALID_QUEUE_ID = _lldb.LLDB_INVALID_QUEUE_ID 139 LLDB_ARCH_DEFAULT = _lldb.LLDB_ARCH_DEFAULT 140 LLDB_ARCH_DEFAULT_32BIT = _lldb.LLDB_ARCH_DEFAULT_32BIT 141 LLDB_ARCH_DEFAULT_64BIT = _lldb.LLDB_ARCH_DEFAULT_64BIT 142 LLDB_INVALID_CPUTYPE = _lldb.LLDB_INVALID_CPUTYPE 143 LLDB_MAX_NUM_OPTION_SETS = _lldb.LLDB_MAX_NUM_OPTION_SETS 144 LLDB_OPT_SET_ALL = _lldb.LLDB_OPT_SET_ALL 145 LLDB_OPT_SET_1 = _lldb.LLDB_OPT_SET_1 146 LLDB_OPT_SET_2 = _lldb.LLDB_OPT_SET_2 147 LLDB_OPT_SET_3 = _lldb.LLDB_OPT_SET_3 148 LLDB_OPT_SET_4 = _lldb.LLDB_OPT_SET_4 149 LLDB_OPT_SET_5 = _lldb.LLDB_OPT_SET_5 150 LLDB_OPT_SET_6 = _lldb.LLDB_OPT_SET_6 151 LLDB_OPT_SET_7 = _lldb.LLDB_OPT_SET_7 152 LLDB_OPT_SET_8 = _lldb.LLDB_OPT_SET_8 153 LLDB_OPT_SET_9 = _lldb.LLDB_OPT_SET_9 154 LLDB_OPT_SET_10 = _lldb.LLDB_OPT_SET_10 155 eStateInvalid = _lldb.eStateInvalid 156 eStateUnloaded = _lldb.eStateUnloaded 157 eStateConnected = _lldb.eStateConnected 158 eStateAttaching = _lldb.eStateAttaching 159 eStateLaunching = _lldb.eStateLaunching 160 eStateStopped = _lldb.eStateStopped 161 eStateRunning = _lldb.eStateRunning 162 eStateStepping = _lldb.eStateStepping 163 eStateCrashed = _lldb.eStateCrashed 164 eStateDetached = _lldb.eStateDetached 165 eStateExited = _lldb.eStateExited 166 eStateSuspended = _lldb.eStateSuspended 167 eLaunchFlagNone = _lldb.eLaunchFlagNone 168 eLaunchFlagExec = _lldb.eLaunchFlagExec 169 eLaunchFlagDebug = _lldb.eLaunchFlagDebug 170 eLaunchFlagStopAtEntry = _lldb.eLaunchFlagStopAtEntry 171 eLaunchFlagDisableASLR = _lldb.eLaunchFlagDisableASLR 172 eLaunchFlagDisableSTDIO = _lldb.eLaunchFlagDisableSTDIO 173 eLaunchFlagLaunchInTTY = _lldb.eLaunchFlagLaunchInTTY 174 eLaunchFlagLaunchInShell = _lldb.eLaunchFlagLaunchInShell 175 eLaunchFlagLaunchInSeparateProcessGroup = _lldb.eLaunchFlagLaunchInSeparateProcessGroup 176 eLaunchFlagDontSetExitStatus = _lldb.eLaunchFlagDontSetExitStatus 177 eLaunchFlagDetachOnError = _lldb.eLaunchFlagDetachOnError 178 eLaunchFlagShellExpandArguments = _lldb.eLaunchFlagShellExpandArguments 179 eLaunchFlagCloseTTYOnExit = _lldb.eLaunchFlagCloseTTYOnExit 180 eOnlyThisThread = _lldb.eOnlyThisThread 181 eAllThreads = _lldb.eAllThreads 182 eOnlyDuringStepping = _lldb.eOnlyDuringStepping 183 eByteOrderInvalid = _lldb.eByteOrderInvalid 184 eByteOrderBig = _lldb.eByteOrderBig 185 eByteOrderPDP = _lldb.eByteOrderPDP 186 eByteOrderLittle = _lldb.eByteOrderLittle 187 eEncodingInvalid = _lldb.eEncodingInvalid 188 eEncodingUint = _lldb.eEncodingUint 189 eEncodingSint = _lldb.eEncodingSint 190 eEncodingIEEE754 = _lldb.eEncodingIEEE754 191 eEncodingVector = _lldb.eEncodingVector 192 eFormatDefault = _lldb.eFormatDefault 193 eFormatInvalid = _lldb.eFormatInvalid 194 eFormatBoolean = _lldb.eFormatBoolean 195 eFormatBinary = _lldb.eFormatBinary 196 eFormatBytes = _lldb.eFormatBytes 197 eFormatBytesWithASCII = _lldb.eFormatBytesWithASCII 198 eFormatChar = _lldb.eFormatChar 199 eFormatCharPrintable = _lldb.eFormatCharPrintable 200 eFormatComplex = _lldb.eFormatComplex 201 eFormatComplexFloat = _lldb.eFormatComplexFloat 202 eFormatCString = _lldb.eFormatCString 203 eFormatDecimal = _lldb.eFormatDecimal 204 eFormatEnum = _lldb.eFormatEnum 205 eFormatHex = _lldb.eFormatHex 206 eFormatHexUppercase = _lldb.eFormatHexUppercase 207 eFormatFloat = _lldb.eFormatFloat 208 eFormatOctal = _lldb.eFormatOctal 209 eFormatOSType = _lldb.eFormatOSType 210 eFormatUnicode16 = _lldb.eFormatUnicode16 211 eFormatUnicode32 = _lldb.eFormatUnicode32 212 eFormatUnsigned = _lldb.eFormatUnsigned 213 eFormatPointer = _lldb.eFormatPointer 214 eFormatVectorOfChar = _lldb.eFormatVectorOfChar 215 eFormatVectorOfSInt8 = _lldb.eFormatVectorOfSInt8 216 eFormatVectorOfUInt8 = _lldb.eFormatVectorOfUInt8 217 eFormatVectorOfSInt16 = _lldb.eFormatVectorOfSInt16 218 eFormatVectorOfUInt16 = _lldb.eFormatVectorOfUInt16 219 eFormatVectorOfSInt32 = _lldb.eFormatVectorOfSInt32 220 eFormatVectorOfUInt32 = _lldb.eFormatVectorOfUInt32 221 eFormatVectorOfSInt64 = _lldb.eFormatVectorOfSInt64 222 eFormatVectorOfUInt64 = _lldb.eFormatVectorOfUInt64 223 eFormatVectorOfFloat16 = _lldb.eFormatVectorOfFloat16 224 eFormatVectorOfFloat32 = _lldb.eFormatVectorOfFloat32 225 eFormatVectorOfFloat64 = _lldb.eFormatVectorOfFloat64 226 eFormatVectorOfUInt128 = _lldb.eFormatVectorOfUInt128 227 eFormatComplexInteger = _lldb.eFormatComplexInteger 228 eFormatCharArray = _lldb.eFormatCharArray 229 eFormatAddressInfo = _lldb.eFormatAddressInfo 230 eFormatHexFloat = _lldb.eFormatHexFloat 231 eFormatInstruction = _lldb.eFormatInstruction 232 eFormatVoid = _lldb.eFormatVoid 233 kNumFormats = _lldb.kNumFormats 234 eDescriptionLevelBrief = _lldb.eDescriptionLevelBrief 235 eDescriptionLevelFull = _lldb.eDescriptionLevelFull 236 eDescriptionLevelVerbose = _lldb.eDescriptionLevelVerbose 237 eDescriptionLevelInitial = _lldb.eDescriptionLevelInitial 238 kNumDescriptionLevels = _lldb.kNumDescriptionLevels 239 eScriptLanguageNone = _lldb.eScriptLanguageNone 240 eScriptLanguagePython = _lldb.eScriptLanguagePython 241 eScriptLanguageDefault = _lldb.eScriptLanguageDefault 242 eScriptLanguageUnknown = _lldb.eScriptLanguageUnknown 243 eRegisterKindEHFrame = _lldb.eRegisterKindEHFrame 244 eRegisterKindDWARF = _lldb.eRegisterKindDWARF 245 eRegisterKindGeneric = _lldb.eRegisterKindGeneric 246 eRegisterKindProcessPlugin = _lldb.eRegisterKindProcessPlugin 247 eRegisterKindLLDB = _lldb.eRegisterKindLLDB 248 kNumRegisterKinds = _lldb.kNumRegisterKinds 249 eStopReasonInvalid = _lldb.eStopReasonInvalid 250 eStopReasonNone = _lldb.eStopReasonNone 251 eStopReasonTrace = _lldb.eStopReasonTrace 252 eStopReasonBreakpoint = _lldb.eStopReasonBreakpoint 253 eStopReasonWatchpoint = _lldb.eStopReasonWatchpoint 254 eStopReasonSignal = _lldb.eStopReasonSignal 255 eStopReasonException = _lldb.eStopReasonException 256 eStopReasonExec = _lldb.eStopReasonExec 257 eStopReasonPlanComplete = _lldb.eStopReasonPlanComplete 258 eStopReasonThreadExiting = _lldb.eStopReasonThreadExiting 259 eStopReasonInstrumentation = _lldb.eStopReasonInstrumentation 260 eReturnStatusInvalid = _lldb.eReturnStatusInvalid 261 eReturnStatusSuccessFinishNoResult = _lldb.eReturnStatusSuccessFinishNoResult 262 eReturnStatusSuccessFinishResult = _lldb.eReturnStatusSuccessFinishResult 263 eReturnStatusSuccessContinuingNoResult = _lldb.eReturnStatusSuccessContinuingNoResult 264 eReturnStatusSuccessContinuingResult = _lldb.eReturnStatusSuccessContinuingResult 265 eReturnStatusStarted = _lldb.eReturnStatusStarted 266 eReturnStatusFailed = _lldb.eReturnStatusFailed 267 eReturnStatusQuit = _lldb.eReturnStatusQuit 268 eExpressionCompleted = _lldb.eExpressionCompleted 269 eExpressionSetupError = _lldb.eExpressionSetupError 270 eExpressionParseError = _lldb.eExpressionParseError 271 eExpressionDiscarded = _lldb.eExpressionDiscarded 272 eExpressionInterrupted = _lldb.eExpressionInterrupted 273 eExpressionHitBreakpoint = _lldb.eExpressionHitBreakpoint 274 eExpressionTimedOut = _lldb.eExpressionTimedOut 275 eExpressionResultUnavailable = _lldb.eExpressionResultUnavailable 276 eExpressionStoppedForDebug = _lldb.eExpressionStoppedForDebug 277 eConnectionStatusSuccess = _lldb.eConnectionStatusSuccess 278 eConnectionStatusEndOfFile = _lldb.eConnectionStatusEndOfFile 279 eConnectionStatusError = _lldb.eConnectionStatusError 280 eConnectionStatusTimedOut = _lldb.eConnectionStatusTimedOut 281 eConnectionStatusNoConnection = _lldb.eConnectionStatusNoConnection 282 eConnectionStatusLostConnection = _lldb.eConnectionStatusLostConnection 283 eConnectionStatusInterrupted = _lldb.eConnectionStatusInterrupted 284 eErrorTypeInvalid = _lldb.eErrorTypeInvalid 285 eErrorTypeGeneric = _lldb.eErrorTypeGeneric 286 eErrorTypeMachKernel = _lldb.eErrorTypeMachKernel 287 eErrorTypePOSIX = _lldb.eErrorTypePOSIX 288 eErrorTypeExpression = _lldb.eErrorTypeExpression 289 eErrorTypeWin32 = _lldb.eErrorTypeWin32 290 eValueTypeInvalid = _lldb.eValueTypeInvalid 291 eValueTypeVariableGlobal = _lldb.eValueTypeVariableGlobal 292 eValueTypeVariableStatic = _lldb.eValueTypeVariableStatic 293 eValueTypeVariableArgument = _lldb.eValueTypeVariableArgument 294 eValueTypeVariableLocal = _lldb.eValueTypeVariableLocal 295 eValueTypeRegister = _lldb.eValueTypeRegister 296 eValueTypeRegisterSet = _lldb.eValueTypeRegisterSet 297 eValueTypeConstResult = _lldb.eValueTypeConstResult 298 eValueTypeVariableThreadLocal = _lldb.eValueTypeVariableThreadLocal 299 eInputReaderGranularityInvalid = _lldb.eInputReaderGranularityInvalid 300 eInputReaderGranularityByte = _lldb.eInputReaderGranularityByte 301 eInputReaderGranularityWord = _lldb.eInputReaderGranularityWord 302 eInputReaderGranularityLine = _lldb.eInputReaderGranularityLine 303 eInputReaderGranularityAll = _lldb.eInputReaderGranularityAll 304 eSymbolContextTarget = _lldb.eSymbolContextTarget 305 eSymbolContextModule = _lldb.eSymbolContextModule 306 eSymbolContextCompUnit = _lldb.eSymbolContextCompUnit 307 eSymbolContextFunction = _lldb.eSymbolContextFunction 308 eSymbolContextBlock = _lldb.eSymbolContextBlock 309 eSymbolContextLineEntry = _lldb.eSymbolContextLineEntry 310 eSymbolContextSymbol = _lldb.eSymbolContextSymbol 311 eSymbolContextEverything = _lldb.eSymbolContextEverything 312 eSymbolContextVariable = _lldb.eSymbolContextVariable 313 ePermissionsWritable = _lldb.ePermissionsWritable 314 ePermissionsReadable = _lldb.ePermissionsReadable 315 ePermissionsExecutable = _lldb.ePermissionsExecutable 316 eInputReaderActivate = _lldb.eInputReaderActivate 317 eInputReaderAsynchronousOutputWritten = _lldb.eInputReaderAsynchronousOutputWritten 318 eInputReaderReactivate = _lldb.eInputReaderReactivate 319 eInputReaderDeactivate = _lldb.eInputReaderDeactivate 320 eInputReaderGotToken = _lldb.eInputReaderGotToken 321 eInputReaderInterrupt = _lldb.eInputReaderInterrupt 322 eInputReaderEndOfFile = _lldb.eInputReaderEndOfFile 323 eInputReaderDone = _lldb.eInputReaderDone 324 eBreakpointEventTypeInvalidType = _lldb.eBreakpointEventTypeInvalidType 325 eBreakpointEventTypeAdded = _lldb.eBreakpointEventTypeAdded 326 eBreakpointEventTypeRemoved = _lldb.eBreakpointEventTypeRemoved 327 eBreakpointEventTypeLocationsAdded = _lldb.eBreakpointEventTypeLocationsAdded 328 eBreakpointEventTypeLocationsRemoved = _lldb.eBreakpointEventTypeLocationsRemoved 329 eBreakpointEventTypeLocationsResolved = _lldb.eBreakpointEventTypeLocationsResolved 330 eBreakpointEventTypeEnabled = _lldb.eBreakpointEventTypeEnabled 331 eBreakpointEventTypeDisabled = _lldb.eBreakpointEventTypeDisabled 332 eBreakpointEventTypeCommandChanged = _lldb.eBreakpointEventTypeCommandChanged 333 eBreakpointEventTypeConditionChanged = _lldb.eBreakpointEventTypeConditionChanged 334 eBreakpointEventTypeIgnoreChanged = _lldb.eBreakpointEventTypeIgnoreChanged 335 eBreakpointEventTypeThreadChanged = _lldb.eBreakpointEventTypeThreadChanged 336 eWatchpointEventTypeInvalidType = _lldb.eWatchpointEventTypeInvalidType 337 eWatchpointEventTypeAdded = _lldb.eWatchpointEventTypeAdded 338 eWatchpointEventTypeRemoved = _lldb.eWatchpointEventTypeRemoved 339 eWatchpointEventTypeEnabled = _lldb.eWatchpointEventTypeEnabled 340 eWatchpointEventTypeDisabled = _lldb.eWatchpointEventTypeDisabled 341 eWatchpointEventTypeCommandChanged = _lldb.eWatchpointEventTypeCommandChanged 342 eWatchpointEventTypeConditionChanged = _lldb.eWatchpointEventTypeConditionChanged 343 eWatchpointEventTypeIgnoreChanged = _lldb.eWatchpointEventTypeIgnoreChanged 344 eWatchpointEventTypeThreadChanged = _lldb.eWatchpointEventTypeThreadChanged 345 eWatchpointEventTypeTypeChanged = _lldb.eWatchpointEventTypeTypeChanged 346 eLanguageTypeUnknown = _lldb.eLanguageTypeUnknown 347 eLanguageTypeC89 = _lldb.eLanguageTypeC89 348 eLanguageTypeC = _lldb.eLanguageTypeC 349 eLanguageTypeAda83 = _lldb.eLanguageTypeAda83 350 eLanguageTypeC_plus_plus = _lldb.eLanguageTypeC_plus_plus 351 eLanguageTypeCobol74 = _lldb.eLanguageTypeCobol74 352 eLanguageTypeCobol85 = _lldb.eLanguageTypeCobol85 353 eLanguageTypeFortran77 = _lldb.eLanguageTypeFortran77 354 eLanguageTypeFortran90 = _lldb.eLanguageTypeFortran90 355 eLanguageTypePascal83 = _lldb.eLanguageTypePascal83 356 eLanguageTypeModula2 = _lldb.eLanguageTypeModula2 357 eLanguageTypeJava = _lldb.eLanguageTypeJava 358 eLanguageTypeC99 = _lldb.eLanguageTypeC99 359 eLanguageTypeAda95 = _lldb.eLanguageTypeAda95 360 eLanguageTypeFortran95 = _lldb.eLanguageTypeFortran95 361 eLanguageTypePLI = _lldb.eLanguageTypePLI 362 eLanguageTypeObjC = _lldb.eLanguageTypeObjC 363 eLanguageTypeObjC_plus_plus = _lldb.eLanguageTypeObjC_plus_plus 364 eLanguageTypeUPC = _lldb.eLanguageTypeUPC 365 eLanguageTypeD = _lldb.eLanguageTypeD 366 eLanguageTypePython = _lldb.eLanguageTypePython 367 eLanguageTypeOpenCL = _lldb.eLanguageTypeOpenCL 368 eLanguageTypeGo = _lldb.eLanguageTypeGo 369 eLanguageTypeModula3 = _lldb.eLanguageTypeModula3 370 eLanguageTypeHaskell = _lldb.eLanguageTypeHaskell 371 eLanguageTypeC_plus_plus_03 = _lldb.eLanguageTypeC_plus_plus_03 372 eLanguageTypeC_plus_plus_11 = _lldb.eLanguageTypeC_plus_plus_11 373 eLanguageTypeOCaml = _lldb.eLanguageTypeOCaml 374 eLanguageTypeRust = _lldb.eLanguageTypeRust 375 eLanguageTypeC11 = _lldb.eLanguageTypeC11 376 eLanguageTypeSwift = _lldb.eLanguageTypeSwift 377 eLanguageTypeJulia = _lldb.eLanguageTypeJulia 378 eLanguageTypeDylan = _lldb.eLanguageTypeDylan 379 eLanguageTypeC_plus_plus_14 = _lldb.eLanguageTypeC_plus_plus_14 380 eLanguageTypeFortran03 = _lldb.eLanguageTypeFortran03 381 eLanguageTypeFortran08 = _lldb.eLanguageTypeFortran08 382 eLanguageTypeMipsAssembler = _lldb.eLanguageTypeMipsAssembler 383 eLanguageTypeExtRenderScript = _lldb.eLanguageTypeExtRenderScript 384 eNumLanguageTypes = _lldb.eNumLanguageTypes 385 eInstrumentationRuntimeTypeAddressSanitizer = _lldb.eInstrumentationRuntimeTypeAddressSanitizer 386 eInstrumentationRuntimeTypeThreadSanitizer = _lldb.eInstrumentationRuntimeTypeThreadSanitizer 387 eNumInstrumentationRuntimeTypes = _lldb.eNumInstrumentationRuntimeTypes 388 eNoDynamicValues = _lldb.eNoDynamicValues 389 eDynamicCanRunTarget = _lldb.eDynamicCanRunTarget 390 eDynamicDontRunTarget = _lldb.eDynamicDontRunTarget 391 eStopShowColumnAnsiOrCaret = _lldb.eStopShowColumnAnsiOrCaret 392 eStopShowColumnAnsi = _lldb.eStopShowColumnAnsi 393 eStopShowColumnCaret = _lldb.eStopShowColumnCaret 394 eStopShowColumnNone = _lldb.eStopShowColumnNone 395 eAccessNone = _lldb.eAccessNone 396 eAccessPublic = _lldb.eAccessPublic 397 eAccessPrivate = _lldb.eAccessPrivate 398 eAccessProtected = _lldb.eAccessProtected 399 eAccessPackage = _lldb.eAccessPackage 400 eArgTypeAddress = _lldb.eArgTypeAddress 401 eArgTypeAddressOrExpression = _lldb.eArgTypeAddressOrExpression 402 eArgTypeAliasName = _lldb.eArgTypeAliasName 403 eArgTypeAliasOptions = _lldb.eArgTypeAliasOptions 404 eArgTypeArchitecture = _lldb.eArgTypeArchitecture 405 eArgTypeBoolean = _lldb.eArgTypeBoolean 406 eArgTypeBreakpointID = _lldb.eArgTypeBreakpointID 407 eArgTypeBreakpointIDRange = _lldb.eArgTypeBreakpointIDRange 408 eArgTypeBreakpointName = _lldb.eArgTypeBreakpointName 409 eArgTypeByteSize = _lldb.eArgTypeByteSize 410 eArgTypeClassName = _lldb.eArgTypeClassName 411 eArgTypeCommandName = _lldb.eArgTypeCommandName 412 eArgTypeCount = _lldb.eArgTypeCount 413 eArgTypeDescriptionVerbosity = _lldb.eArgTypeDescriptionVerbosity 414 eArgTypeDirectoryName = _lldb.eArgTypeDirectoryName 415 eArgTypeDisassemblyFlavor = _lldb.eArgTypeDisassemblyFlavor 416 eArgTypeEndAddress = _lldb.eArgTypeEndAddress 417 eArgTypeExpression = _lldb.eArgTypeExpression 418 eArgTypeExpressionPath = _lldb.eArgTypeExpressionPath 419 eArgTypeExprFormat = _lldb.eArgTypeExprFormat 420 eArgTypeFilename = _lldb.eArgTypeFilename 421 eArgTypeFormat = _lldb.eArgTypeFormat 422 eArgTypeFrameIndex = _lldb.eArgTypeFrameIndex 423 eArgTypeFullName = _lldb.eArgTypeFullName 424 eArgTypeFunctionName = _lldb.eArgTypeFunctionName 425 eArgTypeFunctionOrSymbol = _lldb.eArgTypeFunctionOrSymbol 426 eArgTypeGDBFormat = _lldb.eArgTypeGDBFormat 427 eArgTypeHelpText = _lldb.eArgTypeHelpText 428 eArgTypeIndex = _lldb.eArgTypeIndex 429 eArgTypeLanguage = _lldb.eArgTypeLanguage 430 eArgTypeLineNum = _lldb.eArgTypeLineNum 431 eArgTypeLogCategory = _lldb.eArgTypeLogCategory 432 eArgTypeLogChannel = _lldb.eArgTypeLogChannel 433 eArgTypeMethod = _lldb.eArgTypeMethod 434 eArgTypeName = _lldb.eArgTypeName 435 eArgTypeNewPathPrefix = _lldb.eArgTypeNewPathPrefix 436 eArgTypeNumLines = _lldb.eArgTypeNumLines 437 eArgTypeNumberPerLine = _lldb.eArgTypeNumberPerLine 438 eArgTypeOffset = _lldb.eArgTypeOffset 439 eArgTypeOldPathPrefix = _lldb.eArgTypeOldPathPrefix 440 eArgTypeOneLiner = _lldb.eArgTypeOneLiner 441 eArgTypePath = _lldb.eArgTypePath 442 eArgTypePermissionsNumber = _lldb.eArgTypePermissionsNumber 443 eArgTypePermissionsString = _lldb.eArgTypePermissionsString 444 eArgTypePid = _lldb.eArgTypePid 445 eArgTypePlugin = _lldb.eArgTypePlugin 446 eArgTypeProcessName = _lldb.eArgTypeProcessName 447 eArgTypePythonClass = _lldb.eArgTypePythonClass 448 eArgTypePythonFunction = _lldb.eArgTypePythonFunction 449 eArgTypePythonScript = _lldb.eArgTypePythonScript 450 eArgTypeQueueName = _lldb.eArgTypeQueueName 451 eArgTypeRegisterName = _lldb.eArgTypeRegisterName 452 eArgTypeRegularExpression = _lldb.eArgTypeRegularExpression 453 eArgTypeRunArgs = _lldb.eArgTypeRunArgs 454 eArgTypeRunMode = _lldb.eArgTypeRunMode 455 eArgTypeScriptedCommandSynchronicity = _lldb.eArgTypeScriptedCommandSynchronicity 456 eArgTypeScriptLang = _lldb.eArgTypeScriptLang 457 eArgTypeSearchWord = _lldb.eArgTypeSearchWord 458 eArgTypeSelector = _lldb.eArgTypeSelector 459 eArgTypeSettingIndex = _lldb.eArgTypeSettingIndex 460 eArgTypeSettingKey = _lldb.eArgTypeSettingKey 461 eArgTypeSettingPrefix = _lldb.eArgTypeSettingPrefix 462 eArgTypeSettingVariableName = _lldb.eArgTypeSettingVariableName 463 eArgTypeShlibName = _lldb.eArgTypeShlibName 464 eArgTypeSourceFile = _lldb.eArgTypeSourceFile 465 eArgTypeSortOrder = _lldb.eArgTypeSortOrder 466 eArgTypeStartAddress = _lldb.eArgTypeStartAddress 467 eArgTypeSummaryString = _lldb.eArgTypeSummaryString 468 eArgTypeSymbol = _lldb.eArgTypeSymbol 469 eArgTypeThreadID = _lldb.eArgTypeThreadID 470 eArgTypeThreadIndex = _lldb.eArgTypeThreadIndex 471 eArgTypeThreadName = _lldb.eArgTypeThreadName 472 eArgTypeTypeName = _lldb.eArgTypeTypeName 473 eArgTypeUnsignedInteger = _lldb.eArgTypeUnsignedInteger 474 eArgTypeUnixSignal = _lldb.eArgTypeUnixSignal 475 eArgTypeVarName = _lldb.eArgTypeVarName 476 eArgTypeValue = _lldb.eArgTypeValue 477 eArgTypeWidth = _lldb.eArgTypeWidth 478 eArgTypeNone = _lldb.eArgTypeNone 479 eArgTypePlatform = _lldb.eArgTypePlatform 480 eArgTypeWatchpointID = _lldb.eArgTypeWatchpointID 481 eArgTypeWatchpointIDRange = _lldb.eArgTypeWatchpointIDRange 482 eArgTypeWatchType = _lldb.eArgTypeWatchType 483 eArgRawInput = _lldb.eArgRawInput 484 eArgTypeLastArg = _lldb.eArgTypeLastArg 485 eSymbolTypeAny = _lldb.eSymbolTypeAny 486 eSymbolTypeInvalid = _lldb.eSymbolTypeInvalid 487 eSymbolTypeAbsolute = _lldb.eSymbolTypeAbsolute 488 eSymbolTypeCode = _lldb.eSymbolTypeCode 489 eSymbolTypeResolver = _lldb.eSymbolTypeResolver 490 eSymbolTypeData = _lldb.eSymbolTypeData 491 eSymbolTypeTrampoline = _lldb.eSymbolTypeTrampoline 492 eSymbolTypeRuntime = _lldb.eSymbolTypeRuntime 493 eSymbolTypeException = _lldb.eSymbolTypeException 494 eSymbolTypeSourceFile = _lldb.eSymbolTypeSourceFile 495 eSymbolTypeHeaderFile = _lldb.eSymbolTypeHeaderFile 496 eSymbolTypeObjectFile = _lldb.eSymbolTypeObjectFile 497 eSymbolTypeCommonBlock = _lldb.eSymbolTypeCommonBlock 498 eSymbolTypeBlock = _lldb.eSymbolTypeBlock 499 eSymbolTypeLocal = _lldb.eSymbolTypeLocal 500 eSymbolTypeParam = _lldb.eSymbolTypeParam 501 eSymbolTypeVariable = _lldb.eSymbolTypeVariable 502 eSymbolTypeVariableType = _lldb.eSymbolTypeVariableType 503 eSymbolTypeLineEntry = _lldb.eSymbolTypeLineEntry 504 eSymbolTypeLineHeader = _lldb.eSymbolTypeLineHeader 505 eSymbolTypeScopeBegin = _lldb.eSymbolTypeScopeBegin 506 eSymbolTypeScopeEnd = _lldb.eSymbolTypeScopeEnd 507 eSymbolTypeAdditional = _lldb.eSymbolTypeAdditional 508 eSymbolTypeCompiler = _lldb.eSymbolTypeCompiler 509 eSymbolTypeInstrumentation = _lldb.eSymbolTypeInstrumentation 510 eSymbolTypeUndefined = _lldb.eSymbolTypeUndefined 511 eSymbolTypeObjCClass = _lldb.eSymbolTypeObjCClass 512 eSymbolTypeObjCMetaClass = _lldb.eSymbolTypeObjCMetaClass 513 eSymbolTypeObjCIVar = _lldb.eSymbolTypeObjCIVar 514 eSymbolTypeReExported = _lldb.eSymbolTypeReExported 515 eSectionTypeInvalid = _lldb.eSectionTypeInvalid 516 eSectionTypeCode = _lldb.eSectionTypeCode 517 eSectionTypeContainer = _lldb.eSectionTypeContainer 518 eSectionTypeData = _lldb.eSectionTypeData 519 eSectionTypeDataCString = _lldb.eSectionTypeDataCString 520 eSectionTypeDataCStringPointers = _lldb.eSectionTypeDataCStringPointers 521 eSectionTypeDataSymbolAddress = _lldb.eSectionTypeDataSymbolAddress 522 eSectionTypeData4 = _lldb.eSectionTypeData4 523 eSectionTypeData8 = _lldb.eSectionTypeData8 524 eSectionTypeData16 = _lldb.eSectionTypeData16 525 eSectionTypeDataPointers = _lldb.eSectionTypeDataPointers 526 eSectionTypeDebug = _lldb.eSectionTypeDebug 527 eSectionTypeZeroFill = _lldb.eSectionTypeZeroFill 528 eSectionTypeDataObjCMessageRefs = _lldb.eSectionTypeDataObjCMessageRefs 529 eSectionTypeDataObjCCFStrings = _lldb.eSectionTypeDataObjCCFStrings 530 eSectionTypeDWARFDebugAbbrev = _lldb.eSectionTypeDWARFDebugAbbrev 531 eSectionTypeDWARFDebugAddr = _lldb.eSectionTypeDWARFDebugAddr 532 eSectionTypeDWARFDebugAranges = _lldb.eSectionTypeDWARFDebugAranges 533 eSectionTypeDWARFDebugFrame = _lldb.eSectionTypeDWARFDebugFrame 534 eSectionTypeDWARFDebugInfo = _lldb.eSectionTypeDWARFDebugInfo 535 eSectionTypeDWARFDebugLine = _lldb.eSectionTypeDWARFDebugLine 536 eSectionTypeDWARFDebugLoc = _lldb.eSectionTypeDWARFDebugLoc 537 eSectionTypeDWARFDebugMacInfo = _lldb.eSectionTypeDWARFDebugMacInfo 538 eSectionTypeDWARFDebugMacro = _lldb.eSectionTypeDWARFDebugMacro 539 eSectionTypeDWARFDebugPubNames = _lldb.eSectionTypeDWARFDebugPubNames 540 eSectionTypeDWARFDebugPubTypes = _lldb.eSectionTypeDWARFDebugPubTypes 541 eSectionTypeDWARFDebugRanges = _lldb.eSectionTypeDWARFDebugRanges 542 eSectionTypeDWARFDebugStr = _lldb.eSectionTypeDWARFDebugStr 543 eSectionTypeDWARFDebugStrOffsets = _lldb.eSectionTypeDWARFDebugStrOffsets 544 eSectionTypeDWARFAppleNames = _lldb.eSectionTypeDWARFAppleNames 545 eSectionTypeDWARFAppleTypes = _lldb.eSectionTypeDWARFAppleTypes 546 eSectionTypeDWARFAppleNamespaces = _lldb.eSectionTypeDWARFAppleNamespaces 547 eSectionTypeDWARFAppleObjC = _lldb.eSectionTypeDWARFAppleObjC 548 eSectionTypeELFSymbolTable = _lldb.eSectionTypeELFSymbolTable 549 eSectionTypeELFDynamicSymbols = _lldb.eSectionTypeELFDynamicSymbols 550 eSectionTypeELFRelocationEntries = _lldb.eSectionTypeELFRelocationEntries 551 eSectionTypeELFDynamicLinkInfo = _lldb.eSectionTypeELFDynamicLinkInfo 552 eSectionTypeEHFrame = _lldb.eSectionTypeEHFrame 553 eSectionTypeARMexidx = _lldb.eSectionTypeARMexidx 554 eSectionTypeARMextab = _lldb.eSectionTypeARMextab 555 eSectionTypeCompactUnwind = _lldb.eSectionTypeCompactUnwind 556 eSectionTypeGoSymtab = _lldb.eSectionTypeGoSymtab 557 eSectionTypeAbsoluteAddress = _lldb.eSectionTypeAbsoluteAddress 558 eSectionTypeOther = _lldb.eSectionTypeOther 559 eEmulateInstructionOptionNone = _lldb.eEmulateInstructionOptionNone 560 eEmulateInstructionOptionAutoAdvancePC = _lldb.eEmulateInstructionOptionAutoAdvancePC 561 eEmulateInstructionOptionIgnoreConditions = _lldb.eEmulateInstructionOptionIgnoreConditions 562 eFunctionNameTypeNone = _lldb.eFunctionNameTypeNone 563 eFunctionNameTypeAuto = _lldb.eFunctionNameTypeAuto 564 eFunctionNameTypeFull = _lldb.eFunctionNameTypeFull 565 eFunctionNameTypeBase = _lldb.eFunctionNameTypeBase 566 eFunctionNameTypeMethod = _lldb.eFunctionNameTypeMethod 567 eFunctionNameTypeSelector = _lldb.eFunctionNameTypeSelector 568 eFunctionNameTypeAny = _lldb.eFunctionNameTypeAny 569 eBasicTypeInvalid = _lldb.eBasicTypeInvalid 570 eBasicTypeVoid = _lldb.eBasicTypeVoid 571 eBasicTypeChar = _lldb.eBasicTypeChar 572 eBasicTypeSignedChar = _lldb.eBasicTypeSignedChar 573 eBasicTypeUnsignedChar = _lldb.eBasicTypeUnsignedChar 574 eBasicTypeWChar = _lldb.eBasicTypeWChar 575 eBasicTypeSignedWChar = _lldb.eBasicTypeSignedWChar 576 eBasicTypeUnsignedWChar = _lldb.eBasicTypeUnsignedWChar 577 eBasicTypeChar16 = _lldb.eBasicTypeChar16 578 eBasicTypeChar32 = _lldb.eBasicTypeChar32 579 eBasicTypeShort = _lldb.eBasicTypeShort 580 eBasicTypeUnsignedShort = _lldb.eBasicTypeUnsignedShort 581 eBasicTypeInt = _lldb.eBasicTypeInt 582 eBasicTypeUnsignedInt = _lldb.eBasicTypeUnsignedInt 583 eBasicTypeLong = _lldb.eBasicTypeLong 584 eBasicTypeUnsignedLong = _lldb.eBasicTypeUnsignedLong 585 eBasicTypeLongLong = _lldb.eBasicTypeLongLong 586 eBasicTypeUnsignedLongLong = _lldb.eBasicTypeUnsignedLongLong 587 eBasicTypeInt128 = _lldb.eBasicTypeInt128 588 eBasicTypeUnsignedInt128 = _lldb.eBasicTypeUnsignedInt128 589 eBasicTypeBool = _lldb.eBasicTypeBool 590 eBasicTypeHalf = _lldb.eBasicTypeHalf 591 eBasicTypeFloat = _lldb.eBasicTypeFloat 592 eBasicTypeDouble = _lldb.eBasicTypeDouble 593 eBasicTypeLongDouble = _lldb.eBasicTypeLongDouble 594 eBasicTypeFloatComplex = _lldb.eBasicTypeFloatComplex 595 eBasicTypeDoubleComplex = _lldb.eBasicTypeDoubleComplex 596 eBasicTypeLongDoubleComplex = _lldb.eBasicTypeLongDoubleComplex 597 eBasicTypeObjCID = _lldb.eBasicTypeObjCID 598 eBasicTypeObjCClass = _lldb.eBasicTypeObjCClass 599 eBasicTypeObjCSel = _lldb.eBasicTypeObjCSel 600 eBasicTypeNullPtr = _lldb.eBasicTypeNullPtr 601 eBasicTypeOther = _lldb.eBasicTypeOther 602 eTypeClassInvalid = _lldb.eTypeClassInvalid 603 eTypeClassArray = _lldb.eTypeClassArray 604 eTypeClassBlockPointer = _lldb.eTypeClassBlockPointer 605 eTypeClassBuiltin = _lldb.eTypeClassBuiltin 606 eTypeClassClass = _lldb.eTypeClassClass 607 eTypeClassComplexFloat = _lldb.eTypeClassComplexFloat 608 eTypeClassComplexInteger = _lldb.eTypeClassComplexInteger 609 eTypeClassEnumeration = _lldb.eTypeClassEnumeration 610 eTypeClassFunction = _lldb.eTypeClassFunction 611 eTypeClassMemberPointer = _lldb.eTypeClassMemberPointer 612 eTypeClassObjCObject = _lldb.eTypeClassObjCObject 613 eTypeClassObjCInterface = _lldb.eTypeClassObjCInterface 614 eTypeClassObjCObjectPointer = _lldb.eTypeClassObjCObjectPointer 615 eTypeClassPointer = _lldb.eTypeClassPointer 616 eTypeClassReference = _lldb.eTypeClassReference 617 eTypeClassStruct = _lldb.eTypeClassStruct 618 eTypeClassTypedef = _lldb.eTypeClassTypedef 619 eTypeClassUnion = _lldb.eTypeClassUnion 620 eTypeClassVector = _lldb.eTypeClassVector 621 eTypeClassOther = _lldb.eTypeClassOther 622 eTypeClassAny = _lldb.eTypeClassAny 623 eTemplateArgumentKindNull = _lldb.eTemplateArgumentKindNull 624 eTemplateArgumentKindType = _lldb.eTemplateArgumentKindType 625 eTemplateArgumentKindDeclaration = _lldb.eTemplateArgumentKindDeclaration 626 eTemplateArgumentKindIntegral = _lldb.eTemplateArgumentKindIntegral 627 eTemplateArgumentKindTemplate = _lldb.eTemplateArgumentKindTemplate 628 eTemplateArgumentKindTemplateExpansion = _lldb.eTemplateArgumentKindTemplateExpansion 629 eTemplateArgumentKindExpression = _lldb.eTemplateArgumentKindExpression 630 eTemplateArgumentKindPack = _lldb.eTemplateArgumentKindPack 631 eTypeOptionNone = _lldb.eTypeOptionNone 632 eTypeOptionCascade = _lldb.eTypeOptionCascade 633 eTypeOptionSkipPointers = _lldb.eTypeOptionSkipPointers 634 eTypeOptionSkipReferences = _lldb.eTypeOptionSkipReferences 635 eTypeOptionHideChildren = _lldb.eTypeOptionHideChildren 636 eTypeOptionHideValue = _lldb.eTypeOptionHideValue 637 eTypeOptionShowOneLiner = _lldb.eTypeOptionShowOneLiner 638 eTypeOptionHideNames = _lldb.eTypeOptionHideNames 639 eTypeOptionNonCacheable = _lldb.eTypeOptionNonCacheable 640 eTypeOptionHideEmptyAggregates = _lldb.eTypeOptionHideEmptyAggregates 641 eFrameCompareInvalid = _lldb.eFrameCompareInvalid 642 eFrameCompareUnknown = _lldb.eFrameCompareUnknown 643 eFrameCompareEqual = _lldb.eFrameCompareEqual 644 eFrameCompareSameParent = _lldb.eFrameCompareSameParent 645 eFrameCompareYounger = _lldb.eFrameCompareYounger 646 eFrameCompareOlder = _lldb.eFrameCompareOlder 647 eAddressClassInvalid = _lldb.eAddressClassInvalid 648 eAddressClassUnknown = _lldb.eAddressClassUnknown 649 eAddressClassCode = _lldb.eAddressClassCode 650 eAddressClassCodeAlternateISA = _lldb.eAddressClassCodeAlternateISA 651 eAddressClassData = _lldb.eAddressClassData 652 eAddressClassDebug = _lldb.eAddressClassDebug 653 eAddressClassRuntime = _lldb.eAddressClassRuntime 654 eFilePermissionsUserRead = _lldb.eFilePermissionsUserRead 655 eFilePermissionsUserWrite = _lldb.eFilePermissionsUserWrite 656 eFilePermissionsUserExecute = _lldb.eFilePermissionsUserExecute 657 eFilePermissionsGroupRead = _lldb.eFilePermissionsGroupRead 658 eFilePermissionsGroupWrite = _lldb.eFilePermissionsGroupWrite 659 eFilePermissionsGroupExecute = _lldb.eFilePermissionsGroupExecute 660 eFilePermissionsWorldRead = _lldb.eFilePermissionsWorldRead 661 eFilePermissionsWorldWrite = _lldb.eFilePermissionsWorldWrite 662 eFilePermissionsWorldExecute = _lldb.eFilePermissionsWorldExecute 663 eFilePermissionsUserRW = _lldb.eFilePermissionsUserRW 664 eFileFilePermissionsUserRX = _lldb.eFileFilePermissionsUserRX 665 eFilePermissionsUserRWX = _lldb.eFilePermissionsUserRWX 666 eFilePermissionsGroupRW = _lldb.eFilePermissionsGroupRW 667 eFilePermissionsGroupRX = _lldb.eFilePermissionsGroupRX 668 eFilePermissionsGroupRWX = _lldb.eFilePermissionsGroupRWX 669 eFilePermissionsWorldRW = _lldb.eFilePermissionsWorldRW 670 eFilePermissionsWorldRX = _lldb.eFilePermissionsWorldRX 671 eFilePermissionsWorldRWX = _lldb.eFilePermissionsWorldRWX 672 eFilePermissionsEveryoneR = _lldb.eFilePermissionsEveryoneR 673 eFilePermissionsEveryoneW = _lldb.eFilePermissionsEveryoneW 674 eFilePermissionsEveryoneX = _lldb.eFilePermissionsEveryoneX 675 eFilePermissionsEveryoneRW = _lldb.eFilePermissionsEveryoneRW 676 eFilePermissionsEveryoneRX = _lldb.eFilePermissionsEveryoneRX 677 eFilePermissionsEveryoneRWX = _lldb.eFilePermissionsEveryoneRWX 678 eFilePermissionsFileDefault = _lldb.eFilePermissionsFileDefault 679 eFilePermissionsDirectoryDefault = _lldb.eFilePermissionsDirectoryDefault 680 eQueueItemKindUnknown = _lldb.eQueueItemKindUnknown 681 eQueueItemKindFunction = _lldb.eQueueItemKindFunction 682 eQueueItemKindBlock = _lldb.eQueueItemKindBlock 683 eQueueKindUnknown = _lldb.eQueueKindUnknown 684 eQueueKindSerial = _lldb.eQueueKindSerial 685 eQueueKindConcurrent = _lldb.eQueueKindConcurrent 686 eExpressionEvaluationParse = _lldb.eExpressionEvaluationParse 687 eExpressionEvaluationIRGen = _lldb.eExpressionEvaluationIRGen 688 eExpressionEvaluationExecution = _lldb.eExpressionEvaluationExecution 689 eExpressionEvaluationComplete = _lldb.eExpressionEvaluationComplete 690 eWatchpointKindRead = _lldb.eWatchpointKindRead 691 eWatchpointKindWrite = _lldb.eWatchpointKindWrite 692 eGdbSignalBadAccess = _lldb.eGdbSignalBadAccess 693 eGdbSignalBadInstruction = _lldb.eGdbSignalBadInstruction 694 eGdbSignalArithmetic = _lldb.eGdbSignalArithmetic 695 eGdbSignalEmulation = _lldb.eGdbSignalEmulation 696 eGdbSignalSoftware = _lldb.eGdbSignalSoftware 697 eGdbSignalBreakpoint = _lldb.eGdbSignalBreakpoint 698 ePathTypeLLDBShlibDir = _lldb.ePathTypeLLDBShlibDir 699 ePathTypeSupportExecutableDir = _lldb.ePathTypeSupportExecutableDir 700 ePathTypeHeaderDir = _lldb.ePathTypeHeaderDir 701 ePathTypePythonDir = _lldb.ePathTypePythonDir 702 ePathTypeLLDBSystemPlugins = _lldb.ePathTypeLLDBSystemPlugins 703 ePathTypeLLDBUserPlugins = _lldb.ePathTypeLLDBUserPlugins 704 ePathTypeLLDBTempSystemDir = _lldb.ePathTypeLLDBTempSystemDir 705 ePathTypeGlobalLLDBTempSystemDir = _lldb.ePathTypeGlobalLLDBTempSystemDir 706 ePathTypeClangDir = _lldb.ePathTypeClangDir 707 eMemberFunctionKindUnknown = _lldb.eMemberFunctionKindUnknown 708 eMemberFunctionKindConstructor = _lldb.eMemberFunctionKindConstructor 709 eMemberFunctionKindDestructor = _lldb.eMemberFunctionKindDestructor 710 eMemberFunctionKindInstanceMethod = _lldb.eMemberFunctionKindInstanceMethod 711 eMemberFunctionKindStaticMethod = _lldb.eMemberFunctionKindStaticMethod 712 eMatchTypeNormal = _lldb.eMatchTypeNormal 713 eMatchTypeRegex = _lldb.eMatchTypeRegex 714 eMatchTypeStartsWith = _lldb.eMatchTypeStartsWith 715 eTypeHasChildren = _lldb.eTypeHasChildren 716 eTypeHasValue = _lldb.eTypeHasValue 717 eTypeIsArray = _lldb.eTypeIsArray 718 eTypeIsBlock = _lldb.eTypeIsBlock 719 eTypeIsBuiltIn = _lldb.eTypeIsBuiltIn 720 eTypeIsClass = _lldb.eTypeIsClass 721 eTypeIsCPlusPlus = _lldb.eTypeIsCPlusPlus 722 eTypeIsEnumeration = _lldb.eTypeIsEnumeration 723 eTypeIsFuncPrototype = _lldb.eTypeIsFuncPrototype 724 eTypeIsMember = _lldb.eTypeIsMember 725 eTypeIsObjC = _lldb.eTypeIsObjC 726 eTypeIsPointer = _lldb.eTypeIsPointer 727 eTypeIsReference = _lldb.eTypeIsReference 728 eTypeIsStructUnion = _lldb.eTypeIsStructUnion 729 eTypeIsTemplate = _lldb.eTypeIsTemplate 730 eTypeIsTypedef = _lldb.eTypeIsTypedef 731 eTypeIsVector = _lldb.eTypeIsVector 732 eTypeIsScalar = _lldb.eTypeIsScalar 733 eTypeIsInteger = _lldb.eTypeIsInteger 734 eTypeIsFloat = _lldb.eTypeIsFloat 735 eTypeIsComplex = _lldb.eTypeIsComplex 736 eTypeIsSigned = _lldb.eTypeIsSigned 737 eTypeInstanceIsPointer = _lldb.eTypeInstanceIsPointer 738 eCommandRequiresTarget = _lldb.eCommandRequiresTarget 739 eCommandRequiresProcess = _lldb.eCommandRequiresProcess 740 eCommandRequiresThread = _lldb.eCommandRequiresThread 741 eCommandRequiresFrame = _lldb.eCommandRequiresFrame 742 eCommandRequiresRegContext = _lldb.eCommandRequiresRegContext 743 eCommandTryTargetAPILock = _lldb.eCommandTryTargetAPILock 744 eCommandProcessMustBeLaunched = _lldb.eCommandProcessMustBeLaunched 745 eCommandProcessMustBePaused = _lldb.eCommandProcessMustBePaused 746 eTypeSummaryCapped = _lldb.eTypeSummaryCapped 747 eTypeSummaryUncapped = _lldb.eTypeSummaryUncapped
748 749 # ================================== 750 # Helper function for SBModule class 751 # ================================== 752 -def in_range(symbol, section):
753 """Test whether a symbol is within the range of a section.""" 754 symSA = symbol.GetStartAddress().GetFileAddress() 755 symEA = symbol.GetEndAddress().GetFileAddress() 756 secSA = section.GetFileAddress() 757 secEA = secSA + section.GetByteSize() 758 759 if symEA != LLDB_INVALID_ADDRESS: 760 if secSA <= symSA and symEA <= secEA: 761 return True 762 else: 763 return False 764 else: 765 if secSA <= symSA and symSA < secEA: 766 return True 767 else: 768 return False
769
770 771 # =================================== 772 # Iterator for lldb container objects 773 # =================================== 774 -def lldb_iter(obj, getsize, getelem):
775 """A generator adaptor to support iteration for lldb container objects.""" 776 size = getattr(obj, getsize) 777 elem = getattr(obj, getelem) 778 for i in range(size()): 779 yield elem(i)
780
781 # ============================================================================== 782 # The modify-python-lldb.py script is responsible for post-processing this SWIG- 783 # generated lldb.py module. It is responsible for adding the above lldb_iter() 784 # function definition as well as the supports, in the following, for iteration 785 # protocol: __iter__, rich comparison methods: __eq__ and __ne__, truth value 786 # testing (and built-in operation bool()): __nonzero__, and built-in function 787 # len(): __len__. 788 # ============================================================================== 789 790 -class SBAddress(_object):
791 """ 792 A section + offset based address class. 793 794 The SBAddress class allows addresses to be relative to a section 795 that can move during runtime due to images (executables, shared 796 libraries, bundles, frameworks) being loaded at different 797 addresses than the addresses found in the object file that 798 represents them on disk. There are currently two types of addresses 799 for a section: 800 o file addresses 801 o load addresses 802 803 File addresses represents the virtual addresses that are in the 'on 804 disk' object files. These virtual addresses are converted to be 805 relative to unique sections scoped to the object file so that 806 when/if the addresses slide when the images are loaded/unloaded 807 in memory, we can easily track these changes without having to 808 update every object (compile unit ranges, line tables, function 809 address ranges, lexical block and inlined subroutine address 810 ranges, global and static variables) each time an image is loaded or 811 unloaded. 812 813 Load addresses represents the virtual addresses where each section 814 ends up getting loaded at runtime. Before executing a program, it 815 is common for all of the load addresses to be unresolved. When a 816 DynamicLoader plug-in receives notification that shared libraries 817 have been loaded/unloaded, the load addresses of the main executable 818 and any images (shared libraries) will be resolved/unresolved. When 819 this happens, breakpoints that are in one of these sections can be 820 set/cleared. 821 822 See docstring of SBFunction for example usage of SBAddress. 823 """ 824 __swig_setmethods__ = {} 825 __setattr__ = lambda self, name, value: _swig_setattr(self, SBAddress, name, value) 826 __swig_getmethods__ = {} 827 __getattr__ = lambda self, name: _swig_getattr(self, SBAddress, name) 828 __repr__ = _swig_repr
829 - def __eq__(self, other): return isinstance(other, SBAddress) and self.GetFileAddress() == other.GetFileAddress() and self.GetModule() == other.GetModule()
830 - def __ne__(self, other): return not self.__eq__(other)
831 - def __init__(self, *args):
832 """ 833 __init__(lldb::SBAddress self) -> SBAddress 834 __init__(lldb::SBAddress self, SBAddress rhs) -> SBAddress 835 __init__(lldb::SBAddress self, SBSection section, lldb::addr_t offset) -> SBAddress 836 __init__(lldb::SBAddress self, lldb::addr_t load_addr, SBTarget target) -> SBAddress 837 838 Create an address by resolving a load address using the supplied target. 839 """ 840 this = _lldb.new_SBAddress(*args) 841 try: self.this.append(this) 842 except: self.this = this
843 __swig_destroy__ = _lldb.delete_SBAddress 844 __del__ = lambda self : None;
845 - def __nonzero__(self): return self.IsValid()
846 - def IsValid(self):
847 """IsValid(SBAddress self) -> bool""" 848 return _lldb.SBAddress_IsValid(self)
849
850 - def Clear(self):
851 """Clear(SBAddress self)""" 852 return _lldb.SBAddress_Clear(self)
853
854 - def GetFileAddress(self):
855 """GetFileAddress(SBAddress self) -> lldb::addr_t""" 856 return _lldb.SBAddress_GetFileAddress(self)
857
858 - def GetLoadAddress(self, *args):
859 """GetLoadAddress(SBAddress self, SBTarget target) -> lldb::addr_t""" 860 return _lldb.SBAddress_GetLoadAddress(self, *args)
861
862 - def SetLoadAddress(self, *args):
863 """SetLoadAddress(SBAddress self, lldb::addr_t load_addr, SBTarget target)""" 864 return _lldb.SBAddress_SetLoadAddress(self, *args)
865
866 - def OffsetAddress(self, *args):
867 """OffsetAddress(SBAddress self, lldb::addr_t offset) -> bool""" 868 return _lldb.SBAddress_OffsetAddress(self, *args)
869
870 - def GetDescription(self, *args):
871 """GetDescription(SBAddress self, SBStream description) -> bool""" 872 return _lldb.SBAddress_GetDescription(self, *args)
873
874 - def GetSection(self):
875 """GetSection(SBAddress self) -> SBSection""" 876 return _lldb.SBAddress_GetSection(self)
877
878 - def GetOffset(self):
879 """GetOffset(SBAddress self) -> lldb::addr_t""" 880 return _lldb.SBAddress_GetOffset(self)
881
882 - def SetAddress(self, *args):
883 """SetAddress(SBAddress self, SBSection section, lldb::addr_t offset)""" 884 return _lldb.SBAddress_SetAddress(self, *args)
885
886 - def GetAddressClass(self):
887 """GetAddressClass(SBAddress self) -> lldb::AddressClass""" 888 return _lldb.SBAddress_GetAddressClass(self)
889
890 - def GetSymbolContext(self, *args):
891 """ 892 GetSymbolContext(SBAddress self, uint32_t resolve_scope) -> SBSymbolContext 893 894 GetSymbolContext() and the following can lookup symbol information for a given address. 895 An address might refer to code or data from an existing module, or it 896 might refer to something on the stack or heap. The following functions 897 will only return valid values if the address has been resolved to a code 898 or data address using 'void SBAddress::SetLoadAddress(...)' or 899 'lldb::SBAddress SBTarget::ResolveLoadAddress (...)'. 900 """ 901 return _lldb.SBAddress_GetSymbolContext(self, *args)
902
903 - def GetModule(self):
904 """ 905 GetModule(SBAddress self) -> SBModule 906 907 GetModule() and the following grab individual objects for a given address and 908 are less efficient if you want more than one symbol related objects. 909 Use one of the following when you want multiple debug symbol related 910 objects for an address: 911 lldb::SBSymbolContext SBAddress::GetSymbolContext (uint32_t resolve_scope); 912 lldb::SBSymbolContext SBTarget::ResolveSymbolContextForAddress (const SBAddress &addr, uint32_t resolve_scope); 913 One or more bits from the SymbolContextItem enumerations can be logically 914 OR'ed together to more efficiently retrieve multiple symbol objects. 915 """ 916 return _lldb.SBAddress_GetModule(self)
917
918 - def GetCompileUnit(self):
919 """GetCompileUnit(SBAddress self) -> SBCompileUnit""" 920 return _lldb.SBAddress_GetCompileUnit(self)
921
922 - def GetFunction(self):
923 """GetFunction(SBAddress self) -> SBFunction""" 924 return _lldb.SBAddress_GetFunction(self)
925
926 - def GetBlock(self):
927 """GetBlock(SBAddress self) -> SBBlock""" 928 return _lldb.SBAddress_GetBlock(self)
929
930 - def GetSymbol(self):
931 """GetSymbol(SBAddress self) -> SBSymbol""" 932 return _lldb.SBAddress_GetSymbol(self)
933
934 - def GetLineEntry(self):
935 """GetLineEntry(SBAddress self) -> SBLineEntry""" 936 return _lldb.SBAddress_GetLineEntry(self)
937
938 - def __get_load_addr_property__ (self):
939 '''Get the load address for a lldb.SBAddress using the current target.''' 940 return self.GetLoadAddress (target)
941
942 - def __set_load_addr_property__ (self, load_addr):
943 '''Set the load address for a lldb.SBAddress using the current target.''' 944 return self.SetLoadAddress (load_addr, target)
945
946 - def __int__(self):
947 '''Convert an address to a load address if there is a process and that process is alive, or to a file address otherwise.''' 948 if process.is_alive: 949 return self.GetLoadAddress (target) 950 else: 951 return self.GetFileAddress ()
952
953 - def __oct__(self):
954 '''Convert the address to an octal string''' 955 return '%o' % int(self)
956
957 - def __hex__(self):
958 '''Convert the address to an hex string''' 959 return '0x%x' % int(self)
960 961 __swig_getmethods__["module"] = GetModule 962 if _newclass: 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.''') 963 964 __swig_getmethods__["compile_unit"] = GetCompileUnit 965 if _newclass: 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.''') 966 967 __swig_getmethods__["line_entry"] = GetLineEntry 968 if _newclass: 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.''') 969 970 __swig_getmethods__["function"] = GetFunction 971 if _newclass: 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.''') 972 973 __swig_getmethods__["block"] = GetBlock 974 if _newclass: 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.''') 975 976 __swig_getmethods__["symbol"] = GetSymbol 977 if _newclass: 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.''') 978 979 __swig_getmethods__["offset"] = GetOffset 980 if _newclass: offset = property(GetOffset, None, doc='''A read only property that returns the section offset in bytes as an integer.''') 981 982 __swig_getmethods__["section"] = GetSection 983 if _newclass: 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.''') 984 985 __swig_getmethods__["file_addr"] = GetFileAddress 986 if _newclass: 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.''') 987 988 __swig_getmethods__["load_addr"] = __get_load_addr_property__ 989 __swig_setmethods__["load_addr"] = __set_load_addr_property__ 990 if _newclass: 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.''') 991 992
993 - def __str__(self):
994 """__str__(SBAddress self) -> PyObject *""" 995 return _lldb.SBAddress___str__(self)
996 997 SBAddress_swigregister = _lldb.SBAddress_swigregister 998 SBAddress_swigregister(SBAddress)
999 1000 -class SBAttachInfo(_object):
1001 """Proxy of C++ lldb::SBAttachInfo class""" 1002 __swig_setmethods__ = {} 1003 __setattr__ = lambda self, name, value: _swig_setattr(self, SBAttachInfo, name, value) 1004 __swig_getmethods__ = {} 1005 __getattr__ = lambda self, name: _swig_getattr(self, SBAttachInfo, name) 1006 __repr__ = _swig_repr
1007 - def __init__(self, *args):
1008 """ 1009 __init__(lldb::SBAttachInfo self) -> SBAttachInfo 1010 __init__(lldb::SBAttachInfo self, lldb::pid_t pid) -> SBAttachInfo 1011 __init__(lldb::SBAttachInfo self, str const * path, bool wait_for) -> SBAttachInfo 1012 __init__(lldb::SBAttachInfo self, str const * path, bool wait_for, bool async) -> SBAttachInfo 1013 __init__(lldb::SBAttachInfo self, SBAttachInfo rhs) -> SBAttachInfo 1014 """ 1015 this = _lldb.new_SBAttachInfo(*args) 1016 try: self.this.append(this) 1017 except: self.this = this
1018 - def GetProcessID(self):
1019 """GetProcessID(SBAttachInfo self) -> lldb::pid_t""" 1020 return _lldb.SBAttachInfo_GetProcessID(self)
1021
1022 - def SetProcessID(self, *args):
1023 """SetProcessID(SBAttachInfo self, lldb::pid_t pid)""" 1024 return _lldb.SBAttachInfo_SetProcessID(self, *args)
1025
1026 - def SetExecutable(self, *args):
1027 """ 1028 SetExecutable(SBAttachInfo self, str const * path) 1029 SetExecutable(SBAttachInfo self, SBFileSpec exe_file) 1030 """ 1031 return _lldb.SBAttachInfo_SetExecutable(self, *args)
1032
1033 - def GetWaitForLaunch(self):
1034 """GetWaitForLaunch(SBAttachInfo self) -> bool""" 1035 return _lldb.SBAttachInfo_GetWaitForLaunch(self)
1036
1037 - def SetWaitForLaunch(self, *args):
1038 """ 1039 SetWaitForLaunch(SBAttachInfo self, bool b) 1040 SetWaitForLaunch(SBAttachInfo self, bool b, bool async) 1041 """ 1042 return _lldb.SBAttachInfo_SetWaitForLaunch(self, *args)
1043
1044 - def GetIgnoreExisting(self):
1045 """GetIgnoreExisting(SBAttachInfo self) -> bool""" 1046 return _lldb.SBAttachInfo_GetIgnoreExisting(self)
1047
1048 - def SetIgnoreExisting(self, *args):
1049 """SetIgnoreExisting(SBAttachInfo self, bool b)""" 1050 return _lldb.SBAttachInfo_SetIgnoreExisting(self, *args)
1051
1052 - def GetResumeCount(self):
1053 """GetResumeCount(SBAttachInfo self) -> uint32_t""" 1054 return _lldb.SBAttachInfo_GetResumeCount(self)
1055
1056 - def SetResumeCount(self, *args):
1057 """SetResumeCount(SBAttachInfo self, uint32_t c)""" 1058 return _lldb.SBAttachInfo_SetResumeCount(self, *args)
1059
1060 - def GetProcessPluginName(self):
1061 """GetProcessPluginName(SBAttachInfo self) -> str const *""" 1062 return _lldb.SBAttachInfo_GetProcessPluginName(self)
1063
1064 - def SetProcessPluginName(self, *args):
1065 """SetProcessPluginName(SBAttachInfo self, str const * plugin_name)""" 1066 return _lldb.SBAttachInfo_SetProcessPluginName(self, *args)
1067
1068 - def GetUserID(self):
1069 """GetUserID(SBAttachInfo self) -> uint32_t""" 1070 return _lldb.SBAttachInfo_GetUserID(self)
1071
1072 - def GetGroupID(self):
1073 """GetGroupID(SBAttachInfo self) -> uint32_t""" 1074 return _lldb.SBAttachInfo_GetGroupID(self)
1075
1076 - def UserIDIsValid(self):
1077 """UserIDIsValid(SBAttachInfo self) -> bool""" 1078 return _lldb.SBAttachInfo_UserIDIsValid(self)
1079
1080 - def GroupIDIsValid(self):
1081 """GroupIDIsValid(SBAttachInfo self) -> bool""" 1082 return _lldb.SBAttachInfo_GroupIDIsValid(self)
1083
1084 - def SetUserID(self, *args):
1085 """SetUserID(SBAttachInfo self, uint32_t uid)""" 1086 return _lldb.SBAttachInfo_SetUserID(self, *args)
1087
1088 - def SetGroupID(self, *args):
1089 """SetGroupID(SBAttachInfo self, uint32_t gid)""" 1090 return _lldb.SBAttachInfo_SetGroupID(self, *args)
1091
1092 - def GetEffectiveUserID(self):
1093 """GetEffectiveUserID(SBAttachInfo self) -> uint32_t""" 1094 return _lldb.SBAttachInfo_GetEffectiveUserID(self)
1095
1096 - def GetEffectiveGroupID(self):
1097 """GetEffectiveGroupID(SBAttachInfo self) -> uint32_t""" 1098 return _lldb.SBAttachInfo_GetEffectiveGroupID(self)
1099
1100 - def EffectiveUserIDIsValid(self):
1101 """EffectiveUserIDIsValid(SBAttachInfo self) -> bool""" 1102 return _lldb.SBAttachInfo_EffectiveUserIDIsValid(self)
1103
1104 - def EffectiveGroupIDIsValid(self):
1105 """EffectiveGroupIDIsValid(SBAttachInfo self) -> bool""" 1106 return _lldb.SBAttachInfo_EffectiveGroupIDIsValid(self)
1107
1108 - def SetEffectiveUserID(self, *args):
1109 """SetEffectiveUserID(SBAttachInfo self, uint32_t uid)""" 1110 return _lldb.SBAttachInfo_SetEffectiveUserID(self, *args)
1111
1112 - def SetEffectiveGroupID(self, *args):
1113 """SetEffectiveGroupID(SBAttachInfo self, uint32_t gid)""" 1114 return _lldb.SBAttachInfo_SetEffectiveGroupID(self, *args)
1115
1116 - def GetParentProcessID(self):
1117 """GetParentProcessID(SBAttachInfo self) -> lldb::pid_t""" 1118 return _lldb.SBAttachInfo_GetParentProcessID(self)
1119
1120 - def SetParentProcessID(self, *args):
1121 """SetParentProcessID(SBAttachInfo self, lldb::pid_t pid)""" 1122 return _lldb.SBAttachInfo_SetParentProcessID(self, *args)
1123
1124 - def ParentProcessIDIsValid(self):
1125 """ParentProcessIDIsValid(SBAttachInfo self) -> bool""" 1126 return _lldb.SBAttachInfo_ParentProcessIDIsValid(self)
1127
1128 - def GetListener(self):
1129 """GetListener(SBAttachInfo self) -> SBListener""" 1130 return _lldb.SBAttachInfo_GetListener(self)
1131
1132 - def SetListener(self, *args):
1133 """SetListener(SBAttachInfo self, SBListener listener)""" 1134 return _lldb.SBAttachInfo_SetListener(self, *args)
1135 1136 __swig_destroy__ = _lldb.delete_SBAttachInfo 1137 __del__ = lambda self : None; 1138 SBAttachInfo_swigregister = _lldb.SBAttachInfo_swigregister 1139 SBAttachInfo_swigregister(SBAttachInfo)
1140 1141 -class SBBlock(_object):
1142 """Represents a lexical block. SBFunction contains SBBlock(s).""" 1143 __swig_setmethods__ = {} 1144 __setattr__ = lambda self, name, value: _swig_setattr(self, SBBlock, name, value) 1145 __swig_getmethods__ = {} 1146 __getattr__ = lambda self, name: _swig_getattr(self, SBBlock, name) 1147 __repr__ = _swig_repr
1148 - def __init__(self, *args):
1149 """ 1150 __init__(lldb::SBBlock self) -> SBBlock 1151 __init__(lldb::SBBlock self, SBBlock rhs) -> SBBlock 1152 """ 1153 this = _lldb.new_SBBlock(*args) 1154 try: self.this.append(this) 1155 except: self.this = this
1156 __swig_destroy__ = _lldb.delete_SBBlock 1157 __del__ = lambda self : None;
1158 - def IsInlined(self):
1159 """ 1160 IsInlined(SBBlock self) -> bool 1161 1162 Does this block represent an inlined function? 1163 """ 1164 return _lldb.SBBlock_IsInlined(self)
1165
1166 - def __nonzero__(self): return self.IsValid()
1167 - def IsValid(self):
1168 """IsValid(SBBlock self) -> bool""" 1169 return _lldb.SBBlock_IsValid(self)
1170
1171 - def GetInlinedName(self):
1172 """ 1173 GetInlinedName(SBBlock self) -> str const * 1174 1175 Get the function name if this block represents an inlined function; 1176 otherwise, return None. 1177 """ 1178 return _lldb.SBBlock_GetInlinedName(self)
1179
1180 - def GetInlinedCallSiteFile(self):
1181 """ 1182 GetInlinedCallSiteFile(SBBlock self) -> SBFileSpec 1183 1184 Get the call site file if this block represents an inlined function; 1185 otherwise, return an invalid file spec. 1186 """ 1187 return _lldb.SBBlock_GetInlinedCallSiteFile(self)
1188
1189 - def GetInlinedCallSiteLine(self):
1190 """ 1191 GetInlinedCallSiteLine(SBBlock self) -> uint32_t 1192 1193 Get the call site line if this block represents an inlined function; 1194 otherwise, return 0. 1195 """ 1196 return _lldb.SBBlock_GetInlinedCallSiteLine(self)
1197
1198 - def GetInlinedCallSiteColumn(self):
1199 """ 1200 GetInlinedCallSiteColumn(SBBlock self) -> uint32_t 1201 1202 Get the call site column if this block represents an inlined function; 1203 otherwise, return 0. 1204 """ 1205 return _lldb.SBBlock_GetInlinedCallSiteColumn(self)
1206
1207 - def GetParent(self):
1208 """ 1209 GetParent(SBBlock self) -> SBBlock 1210 1211 Get the parent block. 1212 """ 1213 return _lldb.SBBlock_GetParent(self)
1214
1215 - def GetContainingInlinedBlock(self):
1216 """ 1217 GetContainingInlinedBlock(SBBlock self) -> SBBlock 1218 1219 Get the inlined block that is or contains this block. 1220 """ 1221 return _lldb.SBBlock_GetContainingInlinedBlock(self)
1222
1223 - def GetSibling(self):
1224 """ 1225 GetSibling(SBBlock self) -> SBBlock 1226 1227 Get the sibling block for this block. 1228 """ 1229 return _lldb.SBBlock_GetSibling(self)
1230
1231 - def GetFirstChild(self):
1232 """ 1233 GetFirstChild(SBBlock self) -> SBBlock 1234 1235 Get the first child block. 1236 """ 1237 return _lldb.SBBlock_GetFirstChild(self)
1238
1239 - def GetNumRanges(self):
1240 """GetNumRanges(SBBlock self) -> uint32_t""" 1241 return _lldb.SBBlock_GetNumRanges(self)
1242
1243 - def GetRangeStartAddress(self, *args):
1244 """GetRangeStartAddress(SBBlock self, uint32_t idx) -> SBAddress""" 1245 return _lldb.SBBlock_GetRangeStartAddress(self, *args)
1246
1247 - def GetRangeEndAddress(self, *args):
1248 """GetRangeEndAddress(SBBlock self, uint32_t idx) -> SBAddress""" 1249 return _lldb.SBBlock_GetRangeEndAddress(self, *args)
1250
1251 - def GetRangeIndexForBlockAddress(self, *args):
1252 """GetRangeIndexForBlockAddress(SBBlock self, SBAddress block_addr) -> uint32_t""" 1253 return _lldb.SBBlock_GetRangeIndexForBlockAddress(self, *args)
1254
1255 - def GetDescription(self, *args):
1256 """GetDescription(SBBlock self, SBStream description) -> bool""" 1257 return _lldb.SBBlock_GetDescription(self, *args)
1258
1259 - def GetVariables(self, *args):
1260 """ 1261 GetVariables(SBBlock self, SBFrame frame, bool arguments, bool locals, bool statics, lldb::DynamicValueType use_dynamic) -> SBValueList 1262 GetVariables(SBBlock self, SBTarget target, bool arguments, bool locals, bool statics) -> SBValueList 1263 """ 1264 return _lldb.SBBlock_GetVariables(self, *args)
1265
1266 - def get_range_at_index(self, idx):
1267 if idx < self.GetNumRanges(): 1268 return [self.GetRangeStartAddress(idx), self.GetRangeEndAddress(idx)] 1269 return []
1270
1271 - class ranges_access(object):
1272 '''A helper object that will lazily hand out an array of lldb.SBAddress that represent address ranges for a block.'''
1273 - def __init__(self, sbblock):
1274 self.sbblock = sbblock
1275
1276 - def __len__(self):
1277 if self.sbblock: 1278 return int(self.sbblock.GetNumRanges()) 1279 return 0
1280
1281 - def __getitem__(self, key):
1282 count = len(self) 1283 if type(key) is int: 1284 return self.sbblock.get_range_at_index (key); 1285 if isinstance(key, SBAddress): 1286 range_idx = self.sbblock.GetRangeIndexForBlockAddress(key); 1287 if range_idx < len(self): 1288 return [self.sbblock.GetRangeStartAddress(range_idx), self.sbblock.GetRangeEndAddress(range_idx)] 1289 else: 1290 print("error: unsupported item type: %s" % type(key)) 1291 return None
1292
1293 - def get_ranges_access_object(self):
1294 '''An accessor function that returns a ranges_access() object which allows lazy block address ranges access.''' 1295 return self.ranges_access (self)
1296
1297 - def get_ranges_array(self):
1298 '''An accessor function that returns an array object that contains all ranges in this block object.''' 1299 if not hasattr(self, 'ranges_array'): 1300 self.ranges_array = [] 1301 for idx in range(self.num_ranges): 1302 self.ranges_array.append ([self.GetRangeStartAddress(idx), self.GetRangeEndAddress(idx)]) 1303 return self.ranges_array
1304
1305 - def get_call_site(self):
1306 return declaration(self.GetInlinedCallSiteFile(), self.GetInlinedCallSiteLine(), self.GetInlinedCallSiteColumn())
1307 1308 __swig_getmethods__["parent"] = GetParent 1309 if _newclass: parent = property(GetParent, None, doc='''A read only property that returns the same result as GetParent().''') 1310 1311 __swig_getmethods__["first_child"] = GetFirstChild 1312 if _newclass: first_child = property(GetFirstChild, None, doc='''A read only property that returns the same result as GetFirstChild().''') 1313 1314 __swig_getmethods__["call_site"] = get_call_site 1315 if _newclass: 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.''') 1316 1317 __swig_getmethods__["sibling"] = GetSibling 1318 if _newclass: sibling = property(GetSibling, None, doc='''A read only property that returns the same result as GetSibling().''') 1319 1320 __swig_getmethods__["name"] = GetInlinedName 1321 if _newclass: name = property(GetInlinedName, None, doc='''A read only property that returns the same result as GetInlinedName().''') 1322 1323 __swig_getmethods__["inlined_block"] = GetContainingInlinedBlock 1324 if _newclass: inlined_block = property(GetContainingInlinedBlock, None, doc='''A read only property that returns the same result as GetContainingInlinedBlock().''') 1325 1326 __swig_getmethods__["range"] = get_ranges_access_object 1327 if _newclass: 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]").''') 1328 1329 __swig_getmethods__["ranges"] = get_ranges_array 1330 if _newclass: 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.''') 1331 1332 __swig_getmethods__["num_ranges"] = GetNumRanges 1333 if _newclass: num_ranges = property(GetNumRanges, None, doc='''A read only property that returns the same result as GetNumRanges().''') 1334
1335 - def __str__(self):
1336 """__str__(SBBlock self) -> PyObject *""" 1337 return _lldb.SBBlock___str__(self)
1338 1339 SBBlock_swigregister = _lldb.SBBlock_swigregister 1340 SBBlock_swigregister(SBBlock)
1341 1342 -class SBBreakpoint(_object):
1343 """ 1344 Represents a logical breakpoint and its associated settings. 1345 1346 For example (from test/functionalities/breakpoint/breakpoint_ignore_count/ 1347 TestBreakpointIgnoreCount.py), 1348 1349 def breakpoint_ignore_count_python(self): 1350 '''Use Python APIs to set breakpoint ignore count.''' 1351 exe = os.path.join(os.getcwd(), 'a.out') 1352 1353 # Create a target by the debugger. 1354 target = self.dbg.CreateTarget(exe) 1355 self.assertTrue(target, VALID_TARGET) 1356 1357 # Now create a breakpoint on main.c by name 'c'. 1358 breakpoint = target.BreakpointCreateByName('c', 'a.out') 1359 self.assertTrue(breakpoint and 1360 breakpoint.GetNumLocations() == 1, 1361 VALID_BREAKPOINT) 1362 1363 # Get the breakpoint location from breakpoint after we verified that, 1364 # indeed, it has one location. 1365 location = breakpoint.GetLocationAtIndex(0) 1366 self.assertTrue(location and 1367 location.IsEnabled(), 1368 VALID_BREAKPOINT_LOCATION) 1369 1370 # Set the ignore count on the breakpoint location. 1371 location.SetIgnoreCount(2) 1372 self.assertTrue(location.GetIgnoreCount() == 2, 1373 'SetIgnoreCount() works correctly') 1374 1375 # Now launch the process, and do not stop at entry point. 1376 process = target.LaunchSimple(None, None, os.getcwd()) 1377 self.assertTrue(process, PROCESS_IS_VALID) 1378 1379 # Frame#0 should be on main.c:37, frame#1 should be on main.c:25, and 1380 # frame#2 should be on main.c:48. 1381 #lldbutil.print_stacktraces(process) 1382 from lldbutil import get_stopped_thread 1383 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint) 1384 self.assertTrue(thread != None, 'There should be a thread stopped due to breakpoint') 1385 frame0 = thread.GetFrameAtIndex(0) 1386 frame1 = thread.GetFrameAtIndex(1) 1387 frame2 = thread.GetFrameAtIndex(2) 1388 self.assertTrue(frame0.GetLineEntry().GetLine() == self.line1 and 1389 frame1.GetLineEntry().GetLine() == self.line3 and 1390 frame2.GetLineEntry().GetLine() == self.line4, 1391 STOPPED_DUE_TO_BREAKPOINT_IGNORE_COUNT) 1392 1393 # The hit count for the breakpoint should be 3. 1394 self.assertTrue(breakpoint.GetHitCount() == 3) 1395 1396 process.Continue() 1397 1398 SBBreakpoint supports breakpoint location iteration, for example, 1399 1400 for bl in breakpoint: 1401 print('breakpoint location load addr: %s' % hex(bl.GetLoadAddress())) 1402 print('breakpoint location condition: %s' % hex(bl.GetCondition())) 1403 1404 and rich comparion methods which allow the API program to use, 1405 1406 if aBreakpoint == bBreakpoint: 1407 ... 1408 1409 to compare two breakpoints for equality. 1410 """ 1411 __swig_setmethods__ = {} 1412 __setattr__ = lambda self, name, value: _swig_setattr(self, SBBreakpoint, name, value) 1413 __swig_getmethods__ = {} 1414 __getattr__ = lambda self, name: _swig_getattr(self, SBBreakpoint, name) 1415 __repr__ = _swig_repr
1416 - def __iter__(self): return lldb_iter(self, 'GetNumLocations', 'GetLocationAtIndex')
1417 - def __len__(self): return self.GetNumLocations()
1418 - def __eq__(self, other): return isinstance(other, SBBreakpoint) and self.GetID() == other.GetID()
1419 - def __ne__(self, other): return not self.__eq__(other)
1420 - def __init__(self, *args):
1421 """ 1422 __init__(lldb::SBBreakpoint self) -> SBBreakpoint 1423 __init__(lldb::SBBreakpoint self, SBBreakpoint rhs) -> SBBreakpoint 1424 """ 1425 this = _lldb.new_SBBreakpoint(*args) 1426 try: self.this.append(this) 1427 except: self.this = this
1428 __swig_destroy__ = _lldb.delete_SBBreakpoint 1429 __del__ = lambda self : None;
1430 - def GetID(self):
1431 """GetID(SBBreakpoint self) -> lldb::break_id_t""" 1432 return _lldb.SBBreakpoint_GetID(self)
1433
1434 - def __nonzero__(self): return self.IsValid()
1435 - def IsValid(self):
1436 """IsValid(SBBreakpoint self) -> bool""" 1437 return _lldb.SBBreakpoint_IsValid(self)
1438
1439 - def ClearAllBreakpointSites(self):
1440 """ClearAllBreakpointSites(SBBreakpoint self)""" 1441 return _lldb.SBBreakpoint_ClearAllBreakpointSites(self)
1442
1443 - def FindLocationByAddress(self, *args):
1444 """FindLocationByAddress(SBBreakpoint self, lldb::addr_t vm_addr) -> SBBreakpointLocation""" 1445 return _lldb.SBBreakpoint_FindLocationByAddress(self, *args)
1446
1447 - def FindLocationIDByAddress(self, *args):
1448 """FindLocationIDByAddress(SBBreakpoint self, lldb::addr_t vm_addr) -> lldb::break_id_t""" 1449 return _lldb.SBBreakpoint_FindLocationIDByAddress(self, *args)
1450
1451 - def FindLocationByID(self, *args):
1452 """FindLocationByID(SBBreakpoint self, lldb::break_id_t bp_loc_id) -> SBBreakpointLocation""" 1453 return _lldb.SBBreakpoint_FindLocationByID(self, *args)
1454
1455 - def GetLocationAtIndex(self, *args):
1456 """GetLocationAtIndex(SBBreakpoint self, uint32_t index) -> SBBreakpointLocation""" 1457 return _lldb.SBBreakpoint_GetLocationAtIndex(self, *args)
1458
1459 - def SetEnabled(self, *args):
1460 """SetEnabled(SBBreakpoint self, bool enable)""" 1461 return _lldb.SBBreakpoint_SetEnabled(self, *args)
1462
1463 - def IsEnabled(self):
1464 """IsEnabled(SBBreakpoint self) -> bool""" 1465 return _lldb.SBBreakpoint_IsEnabled(self)
1466
1467 - def SetOneShot(self, *args):
1468 """SetOneShot(SBBreakpoint self, bool one_shot)""" 1469 return _lldb.SBBreakpoint_SetOneShot(self, *args)
1470
1471 - def IsOneShot(self):
1472 """IsOneShot(SBBreakpoint self) -> bool""" 1473 return _lldb.SBBreakpoint_IsOneShot(self)
1474
1475 - def IsInternal(self):
1476 """IsInternal(SBBreakpoint self) -> bool""" 1477 return _lldb.SBBreakpoint_IsInternal(self)
1478
1479 - def GetHitCount(self):
1480 """GetHitCount(SBBreakpoint self) -> uint32_t""" 1481 return _lldb.SBBreakpoint_GetHitCount(self)
1482
1483 - def SetIgnoreCount(self, *args):
1484 """SetIgnoreCount(SBBreakpoint self, uint32_t count)""" 1485 return _lldb.SBBreakpoint_SetIgnoreCount(self, *args)
1486
1487 - def GetIgnoreCount(self):
1488 """GetIgnoreCount(SBBreakpoint self) -> uint32_t""" 1489 return _lldb.SBBreakpoint_GetIgnoreCount(self)
1490
1491 - def SetCondition(self, *args):
1492 """ 1493 SetCondition(SBBreakpoint self, str const * condition) 1494 1495 The breakpoint stops only if the condition expression evaluates to true. 1496 """ 1497 return _lldb.SBBreakpoint_SetCondition(self, *args)
1498
1499 - def GetCondition(self):
1500 """ 1501 GetCondition(SBBreakpoint self) -> str const * 1502 1503 Get the condition expression for the breakpoint. 1504 """ 1505 return _lldb.SBBreakpoint_GetCondition(self)
1506
1507 - def SetThreadID(self, *args):
1508 """SetThreadID(SBBreakpoint self, lldb::tid_t sb_thread_id)""" 1509 return _lldb.SBBreakpoint_SetThreadID(self, *args)
1510
1511 - def GetThreadID(self):
1512 """GetThreadID(SBBreakpoint self) -> lldb::tid_t""" 1513 return _lldb.SBBreakpoint_GetThreadID(self)
1514
1515 - def SetThreadIndex(self, *args):
1516 """SetThreadIndex(SBBreakpoint self, uint32_t index)""" 1517 return _lldb.SBBreakpoint_SetThreadIndex(self, *args)
1518
1519 - def GetThreadIndex(self):
1520 """GetThreadIndex(SBBreakpoint self) -> uint32_t""" 1521 return _lldb.SBBreakpoint_GetThreadIndex(self)
1522
1523 - def SetThreadName(self, *args):
1524 """SetThreadName(SBBreakpoint self, str const * thread_name)""" 1525 return _lldb.SBBreakpoint_SetThreadName(self, *args)
1526
1527 - def GetThreadName(self):
1528 """GetThreadName(SBBreakpoint self) -> str const *""" 1529 return _lldb.SBBreakpoint_GetThreadName(self)
1530
1531 - def SetQueueName(self, *args):
1532 """SetQueueName(SBBreakpoint self, str const * queue_name)""" 1533 return _lldb.SBBreakpoint_SetQueueName(self, *args)
1534
1535 - def GetQueueName(self):
1536 """GetQueueName(SBBreakpoint self) -> str const *""" 1537 return _lldb.SBBreakpoint_GetQueueName(self)
1538
1539 - def SetScriptCallbackFunction(self, *args):
1540 """ 1541 SetScriptCallbackFunction(SBBreakpoint self, str const * callback_function_name) 1542 1543 Set the name of the script function to be called when the breakpoint is hit. 1544 """ 1545 return _lldb.SBBreakpoint_SetScriptCallbackFunction(self, *args)
1546
1547 - def SetScriptCallbackBody(self, *args):
1548 """ 1549 SetScriptCallbackBody(SBBreakpoint self, str const * script_body_text) -> SBError 1550 1551 Provide the body for the script function to be called when the breakpoint is hit. 1552 The body will be wrapped in a function, which be passed two arguments: 1553 'frame' - which holds the bottom-most SBFrame of the thread that hit the breakpoint 1554 'bpno' - which is the SBBreakpointLocation to which the callback was attached. 1555 1556 The error parameter is currently ignored, but will at some point hold the Python 1557 compilation diagnostics. 1558 Returns true if the body compiles successfully, false if not. 1559 """ 1560 return _lldb.SBBreakpoint_SetScriptCallbackBody(self, *args)
1561
1562 - def SetCommandLineCommands(self, *args):
1563 """SetCommandLineCommands(SBBreakpoint self, SBStringList commands)""" 1564 return _lldb.SBBreakpoint_SetCommandLineCommands(self, *args)
1565
1566 - def GetCommandLineCommands(self, *args):
1567 """GetCommandLineCommands(SBBreakpoint self, SBStringList commands) -> bool""" 1568 return _lldb.SBBreakpoint_GetCommandLineCommands(self, *args)
1569
1570 - def AddName(self, *args):
1571 """AddName(SBBreakpoint self, str const * new_name) -> bool""" 1572 return _lldb.SBBreakpoint_AddName(self, *args)
1573
1574 - def RemoveName(self, *args):
1575 """RemoveName(SBBreakpoint self, str const * name_to_remove)""" 1576 return _lldb.SBBreakpoint_RemoveName(self, *args)
1577
1578 - def MatchesName(self, *args):
1579 """MatchesName(SBBreakpoint self, str const * name) -> bool""" 1580 return _lldb.SBBreakpoint_MatchesName(self, *args)
1581
1582 - def GetNames(self, *args):
1583 """GetNames(SBBreakpoint self, SBStringList names)""" 1584 return _lldb.SBBreakpoint_GetNames(self, *args)
1585
1586 - def GetNumResolvedLocations(self):
1587 """GetNumResolvedLocations(SBBreakpoint self) -> size_t""" 1588 return _lldb.SBBreakpoint_GetNumResolvedLocations(self)
1589
1590 - def GetNumLocations(self):
1591 """GetNumLocations(SBBreakpoint self) -> size_t""" 1592 return _lldb.SBBreakpoint_GetNumLocations(self)
1593
1594 - def GetDescription(self, *args):
1595 """ 1596 GetDescription(SBBreakpoint self, SBStream description) -> bool 1597 GetDescription(SBBreakpoint self, SBStream description, bool include_locations) -> bool 1598 """ 1599 return _lldb.SBBreakpoint_GetDescription(self, *args)
1600
1601 - def __eq__(self, *args):
1602 """__eq__(SBBreakpoint self, SBBreakpoint rhs) -> bool""" 1603 return _lldb.SBBreakpoint___eq__(self, *args)
1604
1605 - def __ne__(self, *args):
1606 """__ne__(SBBreakpoint self, SBBreakpoint rhs) -> bool""" 1607 return _lldb.SBBreakpoint___ne__(self, *args)
1608
1609 - def EventIsBreakpointEvent(*args):
1610 """EventIsBreakpointEvent(SBEvent event) -> bool""" 1611 return _lldb.SBBreakpoint_EventIsBreakpointEvent(*args)
1612 1613 if _newclass:EventIsBreakpointEvent = staticmethod(EventIsBreakpointEvent) 1614 __swig_getmethods__["EventIsBreakpointEvent"] = lambda x: EventIsBreakpointEvent
1615 - def GetBreakpointEventTypeFromEvent(*args):
1616 """GetBreakpointEventTypeFromEvent(SBEvent event) -> lldb::BreakpointEventType""" 1617 return _lldb.SBBreakpoint_GetBreakpointEventTypeFromEvent(*args)
1618 1619 if _newclass:GetBreakpointEventTypeFromEvent = staticmethod(GetBreakpointEventTypeFromEvent) 1620 __swig_getmethods__["GetBreakpointEventTypeFromEvent"] = lambda x: GetBreakpointEventTypeFromEvent
1621