Taint Configuration Format and API
The include/Annotation/Taint/ headers define Lotus’s taint specification
format and the runtime API used to query sources, sinks, ignored functions, and
propagation rules.
Location: include/Annotation/Taint/
Main APIs:
TaintSpecdescribes a taint source or sink location.PipeSpecmodels taint propagation between positions.FunctionTaintConfigandTaintConfigstore parsed specifications.TaintConfigParserparses.specfiles.TaintConfigManagerprovides a shared lookup interface.
Typical use cases:
Mark external functions as taint sources or sinks.
Define sanitizer-like propagation behavior.
Reuse the same taint model across IFDS analyses and security checkers.
See also Annotation Framework, Checker Framework, and IFDS / IDE Engine.