This is an archive of the discontinued LLVM Phabricator instance.

[dfsan] Wrap memmove
ClosedPublic

Authored by stephan.yichao.zhao on Feb 2 2021, 10:10 AM.

Diff Detail

Event Timeline

stephan.yichao.zhao requested review of this revision.Feb 2 2021, 10:10 AM
stephan.yichao.zhao created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2021, 10:10 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Feb 2 2021, 4:08 PM
This revision was automatically updated to reflect the committed changes.
gbalats added inline comments.Feb 3 2021, 10:32 AM
compiler-rt/test/dfsan/custom.cpp
126

Why not assert(0 == memcmp(str, "ststr1", 6)) ?

compiler-rt/test/dfsan/custom.cpp
126

Yeah. That may verify if the 2 bytes are correct too. will be updating this in a separate change. Thanks.