Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match binaries to source using elf symbols #1621

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AyanSinhaMahapatra
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra commented Mar 11, 2025

Reference: #1403
Reference: aboutcode-org/elf-inspector#9

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking fine. Thanks! 🌞

@tdruez
Copy link
Contributor

tdruez commented Mar 11, 2025

@AyanSinhaMahapatra The code looks fine but I would prefer we release a proper version of elf-inspector instead of using a git commit.

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@AyanSinhaMahapatra
Copy link
Member Author

@tdruez added as a dependency the latest release of elf-inspector, ready for your review.

@tdruez
Copy link
Contributor

tdruez commented Mar 17, 2025

@AyanSinhaMahapatra Before merging, could you confirm that the following pipe functions are properly covered by unit tests?

  • d2d.map_elfs_with_dwarf_paths(project=self.project, logger=self.log)
  • d2d.map_elfs_binaries_with_symbols(project=self.project, logger=self.log)
  • d2d.map_rust_binaries_with_symbols(project=self.project, logger=self.log)

Also, do we have a unit test that validates the whole pipeline execution with a focus on the ELF inspection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants