ISO/IEC TS 17961 [taintstrcpy]
Tainted strings are passed to a string copying function
Description
Rule Definition
Tainted strings are passed to a string copying function.1
Polyspace Implementation
This checker checks for Tainted NULL or non-null-terminated string.
Extend Checker
A default Bug Finder analysis might not flag a Tainted NULL or
non-null-terminated string issue for certain inputs that originate outside of
the current analysis boundary. See Sources of Tainting in a Polyspace Analysis. To consider any data
that does not originate in the current scope of Polyspace analysis as tainted, use the
command line option -consider-analysis-perimeter-as-trust-boundary
.
Examples
Check Information
Decidability: Undecidable |
Version History
Introduced in R2019a
1 Extracts from the standard "ISO/IEC TS 17961 Technical Specification - 2013-11-15" are reproduced with the agreement of AFNOR. Only the original and complete text of the standard, as published by AFNOR Editions - accessible via the website www.boutique.afnor.org - has normative value.