We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95e2ac3 + 1b61080 commit af23fb0Copy full SHA for af23fb0
pyt/vulnerabilities/vulnerabilities.py
@@ -398,9 +398,14 @@ def get_vulnerability(
398
Returns:
399
A Vulnerability if it exists, else None
400
"""
401
- nodes_in_constraint = [secondary for secondary in reversed(source.secondary_nodes)
402
- if lattice.in_constraint(secondary,
403
- sink.cfg_node)]
+ nodes_in_constraint = [
+ secondary
+ for secondary in reversed(source.secondary_nodes)
404
+ if lattice.in_constraint(
405
+ secondary,
406
+ sink.cfg_node
407
+ )
408
+ ]
409
nodes_in_constraint.append(source.cfg_node)
410
if sink.trigger.all_arguments_propagate_taint:
411
sink_args = get_sink_args(sink.cfg_node)
0 commit comments