This repository was archived by the owner on Oct 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Boilerplate for `JoernScan` * Push reflection voodoo for safe keeping. * `QueryDatabase` done * Collapse hierarchy * Add `name` field to queries * Simplify package layout * More simplification * Fix build * Remove schema extension because it's slow and not needed here * QueryDb works with EngineContext now * Fix build, add test * Add `joern-scan` script * Update README.md * Tuning of queries and shell script * Factor out joern-specific code from `QueryDatabase` * Cleanup * Improve README.md
- Loading branch information
Showing
29 changed files
with
376 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env sh | ||
|
||
if [ "$(uname -s)" = "Darwin" ]; then | ||
SCRIPT_ABS_PATH=$(greadlink -f "$0") | ||
else | ||
SCRIPT_ABS_PATH=$(readlink -f "$0") | ||
fi | ||
SCRIPT_ABS_DIR=$(dirname "$SCRIPT_ABS_PATH") | ||
|
||
if [ "$#" -lt 1 ]; then | ||
echo "Pass in the source directory to scan" | ||
exit 1 | ||
fi | ||
|
||
$SCRIPT_ABS_DIR/joern --run scan --src "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Declare dependency versions in one place */ | ||
object Versions { | ||
val cpg = "1.3.16" | ||
val cpg = "1.3.25" | ||
val overflowdb = "1.24" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.