aboutsummaryrefslogtreecommitdiff
path: root/frida_mode/src/module.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-05-16 12:34:38 +0200
committerGitHub <noreply@github.com>2022-05-16 12:34:38 +0200
commita2eb1f14126cffd046c44d5e87e945ed2699cec5 (patch)
tree2eecf55a92eec04e67aa3a9d9bec8e5f50659de6 /frida_mode/src/module.c
parentc7bb0a9638a8929a5b664f16032c23a55a84be70 (diff)
parentc08eeb95ca78625cf3f8a96bd04320c57c50d0f1 (diff)
downloadafl++-a2eb1f14126cffd046c44d5e87e945ed2699cec5.tar.gz
Merge pull request #1404 from AFLplusplus/dev
push to stable
Diffstat (limited to 'frida_mode/src/module.c')
-rw-r--r--frida_mode/src/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frida_mode/src/module.c b/frida_mode/src/module.c
index 65b394cd..60e69fec 100644
--- a/frida_mode/src/module.c
+++ b/frida_mode/src/module.c
@@ -42,7 +42,7 @@ gboolean found_range(const GumRangeDetails *details, gpointer user_data) {
}
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
static int on_dlclose(void *handle) {
GArray * ranges = NULL;
@@ -95,7 +95,7 @@ void module_init(void) {
FOKF(cBLU "Module" cRST " - " cYEL " [%c]", handle_dlclose ? 'X' : ' ');
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
if (!handle_dlclose) { return; }
page_size = gum_query_page_size();