crazybubble
V2EX  ›  问与答

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

  •  
  •   crazybubble · Sep 8, 2012 · 3666 views
    This topic created in 5016 days ago, the information mentioned may be changed or developed.
    在mac下用valgrind, 可是测每一个c的program都提示有内存溢出。
    即使是最简单的helloworld的program也显示溢出,后来我试了几次发现即使是没有memory allocation的program,valgrind也会提示我alloc了32个block 1971bytes。这是什么原因呢?。。求解,我的mac是10.7.4, valgrind是3.8.0
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 06:18 · PVG 14:18 · LAX 23:18 · JFK 02:18
    ♥ Do have faith in what you're doing.