DeepWukong icon indicating copy to clipboard operation
DeepWukong copied to clipboard

how to install the old version of joern?

Open zainebmb opened this issue 1 year ago • 9 comments

in joern-parse.py file : image

Does the joern path from the config file refer to its path in this repository do i have to clone this repo: https://github.com/ives-nx/dwk_preprocess/tree/main/joern_slicer/joern to use joern-parse? if yes, shouldn't the path in the config file be the full path: joern_slicer/joern/joern-parse ? else how to install joern? I need an answer please, thanks!

zainebmb avatar May 08 '23 18:05 zainebmb

Thank you for your question. Here are the steps to use joern:

  1. clone https://github.com/ives-nx/dwk_preprocess/tree/main/joern_slicer/joern
  2. build joern to produce joern-parse
  3. put the path to joern-parse in your local environment into the config file. (could be absolute path)

jumormt avatar May 09 '23 04:05 jumormt

thank you! another question please, does this old version support python? can i generate PDG for python code using this joern parser?

zainebmb avatar May 09 '23 09:05 zainebmb

Only C/C++ code I'm afraid.

jumormt avatar May 09 '23 10:05 jumormt

when i run build.gradle file it raises this error image

what can be wrong?

zainebmb avatar May 09 '23 10:05 zainebmb

Run build.sh to build. If you still get the error you can try an older version of Gradle (see https://joern.readthedocs.io/en/dev/installation.html).

jumormt avatar May 09 '23 11:05 jumormt

i am using compatible versions of java ( 17) and gradle (7.3) and i installed all the necessary dependencies yet the problem persists!

zainebmb avatar May 09 '23 14:05 zainebmb

i guess the cause of that error is that the task deploy can't find the task build in build.gradle file how can i do ?

zainebmb avatar May 09 '23 17:05 zainebmb

在 joern-parse.py 文件中: image

配置文件中的 joern 路径是否引用其在此存储库中的路径,我是否必须克隆此存储库:https://github.com/ives-nx/dwk_preprocess/tree/main/joern_slicer/joern 使用 joern-parse?如果是,配置文件中的路径不应该是完整路径吗:joern_slicer/joern/joern-parse ?否则如何安装 Joern?我需要一个答案,谢谢!

您好 是怎么安装的这个老版本的joern ,可以教我一下么 十分感谢 求!!!!

mcf20 avatar Aug 15 '24 00:08 mcf20

谢谢你的提问。以下是使用 joren 的步骤:

  1. 克隆 https://github.com/ives-nx/dwk_preprocess/tree/main/joern_slicer/joern
  2. 构建 joern 以生成 joern-parse
  3. 将本地环境中的 joern-parse 路径放入配置文件中。(可以是绝对路径)

可否展开说一下具体的joern安装配置呢 老师 求!!!

mcf20 avatar Aug 15 '24 01:08 mcf20