Ejemplo n.º 1
0
gpointer
gum_find_function (const gchar * name)
{
  gpointer result = NULL;
  GArray * matches;

  matches = gum_find_functions_matching (name);
  if (matches->len >= 1)
    result = g_array_index (matches, gpointer, 0);
  g_array_free (matches, TRUE);

  return result;
}
Ejemplo n.º 2
0
extern "C" PtrArray * find_matching_functions_array (const char * str)
{
    Runtime::ref ();
    return new SymbolPtrArray (gum_find_functions_matching (str));
}
Ejemplo n.º 3
0
GArray *
gum_find_functions_named (const gchar * name)
{
  return gum_find_functions_matching (name);
}