From 9b0fb74d9434832ab3bfde1189445eaf4ead3d3f Mon Sep 17 00:00:00 2001 From: Yacine Elhamer Date: Mon, 5 Jun 2023 13:36:50 +0100 Subject: [PATCH] fix typo: "Elf" to "elf" --- capa/features/extractors/viv/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/features/extractors/viv/function.py b/capa/features/extractors/viv/function.py index dcdaf5a5..87403a65 100644 --- a/capa/features/extractors/viv/function.py +++ b/capa/features/extractors/viv/function.py @@ -33,7 +33,7 @@ def interface_extract_function_XXX(fh: FunctionHandle) -> Iterator[Tuple[Feature def extract_function_symtab_names(fh: FunctionHandle) -> Iterator[Tuple[Feature, Address]]: - if fh.inner.vw.metadata["Format"] == "Elf": + if fh.inner.vw.metadata["Format"] == "elf": # the file's symbol table gets added to the metadata of the vivisect workspace. # this is in order to eliminate the computational overhead of refetching symtab each time. if "symtab" not in fh.ctx["cache"]: