NetBSD ships with strlcpy(3) and strlcat(3), a safe
replacement of strcpy(3) and strcat(3).
Hide both functions under SANITIZER_INTERCEPT_STRLCPY.
Sponsored by <The NetBSD Foundation>
Differential D42061
Add new interceptors: strlcpy(3) and strlcat(3) krytarowski on Jan 15 2018, 4:29 AM. Authored by
Details NetBSD ships with strlcpy(3) and strlcat(3), a safe Hide both functions under SANITIZER_INTERCEPT_STRLCPY. Sponsored by <The NetBSD Foundation>
Diff Detail
Event TimelineComment Actions tests?
Comment Actions Should be done.
|
maybe just?
INTERCEPTOR(SIZE_T, strlcpy, char *dst, char *src, SIZE_T size) {
}