When mixing sscanf() and strtok() Valgrind complaints like below: ==1641== Conditional jump or move depends on uninitialised value(s) Use stroull() instead of sscanf().
All the functions needed by a lsmod binary are in place. test/test-loaded.c implements it with the same output of lsmod.