rust-inspector is a scancode plugin to extract symbols and dependencies found in Rust binaries.
Project description
rust-inspector is a utility to extract dependencies and symbols from Rust binaries. It is designed to work as a ScanCode Toolkit plugin and integrated in ScanCode.io pipelines.
To install and use:
Run pip install rust-inspector
Use with scancode --json-pp - --rust-symbol --verbose <PATH to a tree or file with Rust binaries>
The JSON output will contain binary symbols found in Rust binaries if any.
A Go compiler is required to build go-inspector. Install Go from https://go.dev/doc/install or from a package manager.
License: Apache-2.0 AND MIT
Copyright (c) nexB Inc., AboutCode, OWASP Foundation and others.
Development
Install requirements and dependencies using ./configure --clean && ./configure --dev
Then source venv/bin/activate
Testing:
To run tests: pytest -vvs
To regen test fixtures: SCANCODE_REGEN_TEST_FIXTURES=yes pytest -vvs
Acknowledgements, Funding, Support and Sponsoring
This project is funded, supported and sponsored by:
Generous support and contributions from users like you!
the European Commission NGI programme
the NLnet Foundation
the Swiss State Secretariat for Education, Research and Innovation (SERI)
Google, including the Google Summer of Code and the Google Seasons of Doc programmes
Mercedes-Benz Group
Microsoft and Microsoft Azure
AboutCode ASBL
nexB Inc.
This project also uses some functions from other packages:
symbolic (https://pypi.org/project/symbolic/)
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.
https://nlnet.nl/project/Back2source/
This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.
https://nlnet.nl/project/Back2source-next/
This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rust_inspector-0.2.1.tar.gz.
File metadata
- Download URL: rust_inspector-0.2.1.tar.gz
- Upload date:
- Size: 73.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1bc4de0274e164d4ca9e3b813b0f63d3f65dc142155fbc5920c3daf97e9594b
|
|
| MD5 |
86c3e0d379944fa2534ee327458ce4cd
|
|
| BLAKE2b-256 |
1a48b550f0dfcbb061420d0658ba88412dc617a7c6cd5a5e72aad23b6aa6b3a2
|
Provenance
The following attestation bundles were made for rust_inspector-0.2.1.tar.gz:
Publisher:
pypi-release.yml on aboutcode-org/rust-inspector
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rust_inspector-0.2.1.tar.gz -
Subject digest:
d1bc4de0274e164d4ca9e3b813b0f63d3f65dc142155fbc5920c3daf97e9594b - Sigstore transparency entry: 652216916
- Sigstore integration time:
-
Permalink:
aboutcode-org/rust-inspector@6f181ab5ee8aacb8c748a707f1b1d48a12747ebb -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/aboutcode-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@6f181ab5ee8aacb8c748a707f1b1d48a12747ebb -
Trigger Event:
push
-
Statement type:
File details
Details for the file rust_inspector-0.2.1-py3-none-any.whl.
File metadata
- Download URL: rust_inspector-0.2.1-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96c086068c7f8ffcc1a38ea31693ac743e36b9456594cd480c43ddf4834a8a87
|
|
| MD5 |
8743198a0ccbadc9831fc6b6040c6b00
|
|
| BLAKE2b-256 |
16e5cd83c1bd5a1aa90c738e4ea2e6ad55fef2bc875dcb40c910a1c7642788f4
|
Provenance
The following attestation bundles were made for rust_inspector-0.2.1-py3-none-any.whl:
Publisher:
pypi-release.yml on aboutcode-org/rust-inspector
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rust_inspector-0.2.1-py3-none-any.whl -
Subject digest:
96c086068c7f8ffcc1a38ea31693ac743e36b9456594cd480c43ddf4834a8a87 - Sigstore transparency entry: 652216946
- Sigstore integration time:
-
Permalink:
aboutcode-org/rust-inspector@6f181ab5ee8aacb8c748a707f1b1d48a12747ebb -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/aboutcode-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@6f181ab5ee8aacb8c748a707f1b1d48a12747ebb -
Trigger Event:
push
-
Statement type: