From 93771c53472b0754defa49f4acdccfc69bde0c79 Mon Sep 17 00:00:00 2001 From: Nofix <16479266+N0fix@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:40:20 +0200 Subject: [PATCH] Fix issue #106 --- python/flare/idb2pat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/flare/idb2pat.py b/python/flare/idb2pat.py index c27a702..643a2ea 100644 --- a/python/flare/idb2pat.py +++ b/python/flare/idb2pat.py @@ -218,8 +218,7 @@ def make_func_sig(config, func): sig += " %02X" % (alen) sig += " %04X" % (crc) - # TODO: does this need to change for 64bit? - sig += " %04X" % (func.end_ea - func.start_ea) + sig += " %08X" % (func.end_ea - func.start_ea) # this will be either " :%04d %s" or " :%08d %s" public_format = " :%%0%dX %%s" % (config.pointer_size)