Comments (1)
Only files with C or CPP extensions (see: https://github.com/joernio/joern/blob/master/joern-cli/frontends/c2cpg/src/main/scala/io/joern/c2cpg/parser/FileDefaults.scala) are parsed.
*.i files won't work. If your file contains valid C oder CPP code anyway you may simply rename it.
With the linked PR this restriction will fall. Then, all *.i files take precedence over other source files with the same name if you run the frontend with the --with-preprocessed-files
.
from joern.
Related Issues (20)
- Can not slice HOT 7
- [php2cpg] missing dataflow edges for `foreach` statement
- [dataflow] missing taint path when two dataflow edges reaches one node HOT 1
- [Bug] Parallel queries/traversals against CPG take just as long as sequential HOT 7
- [C#]:The option " --download-dependencies " doesn't take effect HOT 6
- Java out of memory error - java heap space HOT 1
- [Bug] Is it right to link TYPE_DECL to TYPE (only) for type hierarchy HOT 3
- [JavaSrc2Cpg] - Missing type information, in case of templated object HOT 2
- [Cpp importCode] java.lang.NullPointerException: Cannot invoke "org.eclipse.cdt.core.dom.ast.IASTNode.getClass()" because "node" is null HOT 6
- [Question] How to extract a CPG of specific method ?
- [ruby] Handle Implicit Imports Based on Dependencies
- [ruby] Migrate & Activate Dataflow Tests
- [ruby] Method Full Name Standard
- [Python2Cpg] Could you support "lineNumberEnd" for more extended node types like "Call"?
- [java] Add config files to the CPG HOT 3
- [ruby] Grouped multiple assignments not parsing
- [ruby] `begin ... end until` does not parse properly
- [ruby] `BreakStatement` cannot represent expression in loop
- [php2cpg] Support type inference for class properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joern.