atom icon indicating copy to clipboard operation
atom copied to clipboard

Debug atom

Open blablacar12345 opened this issue 6 months ago • 1 comments

Good afternoon. Is there any way to get more detailed information from atom? I am trying to execute the command atom reachables -l ts -s reachables.json . In the console output, I get "Generating data-flow dependencies from atom. Please wait ...", but the file is empty. I've been monitoring RAM and its operation doesn't take up all of it. The program itself creates the app.atom file itself with a volume of 200 megabytes, but when the iteration of creating the reachables file begins, it ends.

blablacar12345 avatar Jun 09 '25 14:06 blablacar12345

Reachables slicing requires an sbom from cdxgen to be placed in the root directory.

https://github.com/AppThreat/atom?tab=readme-ov-file#create-reachables-slice-for-a-java-project

npm install
cdxgen -t js --deep -o bom.json .
atom ...

Since atom is also bundled with cdxgen, you can also do the following:

npm install
cdxgen -t js --profile research -o bom.json .

--profile research argument in cdxgen will automatically invoke atom to generate the atom and slices files.

prabhu avatar Jun 11 '25 20:06 prabhu