1 2 3 4 5 6 7 8
mainvar == 1 overriddenvar == 2 shlibvar1 == 3 shlib_shlibvar1 () == 3 shlib_shlibvar2 () == 4 shlib_shlibcall () == 5 main_called () == 6 shlib_check () == 1