Re: [dev] Ada not Rust

From: Miles Rout <miles_AT_rout.nz>
Date: Wed, 21 Apr 2021 02:47:16 +1200

On Tue, Apr 20, 2021 at 10:23:35AM -0400, Greg Reagle wrote:
> Can someone point me to an article or blog post recommending which of these
> sanitize options would be recommended for general daily use?

Take your favourite Makefile and add

CFLAGS += -fsanitize=address -fsanitize=undefined
LDFLAGS += -lasan -lubsan

You might also need CFLAGS += -fanalyzer.

Then (at least with GCC 10.3.0) it should be as simple as building and
running the program.
Received on Tue Apr 20 2021 - 16:47:16 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 24 2021 - 00:48:08 CEST