This is an archive of the discontinued LLVM Phabricator instance.

Enable eager checks with -fsanitize-memory-param-retval
AbandonedPublic

Authored by kda on Jan 5 2022, 1:54 PM.

Details

Summary

Implementation of flag introduced in https://reviews.llvm.org/D116633

Diff Detail

Event Timeline

kda requested review of this revision.Jan 5 2022, 1:54 PM
kda created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 5 2022, 1:54 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Implementation of flag introduced in https://reviews.llvm.org/D116633

It's not implementation, the goal of -sanitize-memory-param-retval to setup Msan pass with proper parameters
This part usability improvement to avoid one flag, which I slightly like, but @eugenis don't.
I don't think this part part is blocking us, we can discuss it later.

kda updated this revision to Diff 399345.Jan 12 2022, 8:46 AM

enable eager-checks in llvm via flag (-fsanitize-memory-param-retval).

Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2022, 8:46 AM
Herald added subscribers: Restricted Project, ormris, dexonsmith, dang. · View Herald Transcript
kda updated this revision to Diff 399347.Jan 12 2022, 8:48 AM

Correcting diff.

kda updated this revision to Diff 399352.Jan 12 2022, 9:16 AM

add param usage test

kda retitled this revision from Respect -fsanitize-memory-param-retval flag. to Enable eager checks with -fsanitize-memory-param-retval.Jan 12 2022, 9:36 AM
kda abandoned this revision.Jan 14 2022, 2:15 AM