Skip to content

Commit

Permalink
GUI: Shorten condition trace indicators so they don't get truncated i…
Browse files Browse the repository at this point in the history
…n CFAR nodes.
  • Loading branch information
jim-carciofini committed Jan 22, 2025
1 parent 65c1387 commit fb32e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pate_binja/pate.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,13 +903,13 @@ def pprint_node_contents(self, pre: str = '', out: IO = sys.stdout, show_ce_trac
# Indicate if there are conditions traces
conditionTraceTypes = []
if self.equivalenceConditionTrace:
conditionTraceTypes.append('equivalence')
conditionTraceTypes.append('eq')
if self.assertedConditionTrace:
conditionTraceTypes.append('asserted')
if self.assumedConditionTrace:
conditionTraceTypes.append('assumed')
if conditionTraceTypes:
out.write('Condition traces for: ')
out.write('Traces: ')
out.write(', '.join(conditionTraceTypes))

def pprint_node_domain(self, pre: str = '', out: IO = sys.stdout,
Expand Down

0 comments on commit fb32e79

Please sign in to comment.