From 8767400b712f12f459556844e27d9b9f5ff037bd Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Wed, 27 Nov 2024 12:15:23 -0500 Subject: Add line formatter API and a generic line formatter plugin --- python/examples/pseudo_python.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'python/examples') diff --git a/python/examples/pseudo_python.py b/python/examples/pseudo_python.py index 6a9e401b..655039fe 100644 --- a/python/examples/pseudo_python.py +++ b/python/examples/pseudo_python.py @@ -316,16 +316,7 @@ class PseudoPythonFunction(LanguageRepresentationFunction): tokens.append(InstructionTextToken(InstructionTextTokenType.TextToken, ": ")) tokens.append(instr.var.type.get_tokens()) elif instr.operation == HighLevelILOperation.HLIL_FLOAT_CONST: - # The constant value in the instruction contains the raw bits of the floating point value. Convert - # this to a floating point value and display it. - if instr.size == 4: - value = struct.unpack(" DisassemblyTextLine: tokens = [] -- cgit v1.3.1