Skip to content

Commit

Permalink
updated souce method
Browse files Browse the repository at this point in the history
  • Loading branch information
esohel30 committed Jul 5, 2024
1 parent 12ca9f4 commit c65cccb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/pysa_fuzzer/fuzzer2.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ def generate_import_statements(self) -> str:
return "import random\nimport math\n"

def generate_source(self) -> str:
import_statements = self.generate_import_statements()
curr_var = self.generate_new_variable()
return f"{import_statements}{curr_var} = input()"
return f"{curr_var} = input()"

def generate_sink(self) -> str:
prev_var = self.get_last_variable()
Expand Down

0 comments on commit c65cccb

Please sign in to comment.