Skip to content

[UI] added trim option - #47

Merged
KevinHock merged 4 commits into
masterfrom
46_trim_reassigned_in_option
Jun 5, 2017
Merged

KevinHock merged 4 commits into
masterfrom
46_trim_reassigned_in_option

Conversation

@KevinHock

@KevinHock KevinHock commented May 31, 2017 •

Copy link
Copy Markdown
Collaborator

This is an attempt to fix #46. Let me know what you think @Thalmann.

@KevinHock
KevinHock requested a review from Thalmann May 31, 2017 19:10
@KevinHock KevinHock changed the title added trim option [UI] added trim option May 31, 2017
Comment thread pyt/vulnerabilities.py
source_in_sink = lattice.in_constraint(source.cfg_node, sink.cfg_node)

secondary_in_sink = []
secondary_in_sink = list()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 :)

@Thalmann

Thalmann commented Jun 1, 2017

Copy link
Copy Markdown
Contributor

Looks good :)
Good renaming!

I shortly glimpsed over the additions, what is the idea with the evil_node and what is its purpose?

@KevinHock

Copy link
Copy Markdown
Collaborator Author

Good catch, I couldn't really think of a good name for it. I hope this commit makes it more clear bd33820. That location is where we step backwards and find the nodes to add to the trimmed list. I can't think of a good one-size-fits-all variable name so I did node_in_the_vulnerability_chain = secondary_node_in_sink_args to make it more clear, what are your thoughts on this? :/

@KevinHock

Copy link
Copy Markdown
Collaborator Author

Going to make a blackbox PR that depends on this code, to deal with #45.

@KevinHock
KevinHock merged commit 6b3862a into master Jun 5, 2017
@KevinHock
KevinHock deleted the 46_trim_reassigned_in_option branch March 16, 2018 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trim the "Reassigned in:" nodes to the ones that are relevant

2 participants