Skip to content

Error Running code_graph_gen.py #34

@Wendel6866799

Description

@Wendel6866799

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions