diff --git a/README.md b/README.md index a19a450..5d83027 100644 --- a/README.md +++ b/README.md @@ -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 ``` @@ -81,6 +87,14 @@ export ANDROID_HOME= atom -o app.atom -l apk ``` +### Create reachables slice for a java project. + +```shell +cd +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 diff --git a/wrapper/nodejs/package-lock.json b/wrapper/nodejs/package-lock.json index 84b4350..975daf1 100644 --- a/wrapper/nodejs/package-lock.json +++ b/wrapper/nodejs/package-lock.json @@ -18,7 +18,7 @@ "atom": "index.js" }, "devDependencies": { - "eslint": "^8.50.0" + "eslint": "^8.51.0" }, "engines": { "node": ">=16.0.0" @@ -92,9 +92,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", + "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -384,15 +384,15 @@ } }, "node_modules/eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", + "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", + "@eslint/js": "8.51.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", diff --git a/wrapper/nodejs/package.json b/wrapper/nodejs/package.json index 14b65a1..3799db0 100644 --- a/wrapper/nodejs/package.json +++ b/wrapper/nodejs/package.json @@ -14,7 +14,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "eslint": "^8.50.0" + "eslint": "^8.51.0" }, "bin": { "atom": "./index.js",