Home
last modified time | relevance | path

Searched refs:actionInstallMemleakHook (Results 1 - 2 of 2) sorted by relevance

/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_preinit.c660 struct sigaction actionInstallMemleakHook = {}; in __install_malloc_hook_signal_handler() local
661 actionInstallMemleakHook.sa_handler = NULL; in __install_malloc_hook_signal_handler()
662 actionInstallMemleakHook.sa_sigaction = __install_memleak_tracker_hook; in __install_malloc_hook_signal_handler()
663 sigemptyset(&actionInstallMemleakHook.sa_mask); in __install_malloc_hook_signal_handler()
664 sigaddset(&actionInstallMemleakHook.sa_mask, MUSL_SIGNAL_MEMCHECK); in __install_malloc_hook_signal_handler()
665 actionInstallMemleakHook.sa_flags = SA_SIGINFO; in __install_malloc_hook_signal_handler()
666 actionInstallMemleakHook.sa_restorer = NULL; in __install_malloc_hook_signal_handler()
667 sigaction(MUSL_SIGNAL_MEMCHECK, &actionInstallMemleakHook, NULL); in __install_malloc_hook_signal_handler()
/third_party/musl/src/hook/linux/
H A Dmusl_preinit.c674 struct sigaction actionInstallMemleakHook = {}; in __install_malloc_hook_signal_handler() local
675 actionInstallMemleakHook.sa_handler = NULL; in __install_malloc_hook_signal_handler()
676 actionInstallMemleakHook.sa_sigaction = __install_memleak_tracker_hook; in __install_malloc_hook_signal_handler()
677 sigemptyset(&actionInstallMemleakHook.sa_mask); in __install_malloc_hook_signal_handler()
678 sigaddset(&actionInstallMemleakHook.sa_mask, MUSL_SIGNAL_MEMCHECK); in __install_malloc_hook_signal_handler()
679 actionInstallMemleakHook.sa_flags = SA_SIGINFO; in __install_malloc_hook_signal_handler()
680 actionInstallMemleakHook.sa_restorer = NULL; in __install_malloc_hook_signal_handler()
681 sigaction(MUSL_SIGNAL_MEMCHECK, &actionInstallMemleakHook, NULL); in __install_malloc_hook_signal_handler()

Completed in 3 milliseconds