Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend-JVM: Add new frontend for jvm using tree-sitter #1906

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/fuzz_introspector/frontends/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

import logging

from fuzz_introspector.frontends import (frontend_c, frontend_cpp, frontend_go)
from fuzz_introspector.frontends import (frontend_c, frontend_cpp, frontend_go,
frontend_jvm)

logger = logging.getLogger(name=__name__)

Expand All @@ -35,6 +36,8 @@ def analyse_source_file(code: bytes, language: str):
return frontend_cpp.analyse_source_code(code)
elif language == 'go':
return frontend_go.analyse_source_code(code)
elif language == 'jvm':
return frontend_jvm.analyse_source_code(code)
else:
logger.info('Language %s not supported', language)
return None
Loading
Loading