ASE2021 vulnerability fix dataset
收藏资源简介:
The dataset of "Finding A Needle in a Haystack: Automated Mining of Silent Vulnerability Fixes", which was accepted in the 36th IEEE/ACM Automated Software Engineering (<em>ASE</em>) Conference. Followings are the descriptions of columns: commit_id: The commit ID/hash. repo: The Github Author and repository (e.g., "apache/hive"). filename: The name of the file changed in the commit. partition: Which dataset the commit information belongs to (i.e., "train", "val", or "test"). PL: Programming Language (PL) (i.e., "java" or "py"). label: Label of the commit, 0 for non-vulnerability fixing commit and 1 for vulnerability fixing commit. diff: The entire code change information of the file in this commit. committer_date: The date of the commit (e.g., 2015-03-02 13:48:25+13:00) msg: The commit message (NA if empty). MOD_DIFF: The code change of the file in this commit after preprocessing: filtering out lines that are not added lines or removed lines, and removing refactoring information and comments. BPE_MOD_DIFF: BPE processing applied to MOD_DIFF information (using codeprep Python package). ADD_DIFF: The added lines from the MOD_DIFF information (indicated as a line starting with '+' character). REM_DIFF: The removed lines from the MOD_DIFF information (indicated as a line starting with '-' character). LOC_ADD: Total lines of code added in this file change. LOC_REM: Total lines of code removed in this file change. LOC_MOD: Total lines of code modified in this file change (LOC_ADD + LOC_REM). commit_repo: The commit ID and repository concatenated. cve_list: A list of CVEs which the commit fixes (e.g., CVE-2015-5348, CVE-2016-8902).



