You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the error message, it seems that the problem might be related to the version of Joern you have installed. Joern frequently updates, and newer versions might have changes in API or configuration parameters. I recommend installing Joern version 1.1.260 with the following commands:
When I run the file as instructed: python code_graph_gen.py 1, the following error occurs:
Warning: Unknown option --params=filename=/home/diaowd/counterfactual-vulnerability-detection/cfexplainer/storage/processed/bigvul/after/188624.c
Jul 22, 2024 8:41:43 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
executing /home/diaowd/counterfactual-vulnerability-detection/cfexplainer/storage/external/get_func_graph.scala
Missing argument: --filename
Expected Signature: exec
--filename
[07/22/2024 - 20:41:50] File "/home/diaowd/counterfactual-vulnerability-detection/cfexplainer/helpers/joern.py", line 228
Failed /home/diaowd/counterfactual-vulnerability-detection/cfexplainer/storage/processed/bigvul/after/188624.c: [Errno 2] No such file or directory: '/home/diaowd/counterfactual-vulnerability-detection/cfexplainer/storage/processed/bigvul/after/188624.c.edges.json'
How should this issue be resolved? Is there anyone kind enough to provide a solution?
Thanks
The text was updated successfully, but these errors were encountered: