Home

Awesome

atom-samples

Collection of data-flow and usage slice samples for appthreat/atom.

Slice Generation

Slices were generated using the following commands, where language is the programming language of the target project as listed in Sample Projects.

atom usages -l language -o app.atom -s usages.json .

atom reachables -l language -o app.atom -s reachables.json .

Java and javascript projects require cdxgen be run with the deep option for reachables cdxgen -t java --deep .

Sample Projects

Data-flow and usage commands for sample projects below.

ProjectType
apolloconfig/apollojava
avajs/avajavascript
axios/axiosjavascript
explosion/spaCypython
karatelabs/karatejava
msiemens/tinydbpython
scrapy/scrapypython
sequelize/sequelizejavascript
sqshq/piggymetricsjava
tornadoweb/tornadopython
videojs/video.jsjavascript

Generation Script

generate.py can be used to download the sample sources and generate slices in linux or Windows (via either MSYS2 or WSL), or from other sample repositories in a csv modeled on sources.csv.