fasten-project/vulnerability-producer

Encode patch_links as VCS URL

Closed this issue · 2 comments

In order to extract more precise callable information, we can construct partial call-graphs at the exact patching commit. To do this, we need to encode this information. This VCS URL specification fits this purpose.

Encoding schema for the patches supported by the PatchFinder:

  • GitHub commit: git://github.com/owner/project@commit
  • GitLab commit: git://gitlab.com/owner/project@commit
  • BitBucket commit: git://bitbucket.com/owner/project@commit
  • Git trackers commit: git://git.[host].[org|com]@commit
  • SVN revision:svn://svn.[project].[org|com]@revision
  • Mercurial revision: hg://hg.[project].[org|com]@revision

Closing, addressed in 255e60e