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

how to install the old version of joern? #12

Open
zainebmb opened this issue May 8, 2023 · 9 comments
Open

how to install the old version of joern? #12

zainebmb opened this issue May 8, 2023 · 9 comments

Comments

@zainebmb
Copy link

zainebmb commented May 8, 2023

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!

@jumormt
Copy link
Owner

jumormt commented May 9, 2023

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)

@zainebmb
Copy link
Author

zainebmb commented May 9, 2023

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

@jumormt
Copy link
Owner

jumormt commented May 9, 2023

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

@zainebmb
Copy link
Author

zainebmb commented May 9, 2023

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

what can be wrong?

@jumormt
Copy link
Owner

jumormt commented May 9, 2023

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).

@zainebmb
Copy link
Author

zainebmb commented May 9, 2023

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

@zainebmb
Copy link
Author

zainebmb commented May 9, 2023

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 ?

@mcf20
Copy link

mcf20 commented Aug 15, 2024

在 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
Copy link

mcf20 commented Aug 15, 2024

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

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

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

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

3 participants