示例#1
0
 /// <summary>
 /// <para>Find global functions by their name with pattern matching.</para>
 /// </summary>
 /// <param name="name">
 /// <para>The pattern to search for global or static variables</para>
 /// </param>
 /// <param name="max_matches">
 /// <para>Allow the number of matches to be limited to</para>
 /// </param>
 /// <param name="matchtype">
 /// <para>The match type to use.</para>
 /// </param>
 /// <returns>
 /// <para>A list of matched variables in an SBValueList.</para>
 /// </returns>
 public LLDB.SymbolContextList FindGlobalFunctions(string name, uint max_matches, LLDB.MatchType matchtype)
 {
     var arg0 = Marshal.StringToHGlobalAnsi(name);
     var arg2 = matchtype;
     var __ret = new LLDB.SymbolContextList.Internal();
     Internal.FindGlobalFunctions_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, max_matches, arg2);
     Marshal.FreeHGlobal(arg0);
     return LLDB.SymbolContextList.__CreateInstance(__ret);
 }
示例#2
0
 public LLDB.SymbolContextList FindSymbols(string name, LLDB.SymbolType type)
 {
     var arg0 = Marshal.StringToHGlobalAnsi(name);
     var arg1 = type;
     var __ret = new LLDB.SymbolContextList.Internal();
     Internal.FindSymbols_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1);
     Marshal.FreeHGlobal(arg0);
     return LLDB.SymbolContextList.__CreateInstance(__ret);
 }
示例#3
0
 /// <summary>
 /// <para>Find functions by name.</para>
 /// </summary>
 /// <param name="name">
 /// <para>The name of the function we are looking for.</para>
 /// </param>
 /// <param name="name_type_mask">
 /// <para>A logical OR of one or more FunctionNameType enum bits that</para>
 /// <para>indicate what kind of names should be used when doing the</para>
 /// <para>lookup. Bits include fully qualified names, base names,</para>
 /// <para>C++ methods, or ObjC selectors.</para>
 /// <para>See FunctionNameType for more details.</para>
 /// </param>
 /// <returns>
 /// <para>A lldb::SBSymbolContextList that gets filled in with all of</para>
 /// <para>the symbol contexts for all the matches.</para>
 /// </returns>
 public LLDB.SymbolContextList FindFunctions(string name, uint name_type_mask)
 {
     var arg0 = Marshal.StringToHGlobalAnsi(name);
     var __ret = new LLDB.SymbolContextList.Internal();
     Internal.FindFunctions_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, name_type_mask);
     Marshal.FreeHGlobal(arg0);
     return LLDB.SymbolContextList.__CreateInstance(__ret);
 }