Skip to content

Commit

Permalink
[casr-js] Launch executable scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
PaDarochek committed Dec 20, 2023
1 parent 4822972 commit 2e1c2ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion casr/src/bin/casr-libfuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ fn main() -> Result<()> {
"casr-python"
} else if argv[0].ends_with("jazzer") || argv[0].ends_with("java") {
"casr-java"
} else if argv[0].ends_with("node")
} else if argv[0].ends_with(".js")
|| argv[0].ends_with("node")
|| argv.len() > 1 && argv[0].ends_with("npx") && argv[1] == "jazzer"
|| argv[0].ends_with("jsfuzz")
{
Expand Down

0 comments on commit 2e1c2ad

Please sign in to comment.