Skip to content

Commit

Permalink
[casr-js] Launch executable scripts (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaDarochek authored Dec 20, 2023
1 parent 4822972 commit cf56d75
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 cf56d75

Please sign in to comment.