Skip to content

Commit

Permalink
CFAR graph color choice that works better with binja dark themes (Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-carciofini committed Jun 27, 2024
1 parent fb5c224 commit c5778f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pate_binja/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,12 +731,11 @@ def build_pate_flow_graph(self, cfarGraph: pate.CFARGraph):

if cfar_node.id.find(' vs ') >= 0:
# Per discussion with Dan, it does not make sense to highlight these.
# flow_node.highlight = HighlightStandardColor.BlueHighlightColor
pass
elif cfar_node.id.find('(original') >= 0:
flow_node.highlight = HighlightStandardColor.GreenHighlightColor
elif cfar_node.id.find('(patched)') >= 0:
flow_node.highlight = HighlightStandardColor.MagentaHighlightColor
flow_node.highlight = HighlightStandardColor.BlueHighlightColor

self.flowGraph.append(flow_node)
self.cfarToFlow[cfar_node.id] = flow_node
Expand Down

0 comments on commit c5778f5

Please sign in to comment.