V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
crazybubble
V2EX  ›  问与答

Mac下的valgrind为什么老是提示我的heap被use

  •  
  •   crazybubble · 2012-09-08 08:18:06 +08:00 · 2825 次点击
    这是一个创建于 4248 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在mac下用valgrind, 可是测每一个c的program都提示有内存溢出。
    即使是最简单的helloworld的program也显示溢出,后来我试了几次发现即使是没有memory allocation的program,valgrind也会提示我alloc了32个block 1971bytes。这是什么原因呢?。。求解,我的mac是10.7.4, valgrind是3.8.0
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5434 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.