We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2573b commit 86046c6Copy full SHA for 86046c6
maltoolbox/patternfinder/attackgraph_patterns.py
@@ -75,10 +75,11 @@ def find_matches_recursively(
75
Args:
76
node - node to check if current `condition` matches for
77
condition_list - first condition in list will attempt match `node`
78
- matching_nodes - list of matched nodes so far (recursively built)
+ current_path - list of matched nodes so far (recursively built)
79
+ matching_paths - set of matched paths so far (recursively built)
80
condition_match_count - number of matches on current condition so far
81
- Return: list of lists (paths) of AttackGraphNodes that match the condition
82
+ Return: set of tuples (paths) of AttackGraphNodes that match the condition
83
"""
84
85
# Init path lists if None, or copy/init into new lists for each iteration
0 commit comments