add helper function: find_var find_func
ignore main.bin