feat: rust toolchain binary cataloger#1601
Conversation
Benchmark Test ResultsBenchmark results from the latest changes vs base branch |
c2e4e78 to
a440961
Compare
kzantow
left a comment
There was a problem hiding this comment.
It might be nice to cut down the size of some of the test fixtures (some are in the MB range)
wagoodman
left a comment
There was a problem hiding this comment.
...some are in the MB range....
it seems like there may be an extra addition to the gitignore needed for the busybox image fixture tar
a440961 to
93ae287
Compare
I think it might already be excluded - I had to force add my test cases since they'd normally be excluded and must have accidentally picked up that as well |
731abd9 to
3090714
Compare
kzantow
left a comment
There was a problem hiding this comment.
The /rust-1.67.1/toolchains/stable-x86_64-unknown-linux-musl/lib/libstd-86aefecbddda356d.so is still 1.25 MB, it would be nice to just copy the small (maybe < 100 bytes) binary bits that are required for matching. Other than that, 👍
Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
3090714 to
5e70c7d
Compare
|
@wagoodman I think all new fixture changes are now only in the <30kb size now: Did you have other changes requested for this PR? Otherwise LGTM |
| }, | ||
| { | ||
| Class: "rust-standard-library-linux", | ||
| FileGlob: "**/libstd-????????????????.so", |
There was a problem hiding this comment.
good call, that is more specific and not too crazy for the index parsing in stereoscope 🙌
Signed-off-by: Weston Steimel <weston.steimel@anchore.com>

Adds binary classifier for the rust toolchain for linux and mac