[llvm-commits] [ASan] Define an internal implementation of strchr to make stack OOB tests pass (issue 5668047)

Timur Iskhodzhanov timurrrr at google.com
Tue Feb 14 11:37:46 PST 2012


On Tue, Feb 14, 2012 at 11:33 PM,  <konstantin.s.serebryany at gmail.com> wrote:
> LGTM!
Thanks!
r150499

> You may want to declare internal_strchr as returning "const char *" --
> it does not have to obey the C standard bug.
I want to keep its prototype compatible with REAL(strchr) just in case.
Otherwise, one might have to crack his head a few more times :)



More information about the llvm-commits mailing list