Skip to content

Commit 15d4e7a

Browse files
committed
fix: remove syntax highlighting from disassembly output
1 parent e87d2c0 commit 15d4e7a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ghydra/formatters/table_formatter.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,8 @@ def format_disassembly(self, data: Dict[str, Any]) -> str:
144144

145145
disasm_text = "\n".join(lines)
146146

147-
syntax = Syntax(
148-
disasm_text,
149-
"asm",
150-
theme="monokai",
151-
line_numbers=False,
152-
word_wrap=False
153-
)
154-
155147
header = f"[cyan]{title}[/cyan] ({total} instructions)\n"
156-
return self._capture(header) + "\n" + self._capture(syntax)
148+
return self._capture(header) + "\n" + disasm_text
157149

158150
def format_memory(self, data: Dict[str, Any]) -> str:
159151
"""Format memory as hex dump."""

0 commit comments

Comments
 (0)