Add tests for the more character-oriented functions, that is:
- fputc(), putc() and putchar()
- getc_unlocked()
- putc_unlocked() and putchar_unlocked()
Differential D56152
[sanitizer_common] Add tests for more *putc and *getc variants mgorny on Dec 29 2018, 10:32 AM. Authored by
Details Add tests for the more character-oriented functions, that is:
Diff Detail
Event TimelineComment Actions Are all the functions available for FreeBSD, NetBSD, Linux, Android, Solaris an Darwin? I would include a test for getchar_unlocked() anyway, even if it's an alias in most/all implementations. Comment Actions Does this depend on D56109? It looks like we shall install interceptors for a lot of routines that are FILE* users. Comment Actions I don't know. I suppose the easiest way to check would be to commit it and see what happens. Then address the fallout.
I suppose I could do that but I'd have to pipe some data into the stdin. |