def __str__(self):
        """Pretty printing of a vulnerability."""
        reassigned_str = _get_reassignment_str(self.reassignment_nodes)
        return (
            'File: {}\n'
            ' > User input at line {}, source "{}":\n'
            '\t {}{}\nFile: {}\n'
            ' > reaches line {}, sink "{}":\n'
            '\t{}'.format(
                self.source.path,
                self.source.line_number, self.source_trigger_word,
                self.source.label, reassigned_str, self.sink.path,
                self.sink.line_number, self.sink_trigger_word,
                self.sink.label
            )
        )
def __str__ ( self ) : reassigned_str = _get_reassignment_str ( self . reassignment_nodes ) return ( 'File: {}\n' ' > User input at line {}, source "{}":\n' '\t {}{}\nFile: {}\n' ' > reaches line {}, sink "{}":\n' '\t{}' . format ( self . source . path , self . source . line_number , self . source_trigger_word , self . source . label , reassigned_str , self . sink . path , self . sink . line_number , self . sink_trigger_word , self . sink . label ) )
Pretty printing of a vulnerability.