Closed initialWu closed 1 week ago
@initialWu Hello, When I used cpg.runScript
, I get the same error.
The Joern I installed is Version: 2.0.401
I'd like to know if you've solved this problem, and I'd be very grateful if you could give me a reply.
@initialWu Hello, When I used
cpg.runScript
, I get the same error. The Joern I installed is Version: 2.0.401 I'd like to know if you've solved this problem, and I'd be very grateful if you could give me a reply.
The new version of Joern no longer supports cpg.runScript. I resolved this issue by directly running joern-cli with the --script
parameter, following the methods described in Joern’s documentation. The provided scripts in the repository might require modifications in new version.
I've got the same error after running the script, it might be caused by the absence of io.circe in scala3. Have you resolved the issue?
I have resolved the issue by rewriting the script and rebuilding the joern, the problem is caused by lacking certain scala packages
Could you share the modified script?
@ChenglinW can you provide the new script, plz?
I have resolved the issue by rewriting the script and rebuilding the joern, the problem is caused by lacking certain scala packages
Can you help me to solve this problem please
Thanks for your work! I want to get an example of CPG, but when I tried to use your function:
I got the following output:
Then I used your process command
cpg.runScript
in functionjoern_create
ofutils/process/cpg_generator.py
in joern terminal, but I got this error:So I don't think I have the same version of Joern installed as yours. Can you please tell me which version you are using? The Joern I installed is Version: 2.0.357. The Joern document gives instruction of implementing scripts like This. So I tried to modify your
graph-for-funcs.sc
scripts, and added a cpgFile parameter(path of bin file obtained by joern-parse) and an importCpg call(following Joern Document) like :But then I got more errors. Could you please give me some help? Thanks.