All the functions needed by a lsmod binary are in place. test/test-loaded.c implements it with the same output of lsmod.