| 104 | |
| 105 | # --- CHR1017 --- |
| 106 | class TestChr1017: |
| 107 | def test_tainted_silent_disabled(self): |
| 108 | # CHR1017 disabled: chr() converts an integer to a character — |
| 109 | # never a security sink; generates FPs in encoding implementations. |
| 110 | assert not_fires("n=request.GET.get('n'); chr(n)", "CHR1017") |
| 111 | def test_constant_safe(self): |
| 112 | assert not_fires("chr(65)", "CHR1017") |
| 113 | |
| 114 | # --- CENTER927 / LJUST930 / RJUST933 --- |
| 115 | class TestJustification: |
nothing calls this directly
no outgoing calls
no test coverage detected