mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-30 20:39:39 +02:00
13 lines
442 B
Python
13 lines
442 B
Python
"""Points-to alias fixture: helper that mutates its first argument by
|
|||
storing its second argument into a field.
|
|||
|
|||
The helper returns None, so nothing propagates through the return.
|
|||
Without a points-to channel the cross-file summary loses the taint
|
|||
edge entirely. With it, the analysis emits `Param(1) -> Param(0)`
|
|||
and the caller's argument alias inherits the stored taint.
|
|||
"""
|
|||
|
|||
|
|||
def populate(target, user_input):
|
|||
target.data = user_input
|