================
Comment at: lib/dfsan/dfsan_custom.cc:751
@@ +750,3 @@
+ } else {
+ size_t len = ret ? ret - s + 1 : strlen(s) + 1;
+ *ret_label =
----------------
Shouldn't this always be strlen(s)+1? The function always needs to inspect each char in the string, right?
http://llvm-reviews.chandlerc.com/D2354