The Package Metadata Working Group explores how different package managers capture, expose, and structure metadata. - chaoss/wg-package-metadata
@andrewnez I'm German, so of course I can conjure a word for this 😂
"Tellerrandproblem"
('edge of the plate problem' or 'plate rim problem')
Or maybe the more scary sounding "Tellerrandklippe" ('edge of the plate cliff')
But yeah I can see how this is hard to slap a title on.
[Tellerrand/"edge of the plate" is commonly used in German to express the boundary of applicability of something, some system, your knowledge, etc.]
@andrewnez I think this touches the core issue:
> None of these mechanisms really declare
> C dependencies in a machine-readable way.
C libraries can't even express their own *API*/*ABI* in a machine-readable way¹, so no surprise that the bigger steps are also missing!
C people have been quite content with the status quo, as it's a crucial part of upholding their ABI monopoly.
¹ Outside of your package manager shipping with its own C compiler that parses C header files.
@andrewnez Syft also has the problem of trying to figure out what a binary blob of stuff is. This feels like maybe it's time for something bigger
We look for various strings in the binary today (yara would be even better, but there isn't a nice yara go library we could find)
https://github.com/anchore/syft/blob/main/syft/pkg/cataloger/binary/classifiers.go#L18