Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

18 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages