Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Oct 13, 2023
1 parent 8d59ff2 commit d0726ec
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ npm install @appthreat/atom
# sudo npm install -g @appthreat/atom
```

Install cdxgen to generate a Software Bill-of-Materials which is required for certain slicing.

```shell
npm install -g @cyclonedx/cdxgen --omit=optional
```

## CLI Usage

```
Expand Down Expand Up @@ -81,6 +87,14 @@ export ANDROID_HOME=<path to android sdk>
atom -o app.atom -l apk <apk file>
```

### Create reachables slice for a java project.

```shell
cd <path to repo>
cdxgen -t java --deep -o bom.json .
atom reachables -o app.atom -s reachables.json -l java .
```

### Create data-flow slice for a java project.

```shell
Expand Down
16 changes: 8 additions & 8 deletions wrapper/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wrapper/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"eslint": "^8.50.0"
"eslint": "^8.51.0"
},
"bin": {
"atom": "./index.js",
Expand Down

0 comments on commit d0726ec

Please sign in to comment.