On Tue, Jun 09, 2020 at 01:53:38PM +0200, Martin Liška wrote: > + const sanitize_code codes[] = > + { > + SANITIZE_ADDRESS, > + SANITIZE_THREAD, > + SANITIZE_LEAK,
Why leak? That is really a link time option only, doesn't affect code generation in any way. On the other side, does the SANITIZE_ADDRESS you have in there handle properly also -fsanitize=kernel-address cases? Jakub