Constructor

GumDarwinGrafternew_from_file

Declaration [src]

GumDarwinGrafter*
gum_darwin_grafter_new_from_file (
  const gchar* path,
  GumDarwinGrafterFlags flags
)

Description [src]

Creates a grafter for the binary at path.

Parameters

path

Type: const gchar*

Path to the Mach-O binary to instrument.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
flags

Type: GumDarwinGrafterFlags

Flags controlling automatic ingestion of code offsets.

Return value

Type: GumDarwinGrafter

A new GumDarwinGrafter.

The caller of the function takes ownership of the data, and is responsible for freeing it.