LLDB.Target.SetModuleLoadAddress C# (CSharp) Method

SetModuleLoadAddress() public method

Slide all file addresses for all module sections so that

appears to loaded at these slide addresses.

When you need all sections within a module to be loaded at a

rigid slide from the addresses found in the module object file,

this function will allow you to easily and quickly slide all

module sections.

public SetModuleLoadAddress ( LLDB module, long sections_offset ) : LLDB.Error
module LLDB /// The module to load. ///
sections_offset long /// An offset that will be applied to all section file addresses /// (the virtual addresses found in the object file itself). ///
return LLDB.Error
        public LLDB.Error SetModuleLoadAddress(LLDB.Module module, long sections_offset)
        {
            var arg0 = ReferenceEquals(module, null) ? new LLDB.Module.Internal() : *(LLDB.Module.Internal*) (module.__Instance);
            var __ret = new LLDB.Error.Internal();
            Internal.SetModuleLoadAddress_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, sections_offset);
            return LLDB.Error.__CreateInstance(__ret);
        }