ISO/IEC TS 17961 [taintsink]
Tainted, potentially mutilated, or out-of-domain integer values are used in a restricted sink
Description
Rule Definition
Tainted, potentially mutilated, or out-of-domain integer values are used in a restricted sink.1
Polyspace Implementation
This checker checks for these issues:
Tainted size of variable length array.
Pointer dereference with tainted offset.
Array access with tainted index.
Extend Checker
A default Bug Finder analysis might not flag a Tainted size
of variable length array, Pointer dereference
with tainted offset, or Array access with
tainted index 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.