summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2024-03-04 15:53:28 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2024-03-15 15:12:50 -0400
commit7ba5163f45803debbbc496d2981343a5ffa8a172 (patch)
treec251f4ebc5e58a8cc55382cb7a5afc1222e59d16 /python/examples
parentf0b152f29e3b0da7224ea18a0dfb9892a87660f6 (diff)
Separate local variable tokens in higher level ILs from stack variable tokens in lower levels, and improve token usage in disassembly
Diffstat (limited to 'python/examples')
-rwxr-xr-xpython/examples/export_svg.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/examples/export_svg.py b/python/examples/export_svg.py
index 4ff2106f..b2965c93 100755
--- a/python/examples/export_svg.py
+++ b/python/examples/export_svg.py
@@ -195,6 +195,9 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
font-size: 9pt;
fill: {rgbStr('TextToken')};
}}
+ .InstructionToken {{
+ fill: {rgbStr('InstructionColor')};
+ }}
.RegisterToken {{
fill: {rgbStr('RegisterColor')};
}}
@@ -208,6 +211,9 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
fill: {rgbStr('DataSymbolColor')};
}}
.LocalVariableToken, .ArgumentNameToken {{
+ fill: {rgbStr('LocalVariableColor')};
+ }}
+ .StackVariableToken {{
fill: {rgbStr('StackVariableColor')};
}}
.IndirectImportToken, .ImportToken, .ExternalSymbolToken {{
@@ -252,7 +258,7 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
.BaseStructureNameToken, .BaseStructureSeparatorToken {{
fill: {rgbStr('BaseStructureNameColor')};
}}
- .TextToken, .InstructionToken, .BeginMemoryOperandToken, .EndMemoryOperandToken {{
+ .TextToken, .BeginMemoryOperandToken, .EndMemoryOperandToken {{
fill: {rgbStr('TextToken')};
}}
</style>