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