Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

joern-traversals

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/parse.py testing/intermediates queries/*.yaml
joern testing/intermediates -outdir .queriesTestDB

# Start the DB with the correct path to ./.queriesTestDB
./testing/verify.py queries/*.yaml

About

Example queries for joern

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages