[PATCH] Moar string interceptors: strstr, strcasestr, strcspn, strpbrk

Joerg Sonnenberger joerg at NetBSD.org
Wed Nov 12 12:24:12 PST 2014


The interceptors should enforce the contract. For all string functions without explicit size argument, this means that the input is a valid nul-terminated string. Different implementations take different optimisation short cuts, but depending on such implementation details is part of what the interceptors should expose.

http://reviews.llvm.org/D6056






More information about the llvm-commits mailing list