Closed ayuan0828 closed 10 months ago
The reduction script specifies that the reduced program should exit with 0. If an empty program exits 0, then perses will produce an empty file.
There are more examples of the reduction scripts in the folder //test/org/perses/toy_benchmarks.
I understand the reason now, thank you very much.
I tried using Perses to reduce the javascript code, but no matter how many lines of code there are in the javascript file, the final result of the reduction is empty. I don't know which step is wrong, can you help me?
Executed command:
java -jar perses_deploy.jar -t test.sh -i test.js
test.sh:
test.js:
the result: