| 87 | |
| 88 | # --- MEMORYVIEW1011 --- |
| 89 | class TestMemoryview1011: |
| 90 | def test_tainted_silent_disabled(self): |
| 91 | # MEMORYVIEW1011 disabled: memory view creation is not a security sink. |
| 92 | assert not_fires("d=request.GET.get('data'); b=bytes(d,'utf-8'); memoryview(b)", "MEMORYVIEW1011") |
| 93 | def test_constant_safe(self): |
| 94 | assert not_fires("memoryview(b'hello')", "MEMORYVIEW1011") |
| 95 | |
| 96 | # --- ORD1014 --- |
| 97 | class TestOrd1014: |
nothing calls this directly
no outgoing calls
no test coverage detected