Case studies
Making Bombadil Exclaim: libvoidstar dlopen successful!
Did you know that Bombadil tries to reach for the star? Given the mysterious fellow he is, one would expect so. A voidstar, to be exact, and whether he reaches it depends on where he runs. When Bombadil starts, it tries to load a library, /usr/lib/libvoidstar.so. If the library is not there, Bombadil runs as it would locally on your laptop and makes every decision itself. If it is there, Bombadil draws its random values from the library, and tells it the moments when the program it tests reaches a new state and the results of the properties it checks. When it finds the library, Bombadil says so on its standard error with one line: libvoidstar dlopen successful! In Why Run Bombadil in a Deterministic Hypervisor?, it never printed that line. In this post, we look at what Bombadil does with the library, and how we got it to exclaim that line inside TestFlows Machine.