Skip to content

back2source: Refine ScanCode.io d2d pipeline for ELFs #1403

@pombredanne

Description

@pombredanne

Update pipelines steps for the binary to source analysis for native ELF using strings and symbols, and not only DWARFs.

The high level approach for this is:

  • On the from side, collect and store source symbols using the "purl2sym" "collect_symbols" pipelines or it underlying functions
  • On the to side, collect and store binary symbols using Lief or Pyelftools
  • Build a step (or extend existing steps) to go into symbol matching, if the path match matching was not conclusive. Process the results the same way as path matching.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Validated

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions