Open werifu opened 1 year ago
Hi @werifu, thanks for looking into this! Improving the support for the Node.js standard library is on our TODO. I'm not sure the best approach is to include the library source code in the analysis, if that's what you suggest. Contact me on amoeller@cs.au.dk, then we can talk about different approaches.
I need the feature to recognize and analyze calls to Node standard library while Jelly does not support it yet.
My planning solution:
/tmp/node-lib/
if cache does not exist. The version of code can be determined byprocess.version
Some details
--ignore-builtin
to disable this feature and ignore all calls to standard library such ashttp.get()
just like what it is now. It will not download code. b.--ignore-dependencies
will not analyze code inside builtin modules, which is the same as 3rd party lib. b.--cache-dir
to specify the cache directory c.--keep-cache
to keep the source code cache when analysis is finished.How about my solution? I am working for this feature since I need it urgently. If it's okay after discussion, I'll open a PR when I finish it.