This is an archive of the discontinued LLVM Phabricator instance.

Add a new interceptor for fparseln(3) from NetBSD
ClosedPublic

Authored by krytarowski on Nov 28 2018, 1:17 PM.

Diff Detail

Event Timeline

krytarowski created this revision.Nov 28 2018, 1:17 PM
vitalybuka added inline comments.Dec 5 2018, 1:50 AM
lib/sanitizer_common/sanitizer_common_interceptors.inc
7365

maybe unpoison_file?

test/sanitizer_common/TestCases/NetBSD/fparseln.cc
11

would be nice to keep declarations close to use
and use asserts

krytarowski marked an inline comment as done.Dec 6 2018, 8:50 PM
krytarowski added inline comments.
lib/sanitizer_common/sanitizer_common_interceptors.inc
7365

There is no sanitization of FILE right now on NetBSD.

  • align style
vitalybuka accepted this revision.Dec 7 2018, 1:44 PM
This revision is now accepted and ready to land.Dec 7 2018, 1:44 PM
This revision was automatically updated to reflect the committed changes.