Example #1
0
 public LLDB.Address GetStartAddress()
 {
     var __ret = new LLDB.Address.Internal();
     Internal.GetStartAddress_0((__Instance + __PointerAdjustment), new IntPtr(&__ret));
     return LLDB.Address.__CreateInstance(__ret);
 }
Example #2
0
 /// <summary>
 /// <para>Resolve a current load address into a section offset address</para>
 /// <para>using the process stop ID to identify a time in the past.</para>
 /// </summary>
 /// <param name="stop_id">
 /// <para>Each time a process stops, the process stop ID integer gets</para>
 /// <para>incremented. These stop IDs are used to identify past times</para>
 /// <para>and can be used in history objects as a cheap way to store</para>
 /// <para>the time at which the sample was taken. Specifying</para>
 /// <para>UINT32_MAX will always resolve the address using the</para>
 /// <para>currently loaded sections.</para>
 /// </param>
 /// <param name="vm_addr">
 /// <para>A virtual address from the current process state that is to</para>
 /// <para>be translated into a section offset address.</para>
 /// </param>
 /// <returns>
 /// <para>An SBAddress which will be valid if</para>
 /// <para>was</para>
 /// <para>successfully resolved into a section offset address, or an</para>
 /// <para>invalid SBAddress if</para>
 /// <para>doesn't resolve to a section</para>
 /// <para>in a module.</para>
 /// </returns>
 public LLDB.Address ResolvePastLoadAddress(uint stop_id, ulong vm_addr)
 {
     var __ret = new LLDB.Address.Internal();
     Internal.ResolvePastLoadAddress_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), stop_id, vm_addr);
     return LLDB.Address.__CreateInstance(__ret);
 }
Example #3
0
 public LLDB.Address GetRangeEndAddress(uint idx)
 {
     var __ret = new LLDB.Address.Internal();
     Internal.GetRangeEndAddress_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), idx);
     return LLDB.Address.__CreateInstance(__ret);
 }
Example #4
0
 /// <summary>
 /// <para>Resolve a current file address into a section offset address.</para>
 /// </summary>
 /// <returns>
 /// <para>An SBAddress which will be valid if...</para>
 /// </returns>
 public LLDB.Address ResolveFileAddress(ulong file_addr)
 {
     var __ret = new LLDB.Address.Internal();
     Internal.ResolveFileAddress_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), file_addr);
     return LLDB.Address.__CreateInstance(__ret);
 }