public LLDB.Error SetScriptCallbackBody(string script_body_text) { var arg0 = Marshal.StringToHGlobalAnsi(script_body_text); var __ret = new LLDB.Error.Internal(); Internal.SetScriptCallbackBody_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), arg0); Marshal.FreeHGlobal(arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Run(LLDB.PlatformShellCommand shell_command) { if (ReferenceEquals(shell_command, null)) throw new global::System.ArgumentNullException("shell_command", "Cannot be null because it is a C++ reference (&)."); var arg0 = shell_command.__Instance; var __ret = new LLDB.Error.Internal(); Internal.Run_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error SetFilePermissions(string path, uint file_permissions) { var arg0 = Marshal.StringToHGlobalAnsi(path); var __ret = new LLDB.Error.Internal(); Internal.SetFilePermissions_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, file_permissions); Marshal.FreeHGlobal(arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error StepOverUntil(LLDB.Frame frame, LLDB.FileSpec file_spec, uint line) { if (ReferenceEquals(frame, null)) throw new global::System.ArgumentNullException("frame", "Cannot be null because it is a C++ reference (&)."); var arg0 = frame.__Instance; if (ReferenceEquals(file_spec, null)) throw new global::System.ArgumentNullException("file_spec", "Cannot be null because it is a C++ reference (&)."); var arg1 = file_spec.__Instance; var __ret = new LLDB.Error.Internal(); Internal.StepOverUntil_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1, line); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error JumpToLine(LLDB.FileSpec file_spec, uint line) { if (ReferenceEquals(file_spec, null)) throw new global::System.ArgumentNullException("file_spec", "Cannot be null because it is a C++ reference (&)."); var arg0 = file_spec.__Instance; var __ret = new LLDB.Error.Internal(); Internal.JumpToLine_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), arg0, line); return LLDB.Error.__CreateInstance(__ret); }
public static LLDB.Error SetInternalVariable(string var_name, string value, string debugger_instance_name) { var arg0 = Marshal.StringToHGlobalAnsi(var_name); var arg1 = Marshal.StringToHGlobalAnsi(value); var arg2 = Marshal.StringToHGlobalAnsi(debugger_instance_name); var __ret = new LLDB.Error.Internal(); Internal.SetInternalVariable_0(new IntPtr(&__ret), arg0, arg1, arg2); Marshal.FreeHGlobal(arg0); Marshal.FreeHGlobal(arg1); Marshal.FreeHGlobal(arg2); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error SetCurrentPlatform(string platform_name) { var arg0 = Marshal.StringToHGlobalAnsi(platform_name); var __ret = new LLDB.Error.Internal(); Internal.SetCurrentPlatform_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); Marshal.FreeHGlobal(arg0); return LLDB.Error.__CreateInstance(__ret); }
/// <summary> /// <para>Clear the section base load addresses for all sections in a module.</para> /// </summary> /// <param name="module"> /// <para>The module to unload.</para> /// </param> /// <returns> /// <para>An error to indicate success, fail, and any reason for</para> /// <para>failure.</para> /// </returns> public LLDB.Error ClearModuleLoadAddress(LLDB.Module module) { var arg0 = ReferenceEquals(module, null) ? new LLDB.Module.Internal() : *(LLDB.Module.Internal*) (module.__Instance); var __ret = new LLDB.Error.Internal(); Internal.ClearModuleLoadAddress_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); return LLDB.Error.__CreateInstance(__ret); }
/// <summary> /// <para>Clear the base load address for a module section.</para> /// </summary> /// <param name="section"> /// <para>The section whose base load address will be cleared within</para> /// <para>this target.</para> /// </param> /// <returns> /// <para>An error to indicate success, fail, and any reason for</para> /// <para>failure.</para> /// </returns> public LLDB.Error ClearSectionLoadAddress(LLDB.Section section) { var arg0 = ReferenceEquals(section, null) ? new LLDB.Section.Internal() : *(LLDB.Section.Internal*) (section.__Instance); var __ret = new LLDB.Error.Internal(); Internal.ClearSectionLoadAddress_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Signal(int signal) { var __ret = new LLDB.Error.Internal(); Internal.Signal_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), signal); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error UnloadImage(uint image_token) { var __ret = new LLDB.Error.Internal(); Internal.UnloadImage_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), image_token); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error SendEventData(string data) { var arg0 = Marshal.StringToHGlobalAnsi(data); var __ret = new LLDB.Error.Internal(); Internal.SendEventData_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), arg0); Marshal.FreeHGlobal(arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error SaveCore(string file_name) { var arg0 = Marshal.StringToHGlobalAnsi(file_name); var __ret = new LLDB.Error.Internal(); Internal.SaveCore_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), arg0); Marshal.FreeHGlobal(arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Detach(bool keep_stopped) { var __ret = new LLDB.Error.Internal(); Internal.Detach_1((__Instance + __PointerAdjustment), new IntPtr(&__ret), keep_stopped); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error GetError() { var __ret = new LLDB.Error.Internal(); Internal.GetError_0((__Instance + __PointerAdjustment), new IntPtr(&__ret)); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error ConnectRemote(LLDB.PlatformConnectOptions connect_options) { if (ReferenceEquals(connect_options, null)) throw new global::System.ArgumentNullException("connect_options", "Cannot be null because it is a C++ reference (&)."); var arg0 = connect_options.__Instance; var __ret = new LLDB.Error.Internal(); Internal.ConnectRemote_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Initialize(LLDB.Debugger _0, LLDB.InputReader.__AnonymousDelegate0 _1, global::System.IntPtr _2, LLDB.InputReaderGranularity _3, string _4, string _5, bool _6) { if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; var arg1 = _1 == null ? global::System.IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(_1); var arg2 = _2; var arg3 = _3; var arg4 = Marshal.StringToHGlobalAnsi(_4); var arg5 = Marshal.StringToHGlobalAnsi(_5); var __ret = new LLDB.Error.Internal(); Internal.Initialize_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1, arg2, arg3, arg4, arg5, _6); Marshal.FreeHGlobal(arg4); Marshal.FreeHGlobal(arg5); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Kill(ulong pid) { var __ret = new LLDB.Error.Internal(); Internal.Kill_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), pid); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error RunREPL(LLDB.LanguageType language, string repl_options) { var arg0 = language; var arg1 = Marshal.StringToHGlobalAnsi(repl_options); var __ret = new LLDB.Error.Internal(); Internal.RunREPL_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1); Marshal.FreeHGlobal(arg1); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Launch(LLDB.LaunchInfo launch_info) { if (ReferenceEquals(launch_info, null)) throw new global::System.ArgumentNullException("launch_info", "Cannot be null because it is a C++ reference (&)."); var arg0 = launch_info.__Instance; var __ret = new LLDB.Error.Internal(); Internal.Launch_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error ReturnFromFrame(LLDB.Frame frame, LLDB.Value return_value) { if (ReferenceEquals(frame, null)) throw new global::System.ArgumentNullException("frame", "Cannot be null because it is a C++ reference (&)."); var arg0 = frame.__Instance; if (ReferenceEquals(return_value, null)) throw new global::System.ArgumentNullException("return_value", "Cannot be null because it is a C++ reference (&)."); var arg1 = return_value.__Instance; var __ret = new LLDB.Error.Internal(); Internal.ReturnFromFrame_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Put(LLDB.FileSpec src, LLDB.FileSpec dst) { if (ReferenceEquals(src, null)) throw new global::System.ArgumentNullException("src", "Cannot be null because it is a C++ reference (&)."); var arg0 = src.__Instance; if (ReferenceEquals(dst, null)) throw new global::System.ArgumentNullException("dst", "Cannot be null because it is a C++ reference (&)."); var arg1 = dst.__Instance; var __ret = new LLDB.Error.Internal(); Internal.Put_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error StepUsingScriptedThreadPlan(string script_class_name) { var arg0 = Marshal.StringToHGlobalAnsi(script_class_name); var __ret = new LLDB.Error.Internal(); Internal.StepUsingScriptedThreadPlan_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0); Marshal.FreeHGlobal(arg0); return LLDB.Error.__CreateInstance(__ret); }
public LLDB.Error Stop() { var __ret = new LLDB.Error.Internal(); Internal.Stop_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment)); return LLDB.Error.__CreateInstance(__ret); }