Fix missing MAP_FIXED_NOREPLACE
MODIFY
frida_mode/src/instrument/instrument_x64.c
frida_mode/src/instrument/instrument_x64.c
#if defined(__x86_64__)
+#ifndef MAP_FIXED_NOREPLACE
+ #ifdef MAP_EXCL
+ #define MAP_FIXED_NOREPLACE MAP_EXCL | MAP_FIXED
+ #else
+ #define MAP_FIXED_NOREPLACE MAP_FIXED
+ #endif
+#endif
+
gboolean instrument_is_coverage_optimize_supported(void) {
return true;

Fix missing MAP_FIXED_NOREPLACE (#1116)

Co-authored-by: Your Name <you@example.com>