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

Function test_binop_propagation

tests/test_taint.py:159–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158
159def test_binop_propagation():
160 src = """
161 x = c()
162 a = "test" + x
163 b = a + "test"
164 """
165 p = "c()"
166 node = process_taint(src, p)
167 assert isinstance(node, Var)
168 assert node.var_name == "b"
169 assert node._taint_class == Taints.TAINTED
170
171
172def test_function_argument_propagation():

Callers

nothing calls this directly

Calls 1

process_taintFunction · 0.85

Tested by

no test coverage detected