Skip to content

Commit

Permalink
frontend: Fix bug on wrong additional argument (#2041)
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
  • Loading branch information
arthurscchan authored Feb 3, 2025
1 parent 3cbd1ff commit b3d3e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/fuzz_introspector/frontends/frontend_jvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1277,8 +1277,7 @@ def load_treesitter_trees(source_files: list[str],
return JvmProject(results)


def analyse_source_code(source_content: str,
entrypoint: str) -> JvmSourceCodeFile:
def analyse_source_code(source_content: str) -> JvmSourceCodeFile:
"""Returns a source abstraction based on a single source string."""
source_code = JvmSourceCodeFile('jvm',
source_file='in-memory string',
Expand Down
4 changes: 1 addition & 3 deletions src/fuzz_introspector/frontends/frontend_rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,10 +866,8 @@ def load_treesitter_trees(source_files: list[str],
return RustProject(results)


def analyse_source_code(source_content: str,
entrypoint: str) -> RustSourceCodeFile:
def analyse_source_code(source_content: str) -> RustSourceCodeFile:
"""Returns a source abstraction based on a single source string."""
# pylint: disable=unused-argument
source_code = RustSourceCodeFile('rust',
source_file='in-memory string',
source_content=source_content.encode())
Expand Down

0 comments on commit b3d3e57

Please sign in to comment.