Closed fmeum closed 1 year ago
When Jazzer is executed from PATH, argv[0] will just be jazzer, which we can't find jazzer_standalone.jar relative to.
PATH
argv[0]
jazzer
jazzer_standalone.jar
Also fix argv[0] in the case where no shell launcher is generated.
Fixes #641
The code path is also used in all Bazel tests now as we pass the result of the new function to the C++ runfiles library. But I will try to add coverage for PATH invocation specifically.
When Jazzer is executed from
PATH
,argv[0]
will just bejazzer
, which we can't findjazzer_standalone.jar
relative to.Also fix
argv[0]
in the case where no shell launcher is generated.Fixes #641