fossas / fossa-cli

Fast, portable and reliable dependency analysis for any codebase. Supports license & vulnerability scanning for large monoliths. Language-agnostic; integrates with 20+ build systems.
https://fossa.com
Other
1.26k stars 173 forks source link

[No Ticket] `--detect-dynamic` less error prone #1376

Closed meghfossa closed 7 months ago

meghfossa commented 7 months ago

Overview

This PR, makes ldd parsing less error prone, by safely excluding not found cases

Acceptance criteria

For cases such as following, --detect-dynamic analysis should not fatally fail.

    libprotobuf.so.22 => not found
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffffff4c000)

Testing plan

I relied on automated testings

Risks

N/A

Metrics

N/A

References

N/A

Checklist