当前位置: 首页>>代码示例>>C#>>正文


C# LLDB类代码示例

本文整理汇总了C#中LLDB的典型用法代码示例。如果您正苦于以下问题:C# LLDB类的具体用法?C# LLDB怎么用?C# LLDB使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


LLDB类属于命名空间,在下文中一共展示了LLDB类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GetLLDBPath

 public static LLDB.FileSpec GetLLDBPath(LLDB.PathType path_type)
 {
     var arg0 = path_type;
     var __ret = new LLDB.FileSpec.Internal();
     Internal.GetLLDBPath_0(new IntPtr(&__ret), arg0);
     return LLDB.FileSpec.__CreateInstance(__ret);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:7,代码来源:SBHostOS.cs

示例2: LanguageRuntime

 public LanguageRuntime(LLDB.LanguageRuntime _0)
 {
     __Instance = Marshal.AllocHGlobal(0);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     *((LanguageRuntime.Internal*) __Instance) = *((LanguageRuntime.Internal*) _0.__Instance);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:7,代码来源:SBLanguageRuntime.cs

示例3: HostOS

 public HostOS(LLDB.HostOS _0)
 {
     __Instance = Marshal.AllocHGlobal(0);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     *((HostOS.Internal*) __Instance) = *((HostOS.Internal*) _0.__Instance);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:7,代码来源:SBHostOS.cs

示例4: TypeNameSpecifier

 public TypeNameSpecifier(LLDB.Type type)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = ReferenceEquals(type, null) ? new LLDB.Type.Internal() : *(LLDB.Type.Internal*) (type.__Instance);
     Internal.ctor_2((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:8,代码来源:SBTypeNameSpecifier.cs

示例5: TypeFormat

 public TypeFormat(LLDB.Format format, uint options)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = format;
     Internal.ctor_1((__Instance + __PointerAdjustment), arg0, options);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:8,代码来源:SBTypeFormat.cs

示例6: ExecutionContext

 public ExecutionContext(LLDB.Thread thread)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = ReferenceEquals(thread, null) ? new LLDB.Thread.Internal() : *(LLDB.Thread.Internal*) (thread.__Instance);
     Internal.ctor_5((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:8,代码来源:SBExecutionContext.cs

示例7: Address

 public Address(LLDB.Section section, ulong offset)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = ReferenceEquals(section, null) ? new LLDB.Section.Internal() : *(LLDB.Section.Internal*) (section.__Instance);
     Internal.ctor_2((__Instance + __PointerAdjustment), arg0, offset);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:8,代码来源:SBAddress.cs

示例8: QueueItem

 public QueueItem(LLDB.QueueItem _0)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(_0, null))
         throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&).");
     var arg0 = _0.__Instance;
     Internal.cctor_2((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:10,代码来源:SBQueueItem.cs

示例9: SourceManager

 public SourceManager(LLDB.Debugger debugger)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(debugger, null))
         throw new global::System.ArgumentNullException("debugger", "Cannot be null because it is a C++ reference (&).");
     var arg0 = debugger.__Instance;
     Internal.ctor_0((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:10,代码来源:SBSourceManager.cs

示例10: Thread

 public Thread(LLDB.Thread thread)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(thread, null))
         throw new global::System.ArgumentNullException("thread", "Cannot be null because it is a C++ reference (&).");
     var arg0 = thread.__Instance;
     Internal.cctor_1((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:10,代码来源:SBThread.cs

示例11: SymbolContext

 public SymbolContext(LLDB.SymbolContext rhs)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(rhs, null))
         throw new global::System.ArgumentNullException("rhs", "Cannot be null because it is a C++ reference (&).");
     var arg0 = rhs.__Instance;
     Internal.cctor_1((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:10,代码来源:SBSymbolContext.cs

示例12: Module

 public Module(LLDB.ModuleSpec module_spec)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(module_spec, null))
         throw new global::System.ArgumentNullException("module_spec", "Cannot be null because it is a C++ reference (&).");
     var arg0 = module_spec.__Instance;
     Internal.ctor_2((__Instance + __PointerAdjustment), arg0);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:10,代码来源:SBModule.cs

示例13: ThreadPlan

 public ThreadPlan(LLDB.Thread thread, string class_name)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(thread, null))
         throw new global::System.ArgumentNullException("thread", "Cannot be null because it is a C++ reference (&).");
     var arg0 = thread.__Instance;
     var arg1 = Marshal.StringToHGlobalAnsi(class_name);
     Internal.ctor_3((__Instance + __PointerAdjustment), arg0, arg1);
     Marshal.FreeHGlobal(arg1);
 }
开发者ID:tritao,项目名称:LLDBSharp,代码行数:12,代码来源:SBThreadPlan.cs

示例14: GetNameForLanguageType_0

 internal static extern global::System.IntPtr GetNameForLanguageType_0(LLDB.LanguageType language);
开发者ID:tritao,项目名称:LLDBSharp,代码行数:1,代码来源:SBLanguageRuntime.cs

示例15: SetSymbol_0

 internal static extern void SetSymbol_0(global::System.IntPtr instance, LLDB.Symbol.Internal symbol);
开发者ID:tritao,项目名称:LLDBSharp,代码行数:1,代码来源:SBSymbolContext.cs


注:本文中的LLDB类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。