Skip to content

Commit

Permalink
More header file locations for c
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Sep 8, 2023
1 parent 1affff5 commit aa25b7a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
14 changes: 9 additions & 5 deletions src/main/scala/io/appthreat/atom/Atom.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,21 @@ object Atom {
private var C2CPG_INCLUDE_PATHS: scala.collection.mutable.Set[String] = scala.collection.mutable.Set(
"/usr/include",
"/usr/local/include",
"/usr/lib/gcc/x86_64-linux-gnu/11/include",
"/usr/lib/gcc/x86_64-linux-gnu/12/include",
"/usr/lib/gcc/x86_64-linux-gnu/13/include",
"/usr/lib/gcc/x86_64-linux-gnu",
"/usr/include/c++/11",
"/usr/include/x86_64-linux-gnu/c++/11",
"/usr/include/c++/11/backward",
"/usr/lib/gcc/x86_64-redhat-linux",
"/opt/local/include/postgresql14",
"/opt/local/include",
"/usr/include/tcl8.6",
"/usr/include/tcl8.6/tcl-private/generic"
"/usr/include/tcl8.6/tcl-private/generic",
"/usr/include/4ti2",
"/usr/src/AMF",
"/usr/src/linux",
"/usr/share",
"/usr/lib64/R",
"/usr/lib/R",
"/opt/ebuilds"
)
Option(System.getenv("C_INCLUDE_PATH")).flatMap { ipath =>
C2CPG_INCLUDE_PATHS ++ ipath.split(java.io.File.pathSeparator)
Expand Down
4 changes: 2 additions & 2 deletions wrapper/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wrapper/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@appthreat/atom",
"version": "1.1.8",
"version": "1.1.9",
"description": "Create atom (⚛) representation for your application, packages and libraries",
"exports": "./index.js",
"type": "module",
Expand Down

0 comments on commit aa25b7a

Please sign in to comment.