added call graph searching, now can deal with indirect calls