Lines Matching refs:malloc
11 When malloc hooks is enabled, it works by adding a shim layer that replaces
14 * `malloc`
28 These four hooks are defined in malloc.h:
35 When malloc is called and \_\_malloc\_hook has been set, then the hook
59 There is no hook for malloc\_usable\_size as of now.
67 When malloc hooks is enabled, then the hook pointers are set to
71 it runs the risk of crashing whenever a malloc\_usable\_size call is made.
75 Below is a simple implementation intercepting only malloc/calloc calls.
95 Enable malloc hooks using an environment variable:
101 Any process spawned from this shell will run with malloc hooks enabled.
105 Enable malloc hooks for a specific program/application:
109 For example, to enable malloc hooks for the google search box: