Lines Matching refs:hook
38 void (*hook)(void*);
113 addr_t address = (addr_t)info->hook;
161 // call the hook
162 info->hook(info->data);
182 /*! exit() hook registration function (mandated by the C++ ABI).
183 \param hook Hook function to be called.
184 \param data The data to be passed to the hook.
185 \param dsoHandle If non-NULL, the hook is associated with the respective
186 loaded shared object (aka image) -- the hook will be called either on
187 exit() or earlier when the shared object is unloaded. If NULL, the hook
192 __cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle)
194 if (hook == NULL)
226 info->hook = hook;
238 /*! exit() hook calling function (mandated by the C++ ABI).
255 // call the hook
256 info->hook(info->data);