From 7cc10401d5745dfdd38685fbde851190aee8ed85 Mon Sep 17 00:00:00 2001 From: Mike Hunhoff Date: Mon, 28 Aug 2023 15:15:47 -0600 Subject: [PATCH] fix #1772 --- capa/features/extractors/ghidra/extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/features/extractors/ghidra/extractor.py b/capa/features/extractors/ghidra/extractor.py index f68b5dd0..d4439f0f 100644 --- a/capa/features/extractors/ghidra/extractor.py +++ b/capa/features/extractors/ghidra/extractor.py @@ -44,7 +44,7 @@ class GhidraFeatureExtractor(FeatureExtractor): for fhandle in ghidra_helpers.get_function_symbols(): fh: FunctionHandle = FunctionHandle( - address=fhandle.getEntryPoint().getOffset(), + address=AbsoluteVirtualAddress(fhandle.getEntryPoint().getOffset()), inner=fhandle, ctx={"imports_cache": self.imports, "externs_cache": self.externs, "fakes_cache": self.fakes}, )