Loading...
--- libmalloc/libmalloc-715.100.22/src/vm.h
+++ libmalloc/libmalloc-792.80.2/src/vm.h
@@ -39,12 +39,28 @@
 extern uint64_t malloc_entropy[2];
 
 #if !MALLOC_TARGET_EXCLAVES
+MALLOC_NOEXPORT
+extern volatile uintptr_t entropic_base;
+
 static inline bool
 mvm_aslr_enabled(void)
 {
 	extern struct mach_header __dso_handle;
 	return _dyld_get_image_slide(&__dso_handle);
 }
+
+struct mvm_guarded_range_config_s {
+	mach_vm_address_t base_address;
+	size_t            size;
+	mach_vm_address_t carveout_address;
+};
+
+MALLOC_NOEXPORT
+extern struct mvm_guarded_range_config_s malloc_guarded_range_config;
+
+MALLOC_NOEXPORT
+void
+mvm_guarded_range_init(void);
 #endif // !MALLOC_TARGET_EXCLAVES
 
 MALLOC_NOEXPORT