crazybubble
V2EX  ›  问与答

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

  •  
  •   crazybubble · Sep 8, 2012 · 3700 views
    This topic created in 5030 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   ·   2859 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 15:10 · PVG 23:10 · LAX 08:10 · JFK 11:10
    ♥ Do have faith in what you're doing.