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 20, 12:47 PM
Unknown Object (File)
Thu, Nov 20, 12:47 PM
Unknown Object (File)
Tue, Nov 18, 2:52 AM
Unknown Object (File)
Wed, Nov 12, 7:19 AM
Unknown Object (File)
Oct 29 2025, 11:51 AM
Unknown Object (File)
Oct 29 2025, 9:25 AM
Unknown Object (File)
Oct 29 2025, 8:58 AM
Unknown Object (File)
Oct 28 2025, 10:07 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
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 45357
Build 42245: arc lint + arc unit

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