Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.54 KB

File metadata and controls

28 lines (20 loc) · 1.54 KB

C and C++ Analysis

When developing C and C++ projects, no standard package manager is used. Consequently, we use statistical analysis of the project to determine likely vendored dependencies, and support inspecting output binaries for dynamically linked dependencies on some platforms.

Strategy Direct Deps Transitive Deps Edges Container Scanning
detect-vendored
detect-dynamic

Project Discovery

  • detect-vendored: The root of the scan directory is assumed to be the only "project".
  • detect-dynamic: The binary indicated by the argument is assumed to be the only "project".

Analysis

  • detect-vendored: Run fossa analyze --detect-vendored.
    • To only detect vendored dependencies, run fossa analyze --detect-vendored --only-target vsi.
  • detect-dynamic: Run fossa analyze --detect-dynamic <BINARY_PATH>.
    • This inspects the binary at BINARY_PATH for dynamically linked dependencies.
    • This requires specific platform support, see extended documentation under further reading.

Further reading: