replace malloc/calloc/free with snapshot_{malloc/calloc/free}