Re: APR_POOL_DEBUG usage question

Yann Ylavic <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <CAKQ1sVM9hBouNFa4hqX8twcFARP8+xp7jNJNZ80ATnhHkkHMEw@mail.gmail.com>
On Thu, Feb 1, 2024 at 1:56 PM Yann Ylavic <[email protected]> wrote:
>
> On Wed, Jan 31, 2024 at 7:44 PM Simon Walter <[email protected]> wrote:
> >
> > Should I use '--enable-pool-debug=yes' or '--enable-pool-debug=verbose'?
>
> I'd suggest using simple --enable-pool-debug[=yes] and ASan (Address
> Sanitizer, i.e. "-fsanitize=address -fno-sanitize-recover=address" in
> $CFLAGS).

I mean, ASan for compiling the APR eventually, but it should be used
to compile your program too for a full leaks/use-after-free coverage.

>
> Regards,
> Yann.
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.