Method

GumDarwinGraftergraft

Declaration [src]

gboolean
gum_darwin_grafter_graft (
  GumDarwinGrafter* self
  GError** error
)

Description [src]

Grafts trampolines for all collected code offsets and writes the modified binary back to its original path. Fails if the binary has already been grafted; if there is nothing to instrument it succeeds without touching the file.

Return value

Type: gboolean

TRUE on success, FALSE on failure with error set.