Part 2 of the series adds attribute nostring to annotate arrays of and pointers to char with that are intended to store sequences of characters that aren't necessarily valid (nul-terminated) strings. In the subsequent patch the attribute is relied on to avoid diagnosing strcncpy calls that truncate strings and create such copies. In the future I'd like to also use the attribute to diagnose when arrays or pointers with the attribute are passed to functions that expect nul-terminated strings (such as strlen or strcpy). Martin