MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / test_subscript_propagation

Function test_subscript_propagation

tests/test_taint.py:135–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133
134
135def test_subscript_propagation():
136 src = """
137 x = c()
138 x[:3]
139 """
140 p = "c()"
141 node = process_taint(src, p)
142 assert node._taint_class == Taints.TAINTED
143
144
145def test_return_statement_propagation():

Callers

nothing calls this directly

Calls 1

process_taintFunction · 0.85

Tested by

no test coverage detected