1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00
psalm/docs/security_analysis/annotations.md
Oliver Hader ae54b72dba
Update documentation for taints and global configuration (#5098)
* [DOCS] Extend documentation on global variables configuration

* [DOCS] Synchronize meaning of @psalm-taint-source input with source code

* [DOCS] Add documentation for conditional @psalm-taint-escape

* [DOCS] Add documentation for @psalm-taint-unescape
2021-01-29 11:47:35 +01:00

738 B

Security analysis annotations

@psalm-taint-source <taint-type>

See Custom taint sources.

@psalm-taint-sink <taint-type> <param-name>

See Custom taint sinks.

@psalm-taint-escape <taint-type #conditional>

See Escaping tainted output.

@psalm-taint-unescape <taint-type>

See Unescaping statements.

@psalm-taint-specialize

See Specializing taints in functions and Specializing taints in classes.