'Return a dict that maps vuln. types to FuncCall objects.
Output example:
{\'XSS\': [<\'system\' call at line 2>, <\'echo\' call at line 4>],
\'OS_COMMANDING\': [<\'system\' call at line 6>]}'

def get_vulns(self):

    self._start()
    resdict = {}
    for f in self.get_func_calls(vuln=True):
        for vulnty in f.vulntypes:
            flist = resdict.setdefault(vulnty, [])
            flist.append(f)
    return resdict
