Loading...
include/malloc/malloc.h libmalloc-283.40.1 libmalloc-317.121.1
--- libmalloc/libmalloc-283.40.1/include/malloc/malloc.h
+++ libmalloc/libmalloc-317.121.1/include/malloc/malloc.h
@@ -29,6 +29,7 @@
 #include <sys/cdefs.h>
 #include <Availability.h>
 
+#ifndef RC_HIDE_HARDWARE_FALL_2018_IOS
 #if __has_feature(ptrauth_calls)
 #include <ptrauth.h>
 
@@ -51,6 +52,7 @@
 		FALSE, ptrauth_string_discriminator("malloc_introspect_tbl")) ptr
 
 #endif	// __has_feature(ptrauth_calls)
+#endif	// RC_HIDE_HARDWARE_FALL_2018_IOS
 
 #ifndef MALLOC_ZONE_FN_PTR
 #define MALLOC_ZONE_FN_PTR(fn) fn
@@ -216,7 +218,7 @@
     /* given a task and context, "records" the specified addresses */
 
 /* Print function for the print_task() operation. */
-typedef void print_task_printer_t(const char *fmt, ...);
+typedef void print_task_printer_t(const char *fmt, ...) __printflike(1,2);
 
 typedef struct malloc_introspection_t {
 	kern_return_t (* MALLOC_INTROSPECT_FN_PTR(enumerator))(task_t task, void *, unsigned type_mask, vm_address_t zone_address, memory_reader_t reader, vm_range_recorder_t recorder); /* enumerates all the malloc pointers in use */