The "Little Black Book of libC" (LBB-libc) is a project to assist in configuring machines so they are ready to test and debug a variety of libc implementations. Specifically:
The project provides a set of useful libc unit tests.
The project documents both manual code review and automated testing results.
Imagine you want to test the security of your code across a combination of 2 libc's, 2 compilers, 2 platforms, and 1 architecture. That would require configuring and installing 8 unique builds. Now imagine you want to target 2 architectures. That would require 16 unique builds. This is obviously a problem which needs automation.
Hopefully using LBB-libc helps reduce setup time, allowing you to focus on testing how a libc works.
The provided unit tests log all input/output for offline analysis. This may be useful in a number of ways:
The author uses this project to complement manual code reviews, with the goal of identifying insecure function use and primitives that assist in exploit dev.
The project is most likely to be of interest to security code reviewers, libc developers, and test engineers.
99% not ready to use :). Though it can do the following:
As it's a hobby project, features are being added when time and energy permit. If you're interested in helping please read CONTRIBUTING.md.
I'm glad you're interested, please read INSTALL.md for instructions on installing LBB-libc and getting started.
Please create a github issue.