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

Function test_variable_assignment_propagation

tests/test_taint.py:112–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111
112def test_variable_assignment_propagation():
113 src = """
114 x = c()
115 y = x
116 """
117 p = "c()"
118 node = process_taint(src, p)
119 assert node.var_name == "y"
120 assert node._taint_class == Taints.TAINTED
121
122
123def test_attribute_propagation():

Callers

nothing calls this directly

Calls 1

process_taintFunction · 0.85

Tested by

no test coverage detected