Page MenuHomeFreeBSD

ASAN: reduce verbosity
ClosedPublic

Authored by bapt on Apr 25 2022, 9:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 1:22 PM
Unknown Object (File)
Thu, Nov 7, 1:18 PM
Unknown Object (File)
Tue, Nov 5, 7:26 PM
Unknown Object (File)
Tue, Nov 5, 7:13 PM
Unknown Object (File)
Wed, Oct 30, 8:00 AM
Unknown Object (File)
Oct 2 2024, 9:29 PM
Unknown Object (File)
Sep 26 2024, 3:17 AM
Unknown Object (File)
Sep 22 2024, 6:27 PM
Subscribers

Details

Summary

When running binaries compiled with libasan in PIE and with ALSR on,
the previous code always print the WARNING message, the new code only
printed it if the run is made with the right verbosity

Before this change, many unit test will always fail because of the extra
message which is printed

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bapt requested review of this revision.Apr 25 2022, 9:26 AM

LGTM except style issue, look at the SANITIZER_PPC64V2 case above, space after the 1 and line up the string indentation.

This revision is now accepted and ready to land.Apr 25 2022, 1:37 PM
This revision was automatically updated to reflect the committed changes.

Note to self: for upstreaming, see also D33934