Max Leuthäuser
Max Leuthäuser
Done with: https://github.com/joernio/joern/pull/2090 and follow-ups.
There might be something wrong with the docker container setup there. @mpollmeier Who would be the right person to ask?
How did you install the joern distribution in your docker container? Something like this: https://github.com/joernio/joern/blob/master/ci/Dockerfile.alma?
I just downloaded https://github.com/joernio/joern/releases/latest/download/joern-cli.zip, unzipped it and ran ./joern. Importing js code just worked fine. @mpollmeier Maybe there is something wrong with the install script? Can't test it on Linux...
Also please note: There are certain ignore patterns for folders and files: 1) https://github.com/joernio/joern/blob/master/joern-cli/frontends/jssrc2cpg/src/main/scala/io/joern/jssrc2cpg/utils/AstGenRunner.scala 2) https://github.com/joernio/astgen/blob/main/index.js If your js files and folders are named like that, they wont be scanned...
Please run it again without the `--with-include-auto-discovery` flag. I have seen such issues w.r.t. type resolution in the past already. Many of them are due to failed macro / include...
Almost all the stuff is behind `#ifdefs`. The remainder is mostly declarations. I suspect no pdg will result from that at all. You should see tons of typedecls and function...
This seems to be a quite old problem: https://github.com/neo4j/neo4j/issues/2881
gif.h is available in that folder and contains all the macros and defines used for that function?
If these header files contain the macros or defines required to parse your .c file correctly then you will have to put them in the same folder (or provide their...