[compiler-rt] [msan][aarch64] mallinfo interceptor (PR #73728)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 20:57:51 PST 2023


vitalybuka wrote:

> AFAICS the interceptor zeros out the struct - which is enough to pass compiler-rt/test/msan/Linux/mallinfo.cpp, because it only tests that the struct is unpoisoned, not the actual contents - but doesn't actually give any useful info. Do any apps need the real info?

This fact is unchanged by the patch.
Real libc malloc info is irrelevant as we use c.
And some  fields are irrelevant mallinfo.


https://github.com/llvm/llvm-project/pull/73728


More information about the llvm-commits mailing list