LLDB mainline
ScriptInterpreter.h
Go to the documentation of this file.
1//===-- ScriptInterpreter.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_INTERPRETER_SCRIPTINTERPRETER_H
10#define LLDB_INTERPRETER_SCRIPTINTERPRETER_H
11
14#include "lldb/API/SBData.h"
15#include "lldb/API/SBError.h"
16#include "lldb/API/SBEvent.h"
19#include "lldb/API/SBStream.h"
32#include "lldb/Utility/Status.h"
34#include "lldb/lldb-private.h"
35#include <optional>
36
37namespace lldb_private {
38
40public:
42
43 virtual ~ScriptInterpreterLocker() = default;
44
45private:
49};
50
52public:
54
55 bool GetEnableIO() const { return m_enable_io; }
56
57 bool GetSetLLDBGlobals() const { return m_set_lldb_globals; }
58
59 // If this is true then any exceptions raised by the script will be
60 // cleared with PyErr_Clear(). If false then they will be left for
61 // the caller to clean up
62 bool GetMaskoutErrors() const { return m_maskout_errors; }
63
65 m_enable_io = enable;
66 return *this;
67 }
68
71 return *this;
72 }
73
75 m_maskout_errors = maskout;
76 return *this;
77 }
78
79private:
80 bool m_enable_io = true;
81 bool m_set_lldb_globals = true;
82 bool m_maskout_errors = true;
83};
84
86public:
87 LoadScriptOptions() = default;
88
89 bool GetInitSession() const { return m_init_session; }
90 bool GetSilent() const { return m_silent; }
91
94 return *this;
95 }
96
98 m_silent = b;
99 return *this;
100 }
101
102private:
103 bool m_init_session = false;
104 bool m_silent = false;
105};
106
108public:
109 /// Create an IO redirect. If IO is enabled, this will redirects the output
110 /// to the command return object if set or to the debugger otherwise. If IO
111 /// is disabled, it will redirect all IO to /dev/null.
112 static llvm::Expected<std::unique_ptr<ScriptInterpreterIORedirect>>
113 Create(bool enable_io, Debugger &debugger, CommandReturnObject *result);
114
116
118 lldb::FileSP GetOutputFile() const { return m_output_file_sp->GetFileSP(); }
119 lldb::FileSP GetErrorFile() const { return m_error_file_sp->GetFileSP(); }
120
121 /// Flush our output and error file handles.
122 void Flush();
123
124private:
125 ScriptInterpreterIORedirect(std::unique_ptr<File> input,
126 std::unique_ptr<File> output);
128
134};
135
137public:
154 };
155
156 ScriptInterpreter(Debugger &debugger, lldb::ScriptLanguage script_lang);
157
159
160 ~ScriptInterpreter() override = default;
161
162 virtual bool Interrupt() { return false; }
163
164 virtual bool ExecuteOneLine(
165 llvm::StringRef command, CommandReturnObject *result,
166 const ExecuteScriptOptions &options = ExecuteScriptOptions()) = 0;
167
168 virtual void ExecuteInterpreterLoop() = 0;
169
171 llvm::StringRef in_string, ScriptReturnType return_type, void *ret_value,
172 const ExecuteScriptOptions &options = ExecuteScriptOptions()) {
173 return true;
174 }
175
177 const char *in_string,
178 const ExecuteScriptOptions &options = ExecuteScriptOptions()) {
180 error.SetErrorString("not implemented");
181 return error;
182 }
183
184 virtual Status
187 error.SetErrorString("not implemented");
188 return error;
189 }
190
192 std::string &output,
193 bool has_extra_args,
194 bool is_callback) {
196 error.SetErrorString("not implemented");
197 return error;
198 }
199
201 std::string &output,
202 bool is_callback) {
203 return false;
204 }
205
206 virtual bool GenerateTypeScriptFunction(const char *oneliner,
207 std::string &output,
208 const void *name_token = nullptr) {
209 return false;
210 }
211
213 std::string &output,
214 const void *name_token = nullptr) {
215 return false;
216 }
217
219 std::string &output) {
220 return false;
221 }
222
223 virtual bool GenerateTypeSynthClass(StringList &input, std::string &output,
224 const void *name_token = nullptr) {
225 return false;
226 }
227
228 virtual bool GenerateTypeSynthClass(const char *oneliner, std::string &output,
229 const void *name_token = nullptr) {
230 return false;
231 }
232
234 CreateSyntheticScriptedProvider(const char *class_name,
235 lldb::ValueObjectSP valobj) {
237 }
238
240 CreateScriptCommandObject(const char *class_name) {
242 }
243
245 CreateFrameRecognizer(const char *class_name) {
247 }
248
250 const StructuredData::ObjectSP &implementor,
251 lldb::StackFrameSP frame_sp) {
253 }
254
256 CreateScriptedBreakpointResolver(const char *class_name,
257 const StructuredDataImpl &args_data,
258 lldb::BreakpointSP &bkpt_sp) {
260 }
261
262 virtual bool
264 SymbolContext *sym_ctx)
265 {
266 return false;
267 }
268
269 virtual lldb::SearchDepth
271 {
273 }
274
276 CreateScriptedStopHook(lldb::TargetSP target_sp, const char *class_name,
277 const StructuredDataImpl &args_data, Status &error) {
278 error.SetErrorString("Creating scripted stop-hooks with the current "
279 "script interpreter is not supported.");
281 }
282
283 // This dispatches to the handle_stop method of the stop-hook class. It
284 // returns a "should_stop" bool.
285 virtual bool
287 ExecutionContext &exc_ctx,
288 lldb::StreamSP stream_sp) {
289 return true;
290 }
291
295 }
296
299 const char *setting_name, lldb_private::Status &error) {
301 }
302
303 virtual Status GenerateFunction(const char *signature,
304 const StringList &input,
305 bool is_callback) {
307 error.SetErrorString("unimplemented");
308 return error;
309 }
310
312 std::vector<std::reference_wrapper<BreakpointOptions>> &options,
313 CommandReturnObject &result);
314
315 virtual void
317 CommandReturnObject &result);
318
319 /// Set the specified text as the callback for the breakpoint.
321 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,
322 const char *callback_text);
323
325 const char *callback_text,
326 bool is_callback) {
328 error.SetErrorString("unimplemented");
329 return error;
330 }
331
332 /// This one is for deserialization:
334 BreakpointOptions &bp_options,
335 std::unique_ptr<BreakpointOptions::CommandData> &data_up) {
337 error.SetErrorString("unimplemented");
338 return error;
339 }
340
342 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,
343 const char *function_name, StructuredData::ObjectSP extra_args_sp);
344
345 /// Set a script function as the callback for the breakpoint.
346 virtual Status
348 const char *function_name,
349 StructuredData::ObjectSP extra_args_sp) {
351 error.SetErrorString("unimplemented");
352 return error;
353 }
354
355 /// Set a one-liner as the callback for the watchpoint.
357 const char *user_input,
358 bool is_callback) {}
359
360 virtual bool GetScriptedSummary(const char *function_name,
361 lldb::ValueObjectSP valobj,
362 StructuredData::ObjectSP &callee_wrapper_sp,
363 const TypeSummaryOptions &options,
364 std::string &retval) {
365 return false;
366 }
367
368 // Calls the specified formatter matching Python function and returns its
369 // result (true if it's a match, false if we should keep looking for a
370 // matching formatter).
371 virtual bool FormatterCallbackFunction(const char *function_name,
372 lldb::TypeImplSP type_impl_sp) {
373 return true;
374 }
375
376 virtual void Clear() {
377 // Clean up any ref counts to SBObjects that might be in global variables
378 }
379
380 virtual size_t
382 uint32_t max) {
383 return 0;
384 }
385
386 virtual lldb::ValueObjectSP
387 GetChildAtIndex(const StructuredData::ObjectSP &implementor, uint32_t idx) {
388 return lldb::ValueObjectSP();
389 }
390
391 virtual int
393 const char *child_name) {
394 return UINT32_MAX;
395 }
396
397 virtual bool
399 return false;
400 }
401
403 const StructuredData::ObjectSP &implementor) {
404 return true;
405 }
406
407 virtual lldb::ValueObjectSP
409 return nullptr;
410 }
411
412 virtual ConstString
414 return ConstString();
415 }
416
417 virtual bool
418 RunScriptBasedCommand(const char *impl_function, llvm::StringRef args,
419 ScriptedCommandSynchronicity synchronicity,
421 Status &error,
422 const lldb_private::ExecutionContext &exe_ctx) {
423 return false;
424 }
425
427 StructuredData::GenericSP impl_obj_sp, llvm::StringRef args,
428 ScriptedCommandSynchronicity synchronicity,
430 const lldb_private::ExecutionContext &exe_ctx) {
431 return false;
432 }
433
435 StructuredData::GenericSP impl_obj_sp, Args& args,
436 ScriptedCommandSynchronicity synchronicity,
438 const lldb_private::ExecutionContext &exe_ctx) {
439 return false;
440 }
441
442 virtual std::optional<std::string>
444 Args &args) {
445 return std::nullopt;
446 }
447
448 virtual bool RunScriptFormatKeyword(const char *impl_function,
449 Process *process, std::string &output,
450 Status &error) {
451 error.SetErrorString("unimplemented");
452 return false;
453 }
454
455 virtual bool RunScriptFormatKeyword(const char *impl_function, Thread *thread,
456 std::string &output, Status &error) {
457 error.SetErrorString("unimplemented");
458 return false;
459 }
460
461 virtual bool RunScriptFormatKeyword(const char *impl_function, Target *target,
462 std::string &output, Status &error) {
463 error.SetErrorString("unimplemented");
464 return false;
465 }
466
467 virtual bool RunScriptFormatKeyword(const char *impl_function,
468 StackFrame *frame, std::string &output,
469 Status &error) {
470 error.SetErrorString("unimplemented");
471 return false;
472 }
473
474 virtual bool RunScriptFormatKeyword(const char *impl_function,
475 ValueObject *value, std::string &output,
476 Status &error) {
477 error.SetErrorString("unimplemented");
478 return false;
479 }
480
481 virtual bool GetDocumentationForItem(const char *item, std::string &dest) {
482 dest.clear();
483 return false;
484 }
485
486 virtual bool
488 std::string &dest) {
489 dest.clear();
490 return false;
491 }
492
495 return {};
496 }
497
500 return {};
501 }
502
504 StructuredData::GenericSP cmd_obj_sp, ExecutionContext *exe_ctx,
505 llvm::StringRef long_option, llvm::StringRef value) {
506 return false;
507 }
508
510 StructuredData::GenericSP cmd_obj_sp) {
511 return;
512 }
513
514 virtual uint32_t
516 return 0;
517 }
518
520 std::string &dest) {
521 dest.clear();
522 return false;
523 }
524
525 virtual bool CheckObjectExists(const char *name) { return false; }
526
527 virtual bool
528 LoadScriptingModule(const char *filename, const LoadScriptOptions &options,
530 StructuredData::ObjectSP *module_sp = nullptr,
531 FileSpec extra_search_dir = {});
532
533 virtual bool IsReservedWord(const char *word) { return false; }
534
535 virtual std::unique_ptr<ScriptInterpreterLocker> AcquireInterpreterLock();
536
538
539 virtual llvm::Expected<unsigned>
540 GetMaxPositionalArgumentsForCallable(const llvm::StringRef &callable_name) {
541 return llvm::createStringError(
542 llvm::inconvertibleErrorCode(), "Unimplemented function");
543 }
544
545 static std::string LanguageToString(lldb::ScriptLanguage language);
546
547 static lldb::ScriptLanguage StringToLanguage(const llvm::StringRef &string);
548
550
552 return {};
553 }
554
556 return {};
557 }
558
561 return {};
562 }
563
565 return {};
566 }
567
569 return {};
570 }
571
574 return {};
575 }
576
578 GetDataExtractorFromSBData(const lldb::SBData &data) const;
579
581
582 Event *GetOpaqueTypeFromSBEvent(const lldb::SBEvent &event) const;
583
585
587 GetOpaqueTypeFromSBBreakpoint(const lldb::SBBreakpoint &breakpoint) const;
588
590 GetOpaqueTypeFromSBAttachInfo(const lldb::SBAttachInfo &attach_info) const;
591
593 GetOpaqueTypeFromSBLaunchInfo(const lldb::SBLaunchInfo &launch_info) const;
594
595 std::optional<MemoryRegionInfo> GetOpaqueTypeFromSBMemoryRegionInfo(
596 const lldb::SBMemoryRegionInfo &mem_region) const;
597
598protected:
601};
602
603} // namespace lldb_private
604
605#endif // LLDB_INTERPRETER_SCRIPTINTERPRETER_H
static llvm::raw_ostream & error(Stream &strm)
A command line argument class.
Definition: Args.h:33
"lldb/Breakpoint/BreakpointOptions.h" Class that manages the options on a breakpoint or breakpoint lo...
A uniqued constant string class.
Definition: ConstString.h:40
A class to manage flag bits.
Definition: Debugger.h:80
ExecuteScriptOptions & SetMaskoutErrors(bool maskout)
ExecuteScriptOptions & SetSetLLDBGlobals(bool set)
ExecuteScriptOptions & SetEnableIO(bool enable)
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
A file utility class.
Definition: FileSpec.h:56
LoadScriptOptions & SetInitSession(bool b)
LoadScriptOptions & SetSilent(bool b)
A plug-in interface definition class for debugging a process.
Definition: Process.h:341
void Flush()
Flush our output and error file handles.
static llvm::Expected< std::unique_ptr< ScriptInterpreterIORedirect > > Create(bool enable_io, Debugger &debugger, CommandReturnObject *result)
Create an IO redirect.
const ScriptInterpreterLocker & operator=(const ScriptInterpreterLocker &)=delete
ScriptInterpreterLocker(const ScriptInterpreterLocker &)=delete
virtual ~ScriptInterpreterLocker()=default
virtual bool SetOptionValueForCommandObject(StructuredData::GenericSP cmd_obj_sp, ExecutionContext *exe_ctx, llvm::StringRef long_option, llvm::StringRef value)
static lldb::ScriptLanguage StringToLanguage(const llvm::StringRef &string)
virtual void CollectDataForBreakpointCommandCallback(std::vector< std::reference_wrapper< BreakpointOptions > > &options, CommandReturnObject &result)
virtual lldb::ValueObjectListSP GetRecognizedArguments(const StructuredData::ObjectSP &implementor, lldb::StackFrameSP frame_sp)
const char * GetScriptInterpreterPtyName()
lldb::ProcessAttachInfoSP GetOpaqueTypeFromSBAttachInfo(const lldb::SBAttachInfo &attach_info) const
virtual Status ExecuteMultipleLines(const char *in_string, const ExecuteScriptOptions &options=ExecuteScriptOptions())
virtual bool LoadScriptingModule(const char *filename, const LoadScriptOptions &options, lldb_private::Status &error, StructuredData::ObjectSP *module_sp=nullptr, FileSpec extra_search_dir={})
lldb::StreamSP GetOpaqueTypeFromSBStream(const lldb::SBStream &stream) const
virtual StructuredData::GenericSP CreateScriptCommandObject(const char *class_name)
virtual size_t CalculateNumChildren(const StructuredData::ObjectSP &implementor, uint32_t max)
virtual bool GenerateTypeScriptFunction(const char *oneliner, std::string &output, const void *name_token=nullptr)
virtual bool RunScriptFormatKeyword(const char *impl_function, Target *target, std::string &output, Status &error)
virtual bool GenerateTypeScriptFunction(StringList &input, std::string &output, const void *name_token=nullptr)
virtual lldb::ScriptedProcessInterfaceUP CreateScriptedProcessInterface()
virtual Status ExportFunctionDefinitionToInterpreter(StringList &function_def)
virtual int GetIndexOfChildWithName(const StructuredData::ObjectSP &implementor, const char *child_name)
~ScriptInterpreter() override=default
virtual lldb::OperatingSystemInterfaceSP CreateOperatingSystemInterface()
virtual StructuredData::ObjectSP CreateSyntheticScriptedProvider(const char *class_name, lldb::ValueObjectSP valobj)
virtual Status SetBreakpointCommandCallbackFunction(BreakpointOptions &bp_options, const char *function_name, StructuredData::ObjectSP extra_args_sp)
Set a script function as the callback for the breakpoint.
virtual llvm::Expected< unsigned > GetMaxPositionalArgumentsForCallable(const llvm::StringRef &callable_name)
virtual bool ExecuteOneLineWithReturn(llvm::StringRef in_string, ScriptReturnType return_type, void *ret_value, const ExecuteScriptOptions &options=ExecuteScriptOptions())
virtual bool ScriptedBreakpointResolverSearchCallback(StructuredData::GenericSP implementor_sp, SymbolContext *sym_ctx)
virtual bool GenerateTypeSynthClass(StringList &input, std::string &output, const void *name_token=nullptr)
virtual bool RunScriptBasedCommand(const char *impl_function, llvm::StringRef args, ScriptedCommandSynchronicity synchronicity, lldb_private::CommandReturnObject &cmd_retobj, Status &error, const lldb_private::ExecutionContext &exe_ctx)
virtual void ExecuteInterpreterLoop()=0
virtual StructuredData::GenericSP CreateFrameRecognizer(const char *class_name)
virtual bool GenerateScriptAliasFunction(StringList &input, std::string &output)
virtual bool MightHaveChildrenSynthProviderInstance(const StructuredData::ObjectSP &implementor)
virtual bool GenerateWatchpointCommandCallbackData(StringList &input, std::string &output, bool is_callback)
virtual StructuredData::DictionarySP GetDynamicSettings(StructuredData::ObjectSP plugin_module_sp, Target *target, const char *setting_name, lldb_private::Status &error)
virtual bool ScriptedStopHookHandleStop(StructuredData::GenericSP implementor_sp, ExecutionContext &exc_ctx, lldb::StreamSP stream_sp)
virtual Status GenerateFunction(const char *signature, const StringList &input, bool is_callback)
virtual lldb::ValueObjectSP GetChildAtIndex(const StructuredData::ObjectSP &implementor, uint32_t idx)
Event * GetOpaqueTypeFromSBEvent(const lldb::SBEvent &event) const
virtual std::optional< std::string > GetRepeatCommandForScriptedCommand(StructuredData::GenericSP impl_obj_sp, Args &args)
virtual void SetWatchpointCommandCallback(WatchpointOptions *wp_options, const char *user_input, bool is_callback)
Set a one-liner as the callback for the watchpoint.
Status SetBreakpointCommandCallback(std::vector< std::reference_wrapper< BreakpointOptions > > &bp_options_vec, const char *callback_text)
Set the specified text as the callback for the breakpoint.
lldb::ProcessLaunchInfoSP GetOpaqueTypeFromSBLaunchInfo(const lldb::SBLaunchInfo &launch_info) const
virtual lldb::ValueObjectSP GetSyntheticValue(const StructuredData::ObjectSP &implementor)
virtual bool ExecuteOneLine(llvm::StringRef command, CommandReturnObject *result, const ExecuteScriptOptions &options=ExecuteScriptOptions())=0
virtual bool RunScriptFormatKeyword(const char *impl_function, StackFrame *frame, std::string &output, Status &error)
virtual Status GenerateBreakpointCommandCallbackData(StringList &input, std::string &output, bool has_extra_args, bool is_callback)
static std::string LanguageToString(lldb::ScriptLanguage language)
virtual lldb::SearchDepth ScriptedBreakpointResolverSearchDepth(StructuredData::GenericSP implementor_sp)
virtual bool RunScriptFormatKeyword(const char *impl_function, ValueObject *value, std::string &output, Status &error)
Status GetStatusFromSBError(const lldb::SBError &error) const
std::optional< MemoryRegionInfo > GetOpaqueTypeFromSBMemoryRegionInfo(const lldb::SBMemoryRegionInfo &mem_region) const
virtual std::unique_ptr< ScriptInterpreterLocker > AcquireInterpreterLock()
virtual bool GetDocumentationForItem(const char *item, std::string &dest)
virtual StructuredData::DictionarySP GetInterpreterInfo()
virtual bool UpdateSynthProviderInstance(const StructuredData::ObjectSP &implementor)
virtual StructuredData::ObjectSP LoadPluginModule(const FileSpec &file_spec, lldb_private::Status &error)
virtual bool RunScriptBasedParsedCommand(StructuredData::GenericSP impl_obj_sp, Args &args, ScriptedCommandSynchronicity synchronicity, lldb_private::CommandReturnObject &cmd_retobj, Status &error, const lldb_private::ExecutionContext &exe_ctx)
Status SetBreakpointCommandCallbackFunction(std::vector< std::reference_wrapper< BreakpointOptions > > &bp_options_vec, const char *function_name, StructuredData::ObjectSP extra_args_sp)
virtual bool GenerateTypeSynthClass(const char *oneliner, std::string &output, const void *name_token=nullptr)
virtual StructuredData::ObjectSP CreateStructuredDataFromScriptObject(ScriptObject obj)
virtual StructuredData::ObjectSP GetOptionsForCommandObject(StructuredData::GenericSP cmd_obj_sp)
virtual StructuredData::ObjectSP GetArgumentsForCommandObject(StructuredData::GenericSP cmd_obj_sp)
virtual void OptionParsingStartedForCommandObject(StructuredData::GenericSP cmd_obj_sp)
virtual bool GetScriptedSummary(const char *function_name, lldb::ValueObjectSP valobj, StructuredData::ObjectSP &callee_wrapper_sp, const TypeSummaryOptions &options, std::string &retval)
virtual Status SetBreakpointCommandCallback(BreakpointOptions &bp_options, std::unique_ptr< BreakpointOptions::CommandData > &data_up)
This one is for deserialization:
lldb::BreakpointSP GetOpaqueTypeFromSBBreakpoint(const lldb::SBBreakpoint &breakpoint) const
virtual bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, std::string &dest)
virtual lldb::ScriptedThreadPlanInterfaceSP CreateScriptedThreadPlanInterface()
virtual bool RunScriptFormatKeyword(const char *impl_function, Thread *thread, std::string &output, Status &error)
virtual bool CheckObjectExists(const char *name)
virtual bool RunScriptBasedCommand(StructuredData::GenericSP impl_obj_sp, llvm::StringRef args, ScriptedCommandSynchronicity synchronicity, lldb_private::CommandReturnObject &cmd_retobj, Status &error, const lldb_private::ExecutionContext &exe_ctx)
virtual bool FormatterCallbackFunction(const char *function_name, lldb::TypeImplSP type_impl_sp)
virtual ConstString GetSyntheticTypeName(const StructuredData::ObjectSP &implementor)
lldb::ScriptLanguage m_script_lang
lldb::ScriptLanguage GetLanguage()
virtual uint32_t GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp)
virtual bool GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, std::string &dest)
virtual StructuredData::GenericSP CreateScriptedStopHook(lldb::TargetSP target_sp, const char *class_name, const StructuredDataImpl &args_data, Status &error)
virtual bool IsReservedWord(const char *word)
virtual StructuredData::GenericSP CreateScriptedBreakpointResolver(const char *class_name, const StructuredDataImpl &args_data, lldb::BreakpointSP &bkpt_sp)
lldb::DataExtractorSP GetDataExtractorFromSBData(const lldb::SBData &data) const
virtual lldb::ScriptedPlatformInterfaceUP GetScriptedPlatformInterface()
virtual bool RunScriptFormatKeyword(const char *impl_function, Process *process, std::string &output, Status &error)
virtual lldb::ScriptedThreadInterfaceSP CreateScriptedThreadInterface()
virtual Status SetBreakpointCommandCallback(BreakpointOptions &bp_options, const char *callback_text, bool is_callback)
virtual void CollectDataForWatchpointCommandCallback(WatchpointOptions *wp_options, CommandReturnObject &result)
This base class provides an interface to stack frames.
Definition: StackFrame.h:43
An error handling class.
Definition: Status.h:44
std::shared_ptr< Generic > GenericSP
std::shared_ptr< Dictionary > DictionarySP
std::shared_ptr< Object > ObjectSP
Defines a symbol context baton that can be handed other debug core functions.
Definition: SymbolContext.h:34
"lldb/Core/ThreadedCommunication.h" Variation of Communication that supports threaded reads.
"lldb/Breakpoint/WatchpointOptions.h" Class that manages the options on a watchpoint.
#define UINT32_MAX
Definition: lldb-defines.h:19
A class that represents a running process on the host machine.
std::unique_ptr< lldb_private::ScriptedPlatformInterface > ScriptedPlatformInterfaceUP
Definition: lldb-forward.h:405
ScriptLanguage
Script interpreter types.
std::shared_ptr< lldb_private::StackFrame > StackFrameSP
Definition: lldb-forward.h:418
std::shared_ptr< lldb_private::ScriptedThreadPlanInterface > ScriptedThreadPlanInterfaceSP
Definition: lldb-forward.h:411
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
Definition: lldb-forward.h:478
std::shared_ptr< lldb_private::ProcessAttachInfo > ProcessAttachInfoSP
Definition: lldb-forward.h:386
std::shared_ptr< lldb_private::OperatingSystemInterface > OperatingSystemInterfaceSP
Definition: lldb-forward.h:379
std::shared_ptr< lldb_private::Stream > StreamSP
Definition: lldb-forward.h:426
std::shared_ptr< lldb_private::Breakpoint > BreakpointSP
Definition: lldb-forward.h:317
std::shared_ptr< lldb_private::ScriptedThreadInterface > ScriptedThreadInterfaceSP
Definition: lldb-forward.h:409
std::shared_ptr< lldb_private::ValueObjectList > ValueObjectListSP
Definition: lldb-forward.h:482
std::shared_ptr< lldb_private::StreamFile > StreamFileSP
Definition: lldb-forward.h:427
@ eSearchDepthModule
std::shared_ptr< lldb_private::TypeImpl > TypeImplSP
Definition: lldb-forward.h:458
std::shared_ptr< lldb_private::Target > TargetSP
Definition: lldb-forward.h:442
std::shared_ptr< lldb_private::File > FileSP
Definition: lldb-forward.h:349
std::shared_ptr< lldb_private::DataExtractor > DataExtractorSP
Definition: lldb-forward.h:334
std::unique_ptr< lldb_private::ScriptedProcessInterface > ScriptedProcessInterfaceUP
Definition: lldb-forward.h:407
std::shared_ptr< lldb_private::ProcessLaunchInfo > ProcessLaunchInfoSP
Definition: lldb-forward.h:387