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

Importing main.sc throws the below error: #2

Open
AuroViola opened this issue Apr 6, 2022 · 0 comments
Open

Importing main.sc throws the below error: #2

AuroViola opened this issue Apr 6, 2022 · 0 comments

Comments

@AuroViola
Copy link

joern> import $file.main
Compiling /home/esd/workspace/my_project/generic.sc
Compiling /home/esd/workspace/my_project/DNSVulnCodeSmells.sc
/home/esd/workspace/my_project/DNSVulnCodeSmells.sc:137: value assignments is not a member of overflowdb.traversal.Traversal[io.shiftleft.codepropertygraph.generated.nodes.CfgNode]
var dominatedByCompCheck = compCheck.condition.dominates.assignments.toSet
^
/home/esd/workspace/my_project/DNSVulnCodeSmells.sc:204: value reachableByFlows is not a member of io.shiftleft.codepropertygraph.generated.nodes.Expression
val sinkFlows = sink.argument(3).reachableByFlows(taintedId).toSet
^
Compilation Failed

Can someone help me to resolve this issue?

Environment:
$ java --version
openjdk 11.0.14.1 2022-02-08
OpenJDK Runtime Environment (build 11.0.14.1+1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.14.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

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

1 participant