This is an archive of the discontinued LLVM Phabricator instance.

Add interceptors for md5(3) from NetBSD
ClosedPublic

Authored by krytarowski on Nov 27 2018, 10:37 PM.

Details

Summary

MD5Init, MD5Update, MD5Final, MD5End, MD5File, MD5Data - calculates the
RSA Data Security, Inc., "MD5" message digest.

Add a dedicated test.

Diff Detail

Event Timeline

krytarowski created this revision.Nov 27 2018, 10:37 PM
vitalybuka requested changes to this revision.Dec 5 2018, 1:44 AM
vitalybuka added inline comments.
lib/sanitizer_common/sanitizer_common_interceptors.inc
7378

needs writes

7385

read context

This revision now requires changes to proceed.Dec 5 2018, 1:44 AM
  • apply comments from review
  • align style
krytarowski marked 2 inline comments as done.Dec 7 2018, 3:17 PM
vitalybuka accepted this revision.Dec 7 2018, 3:26 PM
vitalybuka added inline comments.
test/sanitizer_common/TestCases/NetBSD/md5.cc
99

would be nice to have meaningful test names

This revision is now accepted and ready to land.Dec 7 2018, 3:26 PM
This revision was automatically updated to reflect the committed changes.