Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一段代码在小(<16)字节的内存块上执行数百个 malloc 并释放,它因“无效的下一个大小(快速)”而失败。使用 valgrind 运行时不会失败。我添加了实际上确实检测到故障的 mcheck:“内存在分配块结束后被破坏”。我如何找出这个元数据在哪里(所以我可以向它添加观察点?)