From 2e26252fb8eb8b6be4e2ba49346d74546c3da99e Mon Sep 17 00:00:00 2001 From: Arthur Chan Date: Mon, 20 Jan 2025 15:55:31 +0000 Subject: [PATCH] [Frontend-jvm] Fix bug in incomplete entrypoint confusion Signed-off-by: Arthur Chan --- src/fuzz_introspector/frontends/frontend_jvm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fuzz_introspector/frontends/frontend_jvm.py b/src/fuzz_introspector/frontends/frontend_jvm.py index 38e9181a..bd532ef9 100644 --- a/src/fuzz_introspector/frontends/frontend_jvm.py +++ b/src/fuzz_introspector/frontends/frontend_jvm.py @@ -1170,6 +1170,9 @@ def extract_calltree(self, if not visited_functions: visited_functions = set() + if function and '].' not in function: + function = None + if not source_code and function: source_code = self.find_source_with_method(function)