Skip to content
Example queries for joern
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A collection of example joern queries with unit tests. These queries are for the old version of joern that used neo4j and tinkerpop v2, for some examples using octopus (the new update of joern using tinkerpop3 on TitanDB) look here.

Run unit tests

Install dependencies with pip install pyyaml. To run tests:

rm -rf testing/intermediates .queriesTestDB
./testing/ testing/intermediates queries/*.yaml
joern testing/intermediates -outdir .queriesTestDB

# Start the DB with the correct path to ./.queriesTestDB
./testing/ queries/*.yaml
You can’t perform that action at this time.