airbag_fd provides drop-in crash handlers for POSIX (particularly for embedded Linux). It dumps registers, backtraces, and instruction streams to a file descriptor. It is intended to be self-contained and resilient. Where possible, it will detect and intelligently handle a corrupt state (for example, jumping through a bad pointer or a blown stack). The harvesting and reporting of the crash log is left as an exercise for the reader.