Skip to content

Commit 155a30a

Browse files
committed
Bump Frida SDKs to 12.6.17
1 parent d5f12f6 commit 155a30a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CFLAGS := -DANDROID -Os -Wall -fPIC -ffunction-sections -fdata-sections $(host_c
1111
LDFLAGS := -fuse-ld=gold -Wl,--icf=all -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now $(host_ldflags)
1212
STRIP := $(ndk_toolchain_bindir)/$(host_tool_triplet)strip --strip-all
1313

14-
frida_version := 12.6.16
14+
frida_version := 12.6.17
1515
frida_os_arch := android-$(host_arch)
1616
frida_core_devkit_url := https://github.com/frida/frida/releases/download/$(frida_version)/frida-core-devkit-$(frida_version)-$(frida_os_arch).tar.xz
1717
frida_gum_devkit_url := https://github.com/frida/frida/releases/download/$(frida_version)/frida-gum-devkit-$(frida_version)-$(frida_os_arch).tar.xz

agent.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ example_agent_main (const gchar * data, gboolean * stay_resident)
2020
/* Transactions are optional but improve performance with multiple hooks. */
2121
gum_interceptor_begin_transaction (interceptor);
2222

23-
gum_interceptor_replace_function (interceptor,
23+
gum_interceptor_replace (interceptor,
2424
(gpointer) gum_module_find_export_by_name (NULL, "open"), replacement_open, NULL);
2525
/*
2626
* ^
2727
* |
28-
* This is using replace_function(), but there's also attach_listener() which
29-
* can be used to hook functions without any knowledge of argument types,
30-
* calling convention, etc. It can even be used to put a probe in the middle
31-
* of a function.
28+
* This is using replace(), but there's also attach() which can be used to hook
29+
* functions without any knowledge of argument types, calling convention, etc.
30+
* It can even be used to put a probe in the middle of a function.
3231
*/
3332

3433
gum_interceptor_end_transaction (interceptor);

0 commit comments

Comments
 (0)