From 6a461fce5fc8c528ec8ceabce5267a56f9cd7182 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Tue, 6 Feb 2024 22:57:05 +0000 Subject: [PATCH] Readme update Signed-off-by: Prabhu Subramanian --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 462cf21..997de03 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,16 @@ sub-commands: ### SBOM sub-command ```shell -usage: blint sbom [-h] [-i SRC_DIR_IMAGE [SRC_DIR_IMAGE ...]] [--output-file SBOM_OUTPUT] +usage: blint sbom [-h] [-i SRC_DIR_IMAGE [SRC_DIR_IMAGE ...]] [-o SBOM_OUTPUT] [--deep] options: -h, --help show this help message and exit -i SRC_DIR_IMAGE [SRC_DIR_IMAGE ...], --src SRC_DIR_IMAGE [SRC_DIR_IMAGE ...] Source directories, container images or binary files. Defaults to current directory. - --output-file SBOM_OUTPUT + -o SBOM_OUTPUT, --output-file SBOM_OUTPUT SBOM output file. Defaults to bom.json in current directory. + --deep Enable deep mode to collect more used symbols and modules aggressively. Slow + operation. ``` To test any binary including default commands @@ -109,6 +111,12 @@ blint sbom -i /path/to/apk -o bom.json blint sbom -i /directory/with/apk/aab -o bom.json ``` +To parse all files including `.dex` files, pass `--deep` argument. + +```shell +blint sbom -i /path/to/apk -o bom.json --deep +``` + PowerShell example ![PowerShell](./docs/blint-powershell.jpg)