Open ajabep opened 4 years ago
I think to keep the IDs meaningful, we should go with option 1 and prefix the IDs with a category identifier, in this case ubuntu- and kali-. For backwards compat we might want to drop the ubuntu- and debian- prefixes, but I'll have to think about this
While debugging #25, I identified an issue.
To verify that the regex was matching everything, I compared the extracted symbols with an old DB. The issue is that for the same file (same name), I got 2 different address for the same symbol.
This happens only for
musl_1.2.0-1_amd64.so
. This file parsed file was previously provided byhttp://security.ubuntu.com/ubuntu/pool/universe/m/musl//musl_1.2.0-1_amd64.deb
and, now, it's provided byhttps://http.kali.org/pool/main/m/musl//musl_1.2.0-1_amd64.deb
.We should have something to avoid this.
Solutions that I see quickly (without thinking about the feasibility or the which one will be the most optimal) are:
<HASH>.index
keeping a trace of distribution providing the file (as done with the.url
file). Or we can only rename the file and use the.url
file to keep a listing of distributions providing the file (when many distributions are providing the same file).