Haiyang-Sun / nodeprof.js

Instrumentation framework for Node.js compliant to ECMAScript 2020 based on GraalVM.
Apache License 2.0
53 stars 22 forks source link

Unsupported Jalangi features #26

Closed aralisza closed 5 years ago

aralisza commented 5 years ago

Hello,

My team is using nodeprof and we are interested in the declare and endExpresion callbacks that Jalangi has. Is this something that's in the works? If so, is there an estimated time for completion? If not, how difficult would you estimate it to be to implement?

Thanks in advance!

Haiyang-Sun commented 5 years ago

Hi,

You can find the support for endExpression here: #27 , feel free to try it and give feedbacks.

To support declare, some patch for instrumentation is needed at Graal.js side. I'm a bit busy recently, but I can try to work on such a patch later this week. After it's integrated into Graal.js, I will release it here.

aralisza commented 5 years ago

Are there any updates about declare support?

Haiyang-Sun commented 5 years ago

The declare hook is now supported with the recent update https://github.com/Haiyang-Sun/nodeprof.js/commit/ccff3cafe350cba49af91a88bfa38b564a4e6aef A basic endExpression hook has also been supported as discussed in #27