This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Make MutateWithMask work when the Mask is shorter than the input.
ClosedPublic

Authored by Dor1s on Apr 11 2019, 11:10 AM.

Details

Summary

Before this change, MutateWithMask used to assert that Mask should be
of sufficient length (>= Size of the input). However, in real cases we may have
inputs that are longer than the Mask they have inherited from the based inputs.

Diff Detail

Event Timeline

Dor1s created this revision.Apr 11 2019, 11:10 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 11 2019, 11:10 AM
Herald added subscribers: Restricted Project, delcypher. · View Herald Transcript

With this change my target is finally running! :)

kcc accepted this revision.Apr 11 2019, 11:15 AM
This revision is now accepted and ready to land.Apr 11 2019, 11:15 AM
This revision was automatically updated to reflect the committed changes.