crazybubble
V2EX  ›  问与答

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

  •  
  •   crazybubble · Sep 8, 2012 · 3685 views
    This topic created in 5024 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   ·   1139 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 18:11 · PVG 02:11 · LAX 11:11 · JFK 14:11
    ♥ Do have faith in what you're doing.