• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# LLDB类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: SetModule_0

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


示例17: SetLineEntry_0

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


示例18: SetFunction_0

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


示例19: SetCompileUnit_0

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


示例20: SetBlock_0

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# LLSD类代码示例发布时间:2022-05-24
下一篇:
C# LLClientView类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap