Removing libc allocation and string function wrappers

Michael McConville <[email protected]>
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <20171218022409.77honeigd6b6bkxp@t240>
Hi guys.

Hopefully this doesn't sound presumptuous coming from an outsider, but I think
you could benefit from removing some or all of your wrappers for libc functions
like malloc. Modern platforms offer many tools for tracing and debugging
allocations, which seems to be the motivation for the wrappers. The semantics
of these wrappers seem to be identical to the POSIX semantics, so replacement
would be easy.

This would lead to simpler code that's easier to audit both manually and
automatically.

What are your thoughts?

Thanks for your time,
Michael McConville
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.