Extended the heuristics for obtaining function symbols.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #335 from ddobrev/master

Extended the heuristics for obtaining function symbols