Page MenuHomeFreeBSD

ASAN: reduce verbosity
ClosedPublic

Authored by bapt on Apr 25 2022, 9:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 30, 4:50 AM
Unknown Object (File)
Feb 22 2024, 7:09 PM
Unknown Object (File)
Dec 20 2023, 4:29 AM
Unknown Object (File)
Dec 12 2023, 5:15 AM
Unknown Object (File)
Nov 20 2023, 6:57 AM
Unknown Object (File)
Nov 17 2023, 5:08 PM
Unknown Object (File)
Nov 9 2023, 5:12 AM
Unknown Object (File)
Oct 8 2023, 4:07 AM
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