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

back2source: Extend ScanCode.io pipeline for Rust source and binaries #1435

Closed
Tracked by #1513
pombredanne opened this issue Nov 4, 2024 · 0 comments · Fixed by #1488
Closed
Tracked by #1513

back2source: Extend ScanCode.io pipeline for Rust source and binaries #1435

pombredanne opened this issue Nov 4, 2024 · 0 comments · Fixed by #1488
Assignees
Milestone

Comments

@pombredanne
Copy link
Member

Create a new set of pipelines steps for the binary to source analysis for Rust source and binaries using strings and symbols

@pombredanne pombredanne converted this from a draft issue Nov 4, 2024
@AyanSinhaMahapatra AyanSinhaMahapatra self-assigned this Nov 29, 2024
@AyanSinhaMahapatra AyanSinhaMahapatra moved this to In progress in 05-Back2Source next Nov 29, 2024
@pombredanne pombredanne added this to the back2source-1 milestone Dec 12, 2024
AyanSinhaMahapatra added a commit to aboutcode-org/rust-inspector that referenced this issue Dec 23, 2024
Support parsing rust binaries and getting:

1. Symbols
2. Packages and Dependencies

Reference: aboutcode-org/scancode.io#1435
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@pombredanne pombredanne changed the title Extend ScanCode.io pipeline for Rust source and binaries back2source: Extend ScanCode.io pipeline for Rust source and binaries Dec 23, 2024
AyanSinhaMahapatra added a commit that referenced this issue Dec 30, 2024
* Add support to get packages from rust binaries
* Add support for rust source to binary mapping using symbols

Reference: #1435
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@AyanSinhaMahapatra AyanSinhaMahapatra linked a pull request Dec 30, 2024 that will close this issue
AyanSinhaMahapatra added a commit that referenced this issue Jan 6, 2025
* Add rust binary support for packages and symbols

* Add support to get packages from rust binaries
* Add support for rust source to binary mapping using symbols

Reference: #1435
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>

* Add support for single binary file on the to/ side

We were failing on the d2d pipelines if we uploaded a single binary
on the to side, as the d2d pipeline requires uploading an archive only.

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>

* Add warning instead of logger line in go/elf map

We were having a lot of extra logger lines in certain cases previously
on selecting wrong options, as the traceback was being shown in the log
too. So this creates a warning instead of a log entry.

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>

* Address feedback

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>

* Update CHANGELOG and documention

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>

---------

Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@github-project-automation github-project-automation bot moved this from In progress to Done in 05-Back2Source next Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants