This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Implement reallocarray.
ClosedPublic

Authored by eugenis on Apr 24 2019, 6:17 PM.

Details

Summary

It's a cross of calloc and realloc. Sanitizers implement calloc-like check for size
overflow.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Apr 24 2019, 6:17 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 24 2019, 6:17 PM
Herald added subscribers: Restricted Project, kubamracek. · View Herald Transcript
vitalybuka accepted this revision.Apr 25 2019, 10:25 AM
This revision is now accepted and ready to land.Apr 25 2019, 10:25 AM
eugenis updated this revision to Diff 197231.Apr 29 2019, 5:36 PM

disable sanitizer_common reallocarray test on darwin

This revision was automatically updated to reflect the committed changes.