use malloc symbol for hook