Hello guys.
I have a library called lazybios, it parses, SMBIOS/DMI tables and presents them as clean C structs following the DMTF specification, for bit fields/ENUMS lazybios offers optional decoders so users don’t have to read the specification themselves.
Right now it supports all 47 SMBIOS types and supports these Operating Systems:
Windows
Linux
MacOS
Manual file loading
OpenBSD
FreeBSD
NetBSD
DragonFlyBSD
SunOS(solaris/illumos)
And now
BeOS/Haiku through /dev/misc/mem or /dev/mem if it exists as an option
It is all C99, very simple to use, and memory safe from all the tests I’ve done.
I would love your opinion on it.
The only thing AI has helped me with is documentation the windows backend, and a small portion of the classic /dev/mem parser.
I hope for Haiku to provide some modern way for programs to retrieve SMBIOS tables without manually scanning /dev/misc/mem.
Anyways, the project is here:
And another project that uses lazybios is here: