about summary refs log tree commit diff
path: root/users/zseri/store-ref-scanner/src/hbm.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-12-25 r/3386 refactor(zseri/store-ref-scanner): get rid of proc_unroll dependencyzseri1-12/+16
Change-Id: I0d4a8b2af814fd2870c3eb4218ee4fbaba1216f5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4605 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3385 fix(zseri/store-ref-scanner): no_std support and runtime panicszseri1-12/+23
This also changes the fuzzing infrastructure from proptest to cargo-fuzz, and this lead to the discovery of two mishandlings of edge-cases: * when a "path_to_store" is at the end of the input, it tried to access the input slice out-of-bounds (the `just_store` test covers that now) * non-ASCII characters lead to an out-of-bounds access in HalfBytesMask (the `non_ascii` test covers that now) Change-Id: Icaa2518dcd93e1789a2c0da4cf0fec46016d3bad Reviewed-on: https://cl.tvl.fyi/c/depot/+/4604 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3384 chore(zseri/store-ref-scanner): fix clippy warningszseri1-2/+4
Change-Id: I0e75feb501c56a98a73048443c36132308245945 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4597 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3383 feat(zseri): Add store-ref-scanner cratezseri1-0/+150
This crate implements the scanner for finding references to store paths in uncompressed binary blobs and text files. It is currently a minimally working prototype and it is probably a good idea to polish the interface further. Change-Id: I8406f9d52d254fc3d660ea2b9bc9b7841cc815ec Reviewed-on: https://cl.tvl.fyi/c/depot/+/4596 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>