Bugs found by musl

Presentation at slcon 2013-06-22, Munich by Szabolcs Nagy

musl and bugs

list of bugs

bugs

better system

layers and interfaces

Project ideas:

libc api

Project ideas: collect and document useful vs legacy api, collect data on what parts of libc are used (interesting research and useful for libc.so object code layout) (Source code based approach might have false positives but can collect data on broken includes etc. Using libc instrumentation can also help creating load generators to do benchmarks for the average case eg. for malloc)

Minimal system on Linux

Project ideas:

Linux libcs

Project ideas:

musl

Project ideas:

bloat

muslglibc
c sloc76K1M
asm sloc3.6K300K
libc.a333k1.5M
static empty0.8k507k
min dirty (dyn)20k52k
self exec (dyn)455us1900us
utf8 decode0.158s0.564s
putc/getc0.236s0.556s

demo

glibc bugs

glibc qoi

linux

toolchain

general libc uglyness

applications