add annotation for zmalloc