Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in TraceAll.js command #168

Open
Jack4425 opened this issue May 28, 2021 · 1 comment
Open

Issue in TraceAll.js command #168

Jack4425 opened this issue May 28, 2021 · 1 comment

Comments

@Jack4425
Copy link

Jack4425 commented May 28, 2021

Hi,

I recently started working on Jalangi.I'm trying to run the following commands in TraceAll.js file

node src/js/commands/jalangi.js --inlineIID --inlineSource --analysis src/js/sample_analyses/ChainedAnalyses.js --analysis src/js/runtime/SMemory.js --analysis src/js/sample_analyses/pldi16/TraceAll.js tests/pldi16/TraceAllTest.js

node src/js/commands/esnstrument_cli.js --inlineIID --inlineSource --analysis src/js/sample_analyses/ChainedAnalyses.js --analysis src/js/runtime/SMemory.js --analysis src/js/sample_analyses/pldi16/TraceAll.js --out /tmp/pldi16/TraceAllTest.html tests/pldi16/TraceAllTest.html

node src/js/commands/esnstrument_cli.js --inlineIID --inlineSource --analysis src/js/sample_analyses/ChainedAnalyses.js --analysis src/js/runtime/SMemory.js --analysis src/js/sample_analyses/pldi16/TraceAll.js --out /tmp/pldi16/TraceAllTest.js tests/pldi16/TraceAllTest.js

The first one works perfect but the second and third one are showing errors as you can see below.

Error: ENOENT: no such file or directory, open '/tmp/pldi16/TraceAllTest.html'

Error: ENOENT: no such file or directory, open '/tmp/pldi16/TraceAllTest.json'

The TraceAllTest.html has the same path as in the above command but don't know why it is showing error? Any suggestion in this case please. Thanks

@msridhar
Copy link
Contributor

msridhar commented Jul 7, 2021

Hi @Jack4425 very sorry for the slow response. Not sure if it's still helpful, but for the cases that were failing, did the /tmp/pldi16 directory already exist? I wonder if Jalangi is missing logic to create output directories that don't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants