[llvm-commits] [ASan] Define an internal implementation of strchr to make stack OOB tests pass (issue 5668047)
konstantin.s.serebryany at gmail.com
konstantin.s.serebryany at gmail.com
Tue Feb 14 10:49:15 PST 2012
There is only one place where REAL(strchr) is used and that place is not
performance critical, so we don't need to use REAL(strchr).
Instead define internal_strchr (as you did) and use it directly.
Also, please check what does usual strchr return with c=0.
http://codereview.appspot.com/5668047/
More information about the llvm-commits
mailing list