Skip to content

Add an add-on pipeline for collecting dwarfs from elfs #1068

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

Merged
merged 15 commits into from
Feb 19, 2024
Merged
2 changes: 1 addition & 1 deletion scanpipe/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ def has_directory_content_fingerprint(self):

def elfs(self):
"""
Resources that are ``files`` and their filetype starts with "elf" and
Resources that are ``files`` and their filetype starts with "ELF" and
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is not correct, the string is still "elf"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

contains any of these "executable", "relocatable", "shared object".
Keep sync with the content type implementation at ``typecode.contenttype``.
"""
Expand Down
2 changes: 1 addition & 1 deletion scanpipe/pipelines/inspect_elf_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from scanpipe.pipelines import Pipeline


class InspectElfBinaries(Pipeline):
class InspectELFBinaries(Pipeline):
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to update the references to this as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

"""Inspect ELF binaries and collect DWARF paths."""

download_inputs = False
Expand Down