sample_id stringlengths 64 64 | language_detail stringclasses 209
values | granularity stringclasses 2
values | code stringlengths 10 484k | code_normalized_hash stringlengths 64 64 | code_sha256 stringlengths 64 64 | near_dup_cluster_id stringlengths 64 64 | near_dup_cluster_size int32 1 4.03k | is_cluster_representative bool 2
classes | near_dup_of_test bool 2
classes | project stringlengths 2 57 ⌀ | repo_url stringlengths 24 76 ⌀ | commit_sha stringlengths 6 81 ⌀ | commit_date stringdate 1999-11-10 00:00:00 2026-06-02 00:00:00 ⌀ | date_source stringclasses 2
values | file_path stringlengths 2 227 ⌀ | func_name stringlengths 0 837 ⌀ | start_line int32 1 125k ⌀ | end_line int32 1 125k ⌀ | is_vulnerable bool 2
classes | vuln_lines listlengths 0 125 | pair_id stringlengths 32 32 ⌀ | pair_role stringclasses 3
values | cve_ids listlengths 0 817 | cwe_ids listlengths 0 78 | cve_link_source stringclasses 2
values | cwe_link_source stringclasses 2
values | label_source stringclasses 4
values | label_confidence float32 0.05 0.97 | label_conflict bool 2
classes | confidence_notes stringclasses 130
values | cleanvul_score int32 0 4 ⌀ | origins listlengths 1 11.7k | n_origins int64 1 11.7k | n_datasets int64 1 9 | primary_source stringclasses 7
values | source_license stringclasses 7
values | split stringclasses 1
value | split_strategy stringclasses 5
values | source_extra stringlengths 18 203 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
738c696d66f30cbc42ad05ef85194eeed7e11088b02648c0c044e1d033969ba4 | cpp | function | inline unsigned int get_lookup_count (void) const
{ return (this+lookupList).len; } | 738c696d66f30cbc42ad05ef85194eeed7e11088b02648c0c044e1d033969ba4 | 9e6c7ae8d16da57ac66daa19812c3a327a6b4c92fa9d121fbc881804ee74ae1f | 738c696d66f30cbc42ad05ef85194eeed7e11088b02648c0c044e1d033969ba4 | 1 | true | false | harfbuzz/harfbuzz | https://github.com/harfbuzz/harfbuzz | c917965b9e6fe2b21ed6c51559673288fa3af4b7 | 2018-11-15 | cve_published | hb-ot-layout-gsubgpos-private.hh | get_lookup_count | 2,264 | 2,265 | false | [] | null | unrelated_in_commit | [
"CVE-2015-9274"
] | [
"CWE-125"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_1877_2::get_lookup_count#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/harfbuzz/harfbuzz/commit/c917965b9e6fe2b21ed6c51559673288fa3af4b7", "changed_units_in_commit": 17} | |
c39a8fcaa7535c6517131215edd40537419c600d8aa395577cf6818ca1cccd1f | cpp | function | inline bool would_apply (hb_would_apply_context_t *c) const
{
TRACE_WOULD_APPLY (this);
const ClassDef &backtrack_class_def = this+backtrackClassDef;
const ClassDef &input_class_def = this+inputClassDef;
const ClassDef &lookahead_class_def = this+lookaheadClassDef;
unsigned int index = input_cla... | c39a8fcaa7535c6517131215edd40537419c600d8aa395577cf6818ca1cccd1f | 59a982c4f70ed1359304b2b7376c07c3151fbc4a28a49da6d4a34ef4f4b5ca2c | c39a8fcaa7535c6517131215edd40537419c600d8aa395577cf6818ca1cccd1f | 1 | true | false | harfbuzz/harfbuzz | https://github.com/harfbuzz/harfbuzz | c917965b9e6fe2b21ed6c51559673288fa3af4b7 | 2018-11-15 | cve_published | hb-ot-layout-gsubgpos-private.hh | would_apply | 1,926 | 1,943 | false | [] | null | unrelated_in_commit | [
"CVE-2015-9274"
] | [
"CWE-125"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_1877_2::would_apply#8",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/harfbuzz/harfbuzz/commit/c917965b9e6fe2b21ed6c51559673288fa3af4b7", "changed_units_in_commit": 17} | |
66a6992b59d9e67dd84382d7a0362e63bc96d2c21fe79e088b6e07ba6b41b9ca | c | function | static const char *
next_option(const char *list, struct vec *val, struct vec *eq_val)
{
int end;
reparse:
if (val == NULL || list == NULL || *list == '\0') {
/* End of the list */
return NULL;
}
/* Skip over leading LWS */
while (*list == ' ' || *list == '\t')
list++;
val->ptr = list;
if ((list = strch... | 66a6992b59d9e67dd84382d7a0362e63bc96d2c21fe79e088b6e07ba6b41b9ca | eab5e428ed462626c39f5668311dd2afaa9e957b193c9e075de83171e8a83fb9 | 66a6992b59d9e67dd84382d7a0362e63bc96d2c21fe79e088b6e07ba6b41b9ca | 1 | true | false | civetweb/civetweb | https://github.com/civetweb/civetweb | 8fd069f6dedb064339f1091069ac96f3f8bdb552 | 2018-06-22 | cve_published | civetweb.c | next_option | 4,009 | 4,059 | false | [] | null | unrelated_in_commit | [
"CVE-2018-12684"
] | [
"CWE-125",
"CWE-200"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_203_0::next_option#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/civetweb/civetweb/commit/8fd069f6dedb064339f1091069ac96f3f8bdb552", "changed_units_in_commit": 1} | |
5bbaa3a5ed267bcd55449e822ae588ff1cecf88ff4ca139b32deb699cba85602 | c_or_cpp | function | static void filename_compute_type(struct policydb *p, struct context *newcontext,
u32 stype, u32 ttype, u16 tclass,
const char *objname)
{
struct filename_trans ft;
struct filename_trans_datum *otype;
/*
* Most filename trans rules are going to live in specific directories
* like /dev or /var/run. ... | 5bbaa3a5ed267bcd55449e822ae588ff1cecf88ff4ca139b32deb699cba85602 | bdae6ffae6a6d378b3d633ae570ce0c5a4d62ace55418e238eb413fdf5053f48 | 5bbaa3a5ed267bcd55449e822ae588ff1cecf88ff4ca139b32deb699cba85602 | 2 | true | false | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | 2172fa709ab32ca60e86179dc67d0857be8e2c98 | 2014-02-28 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2014-1874"
] | [
"CWE-20"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:39255",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_2080_0::filename_compute_type#0",
... | 5 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 260668267155483024478328099031902788874, "big_vul_idx": 39255} |
04670c93a29a5ac9d519ae8773a8f52576d870eb5d57a0379ecc41312bbe07c2 | c | function | void
nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg,
struct nfs_commit_info *cinfo)
{
} | 04670c93a29a5ac9d519ae8773a8f52576d870eb5d57a0379ecc41312bbe07c2 | 9b345c484e9a75c4e4cf841be178a779f977dd78ef0f32684bd48989e3ca8e31 | 04670c93a29a5ac9d519ae8773a8f52576d870eb5d57a0379ecc41312bbe07c2 | 2 | false | false | torvalds/linux | https://github.com/torvalds/linux | 263b4509ec4d47e0da3e753f85a39ea12d1eff24 | 2014-02-28 | cve_published | write.c | nfs_mark_request_commit | 605 | 609 | false | [] | null | unrelated_in_commit | [
"CVE-2014-2038"
] | [
"CWE-20",
"CWE-200"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2089_0::nfs_mark_request_commit#1",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24", "changed_units_in_commit": 1} | |
619939a22b405874507edcd713ae6d8d4ac6172cecc7658c08e0953e382561d5 | c_or_cpp | function | static bool nested_vmx_exit_handled_io(struct kvm_vcpu *vcpu,
struct vmcs12 *vmcs12)
{
unsigned long exit_qualification;
gpa_t bitmap, last_bitmap;
unsigned int port;
int size;
u8 b;
if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS))
return nested_cpu_has(vmcs12, CPU_BASED_UNCOND_IO_EXITING);
... | 619939a22b405874507edcd713ae6d8d4ac6172cecc7658c08e0953e382561d5 | 5615aaf546c358c0f910e65d11ebd960be7fab23d4d3d9d8c829faace8e7b7c0 | 4bfdd8e5529c0bbf20d9f6713c17d81be7103cd3d1e9cc1c8504083cab922e2e | 2 | true | false | kvm | null | c73f4c998e1fd4249b9edfa39e23f4fda2b9b041 | null | null | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2015-5307",
"CVE-2016-4440",
"CVE-2016-9588",
"CVE-2017-1000252",
"CVE-2017-12154",
"CVE-2018-12904"
] | [
"CWE-20",
"CWE-264",
"CWE-284",
"CWE-388",
"CWE-399",
"CWE-617"
] | null | null | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:42705",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_1675_2::nested_vmx_exit_handled_io#0"... | 11 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 40704934706286325070430843420529788971, "big_vul_idx": null} |
3652075514ce5931092a4f1cc27b5e7038c02c2235f8c1b6178cd6bea5f6092f | c_or_cpp | function | static __le16 ieee80211_duration(struct ieee80211_tx_data *tx,
struct sk_buff *skb, int group_addr,
int next_frag_len)
{
int rate, mrate, erp, dur, i, shift = 0;
struct ieee80211_rate *txrate;
struct ieee80211_local *local = tx->local;
struct ieee80211_supported_band *sband;
struct ieee80211_hdr *hdr;
s... | 3652075514ce5931092a4f1cc27b5e7038c02c2235f8c1b6178cd6bea5f6092f | 7589b075ce18e42681a4ecc274df9af55862b9eb04d6600304d2e6a13e37d3f6 | 3652075514ce5931092a4f1cc27b5e7038c02c2235f8c1b6178cd6bea5f6092f | 2 | true | false | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | 338f977f4eb441e69bb9a46eaa0ac715c931a67f | 2014-11-10 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2014-2706",
"CVE-2014-8709"
] | [
"CWE-200",
"CWE-362"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:35463",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_2116_2::ieee80211_duration#0",
"o... | 6 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 309328237907511625743766044186435764685, "big_vul_idx": 35463} |
1cbb9aa1df541ab5182cd5b771e304c3bba8198907608af8c0137c4e2c1e6bdf | c | function | static void
xfs_inode_buf_read_verify(
struct xfs_buf *bp)
{
xfs_inode_buf_verify(bp, false);
} | 1cbb9aa1df541ab5182cd5b771e304c3bba8198907608af8c0137c4e2c1e6bdf | 701821fc920b127e4499b3893b2d3b1727d31ec80a69a3691bd9ad8aa67f697f | 1cbb9aa1df541ab5182cd5b771e304c3bba8198907608af8c0137c4e2c1e6bdf | 1 | true | false | torvalds/linux | https://github.com/torvalds/linux | 23fcb3340d033d9f081e21e6c12c2db7eaa541d3 | 2018-07-03 | cve_published | xfs_inode_buf.c | xfs_inode_buf_read_verify | 127 | 132 | false | [] | null | unrelated_in_commit | [
"CVE-2018-13095"
] | [
"CWE-476",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_214_1::xfs_inode_buf_read_verify#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3", "changed_units_in_commit": 2} | |
e5a9a33f93d3972aab400323d4243b56b0166a9390fd045cc1f7e46ca7c45aa3 | c | function | void
xfs_inode_to_disk(
struct xfs_inode *ip,
struct xfs_dinode *to,
xfs_lsn_t lsn)
{
struct xfs_icdinode *from = &ip->i_d;
struct inode *inode = VFS_I(ip);
to->di_magic = cpu_to_be16(XFS_DINODE_MAGIC);
to->di_onlink = 0;
to->di_version = from->di_version;
to->di_format = from->di_format;
to->di_uid = cpu... | e5a9a33f93d3972aab400323d4243b56b0166a9390fd045cc1f7e46ca7c45aa3 | 8627dc6ad18a6ef4f68d8354d71cdd136d36d9b063bfdb509375772578226c4d | 97801e1cba68e72b97ac371ea640ea0df3c36ae4f7f098ef919cdd8a0d8d74a3 | 2 | true | false | torvalds/linux | https://github.com/torvalds/linux | 23fcb3340d033d9f081e21e6c12c2db7eaa541d3 | 2018-07-03 | cve_published | xfs_inode_buf.c | xfs_inode_to_disk | 268 | 323 | false | [] | null | unrelated_in_commit | [
"CVE-2018-13095"
] | [
"CWE-476",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_214_1::xfs_inode_to_disk#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3", "changed_units_in_commit": 2} | |
26182fa845d39f1764e702d98d25e67f31096b951d84214b853a400e67eeaf71 | c | function | static int vc1_decode_intra_block(VC1Context *v, int16_t block[64], int n,
int coded, int mquant, int codingset)
{
GetBitContext *gb = &v->s.gb;
MpegEncContext *s = &v->s;
int dc_pred_dir = 0; /* Direction of the DC prediction used */
int i;
int16_t *dc_val = NULL;
... | 26182fa845d39f1764e702d98d25e67f31096b951d84214b853a400e67eeaf71 | 4696b256ab867871a07449be1d6f596544cfd7f91a31db49f1353b3a0237164f | 26182fa845d39f1764e702d98d25e67f31096b951d84214b853a400e67eeaf71 | 1 | true | false | ffmpeg/ffmpeg | https://github.com/FFmpeg/FFmpeg | d08d4a8c7387e758d439b0592782e4cfa2b4d6a4 | 2018-07-05 | cve_published | vc1_block.c | vc1_decode_intra_block | 905 | 1,110 | false | [] | null | unrelated_in_commit | [
"CVE-2018-13305"
] | [
"CWE-125"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_220_0::vc1_decode_intra_block#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/FFmpeg/FFmpeg/commit/d08d4a8c7387e758d439b0592782e4cfa2b4d6a4", "changed_units_in_commit": 0} | |
aa6ddccf7b0e575db67cc54c6dc27b78bda36b35e77e64e8b2aa62224c6b1f82 | c_or_cpp | function | int dtls1_is_timer_expired(SSL *s)
{
struct timeval timeleft;
/* Get time left until timeout, return false if no timer running */
if (dtls1_get_timeout(s, &timeleft) == NULL) {
return 0;
}
/* Return false if timer is not expired yet */
if (timeleft.tv_sec > 0 || timeleft.tv_usec > 0) {... | aa6ddccf7b0e575db67cc54c6dc27b78bda36b35e77e64e8b2aa62224c6b1f82 | e2637fc7fec58832a6adced8596b4cdfd121b586f6f8df4fc617ea4cf5b8bcef | aa6ddccf7b0e575db67cc54c6dc27b78bda36b35e77e64e8b2aa62224c6b1f82 | 2 | true | true | openssl | https://git.openssl.org/?p=openssl.git | 819418110b6fff4a7b96f01a5d68f71df3e3b736 | 2015-03-19 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2014-8176",
"CVE-2015-0207"
] | [
"CWE-119"
] | hub_fix_commit | null | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:46112",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "bigvul_msr20",
"original_id": "row:6496",
"original_label": "0",
... | 7 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 181332459036851394206798146248704297263, "big_vul_idx": 6496} |
8800927553967a3e54aff6a2aba9efe76688c793354f6baf66f8565d9c2c368a | c_or_cpp | function | static int MP4_ReadBox_tsel( stream_t *p_stream, MP4_Box_t *p_box )
{
MP4_READBOX_ENTER( MP4_Box_data_tsel_t );
uint32_t i_version;
MP4_GET4BYTES( i_version );
if ( i_version != 0 || i_read < 4 )
MP4_READBOX_EXIT( 0 );
MP4_GET4BYTES( p_box->data.p_tsel->i_switch_group );
/* ignore list o... | 8800927553967a3e54aff6a2aba9efe76688c793354f6baf66f8565d9c2c368a | 05098dec8ac9fabb937640a0514d6306e1473d132cd5bb5b0d01ffa8da78cefd | 8800927553967a3e54aff6a2aba9efe76688c793354f6baf66f8565d9c2c368a | 1 | true | false | vlc | https://github.com/videolan/vlc | 2e7c7091a61aa5d07e7997b393d821e91f593c39 | 2020-01-24 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2014-9626",
"CVE-2014-9627",
"CVE-2014-9628"
] | [
"CWE-120",
"CWE-191",
"CWE-704",
"CWE-787"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2395_0::MP4_ReadBox_tsel#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id": "... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 118760230036196269275872640685288442472, "big_vul_idx": null} |
b3c4de09856a6d0e48109267296d12ed460376cb826b0276c4d315b19e333420 | c_or_cpp_header | function | static void
setup_environment (int argc,
char **argv,
int *argc_out,
char ***argv_out,
char ***argv_free,
char **env_free)
{
int n, i, i0;
char *p, *v = getenv("XDELTA");
if (v == NULL) {
(*argc_out) = argc;
(*argv_out) = argv;
(*argv_free) = NULL;
(*env_free) = NULL;
... | b3c4de09856a6d0e48109267296d12ed460376cb826b0276c4d315b19e333420 | 2553bb186513885a05faaaad2d07ed62dd74cab38a423c10b4006b1f9c61a6b7 | 012a55fd141493dad4823bea5254dfe193ed69f59f512ba832c08cc48df25b91 | 2 | false | false | jmacd/xdelta-devel | https://github.com/jmacd/xdelta-devel | ef93ff74203e030073b898c05e8b4860b5d09ef2 | 2016-04-19 | cve_published | xdelta3-main.h | setup_environment | 3,498 | 3,552 | false | [] | null | unrelated_in_commit | [
"CVE-2014-9765"
] | [
"CWE-119"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2419_0::setup_environment#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2", "changed_units_in_commit": 1} | |
7adfcfcb757ddd15a6e881b948e3bb424c3e995066f4a6828affe01ac304a3be | c_or_cpp | function | static void print_constraints(struct regulator_dev *rdev)
{
struct regulation_constraints *constraints = rdev->constraints;
char buf[80] = "";
int count = 0;
int ret;
if (constraints->min_uV && constraints->max_uV) {
if (constraints->min_uV == constraints->max_uV)
count += sprintf(buf + count, "%d mV ",
... | 7adfcfcb757ddd15a6e881b948e3bb424c3e995066f4a6828affe01ac304a3be | 275ae4fb388a7db49ee42b1a490691b1343dd2e0b9f15620e172f08654250e6f | 7adfcfcb757ddd15a6e881b948e3bb424c3e995066f4a6828affe01ac304a3be | 1 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | 60a2362f769cf549dc466134efe71c8bf9fbaaba | 2017-05-02 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2014-9940"
] | [
"CWE-416"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:74472",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_2440_0::print_constraints#0",
"or... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 149302012059643897747796932481865903632, "big_vul_idx": 74472} |
b2b8ff806bc4f85cba9af105a617fbeca2ddc1d6f2ea4ec6d0615b43b1193a17 | c | function | RsvgNode *
rsvg_new_filter_primitive_image (const char *element_name, RsvgNode *parent)
{
RsvgFilterPrimitiveImage *filter;
filter = g_new0 (RsvgFilterPrimitiveImage, 1);
filter->super.in = g_string_new ("none");
filter->super.result = g_string_new ("none");
filter->super.render = rsvg_filter_primi... | b2b8ff806bc4f85cba9af105a617fbeca2ddc1d6f2ea4ec6d0615b43b1193a17 | f73d03866a31a5e0940ed0a5777d20f62defa1f6a7ad160db310f610e6de2826 | b2b8ff806bc4f85cba9af105a617fbeca2ddc1d6f2ea4ec6d0615b43b1193a17 | 2 | false | false | gnome/librsvg | https://github.com/GNOME/librsvg | ecf9267a24b2c3c0cd211dbdfa9ef2232511972a | 2017-07-19 | cve_published | rsvg-filter.c | rsvg_new_filter_primitive_image | 4,079 | 4,097 | false | [] | null | unrelated_in_commit | [
"CVE-2017-11464"
] | [
"CWE-369"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2580_0::rsvg_new_filter_primitive_image#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/GNOME/librsvg/commit/ecf9267a24b2c3c0cd211dbdfa9ef2232511972a", "changed_units_in_commit": 2} | |
5c5f03d348634f15fc222b30da6e12c9359436d41eca835334e548bc77412d8c | c | function | void
vrrp_print(netdissect_options *ndo,
register const u_char *bp, register u_int len,
register const u_char *bp2, int ttl)
{
int version, type, auth_type = VRRP_AUTH_NONE; /* keep compiler happy */
const char *type_s;
ND_TCHECK(bp[0]);
version = (bp[0] & 0xf0) >> 4;
type = bp[0] & 0x0f;
t... | 5c5f03d348634f15fc222b30da6e12c9359436d41eca835334e548bc77412d8c | 2a97951a2b9a51ded9b0929984c6cdbd5bff66f71281818b1b5a0de8dd7670a7 | 1ee1082efdb46b05f5d15bb1ff90840bff90628b15dc59c25026e932ae1d2752 | 5 | false | false | the-tcpdump-group/tcpdump | https://github.com/the-tcpdump-group/tcpdump | 3de07c772166b7e8e8bb4b9d1d078f1d901b570b | 2019-10-03 | cve_published | print-vrrp.c | vrrp_print | 105 | 185 | false | [] | 1086ce2cd70f7b262eb9c6a8a3cd486e | fix | [
"CVE-2018-14463"
] | [
"CWE-125"
] | source | source | nvd_patch_commit | 0.6 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_261_0::vrrp_print#0",
"original_label": "good",
"label_source": "nvd_patch_commit",
"label_confidence": 0.6000000238418579,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/the-tcpdump-group/tcpdump/commit/3de07c772166b7e8e8bb4b9d1d078f1d901b570b", "changed_units_in_commit": 4} | |
28639bf17385da893689bf9665224484c6842e51c26a4eff4359f1e1edea496f | c | function | static void
prot_print(netdissect_options *ndo,
register const u_char *bp, int length)
{
unsigned long i;
int pt_op;
if (length <= (int)sizeof(struct rx_header))
return;
if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) {
goto trunc;
}
/*
* Print out the afs c... | 28639bf17385da893689bf9665224484c6842e51c26a4eff4359f1e1edea496f | d42e67b103990c2bfd2ea86e29bedc48d049b090d9dbe8d09707762097d119f7 | 28639bf17385da893689bf9665224484c6842e51c26a4eff4359f1e1edea496f | 2 | false | false | the-tcpdump-group/tcpdump | https://github.com/the-tcpdump-group/tcpdump | c24922e692a52121e853a84ead6b9337f4c08a94 | 2019-10-03 | cve_published | print-rx.c | prot_print | 1,354 | 1,492 | false | [] | null | unrelated_in_commit | [
"CVE-2017-13049",
"CVE-2018-14466"
] | [
"CWE-125"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_264_0::prot_print#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_2725_0::p... | 2 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/the-tcpdump-group/tcpdump/commit/c24922e692a52121e853a84ead6b9337f4c08a94", "changed_units_in_commit": 5} | |
7f60ce6f68f1dbdbec436fb31b83e83cc1c6e320c77f1c4f661cc55519920d57 | c | function | int
unaligned_memcmp(const void *p, const void *q, size_t l)
{
return (memcmp(p, q, l));
} | 7f60ce6f68f1dbdbec436fb31b83e83cc1c6e320c77f1c4f661cc55519920d57 | 8f507a3a5be910cb14cba76c8d83c9ba96ea2e85aaf8440dd44fbc0a511f7a3f | 7f60ce6f68f1dbdbec436fb31b83e83cc1c6e320c77f1c4f661cc55519920d57 | 2 | false | false | the-tcpdump-group/tcpdump | https://github.com/the-tcpdump-group/tcpdump | 9f0730bee3eb65d07b49fd468bc2f269173352fe | 2017-09-14 | cve_published | util-print.c | unaligned_memcmp | 947 | 951 | false | [] | null | unrelated_in_commit | [
"CVE-2017-13011"
] | [
"CWE-119"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2686_3::unaligned_memcmp#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/the-tcpdump-group/tcpdump/commit/9f0730bee3eb65d07b49fd468bc2f269173352fe", "changed_units_in_commit": 4} | |
ce0f59529b17f12511ac5b5e733669b733696ec8ea0d14da97e7e67866ceb9ab | c | function | static void
activation_mountable_started (NautilusFile *file,
GFile *gfile_of_file,
GError *error,
gpointer callback_data)
{
ActivateParameters *parameters = callback_data;
LaunchLocation *location;
... | ce0f59529b17f12511ac5b5e733669b733696ec8ea0d14da97e7e67866ceb9ab | 97c4b7a6f2a107116e6a5f6a869bbf9c6208293f88f8d8ebe851b5c6f5fa6f0f | 0e02506068be4ea6f14c6fd3c9e3efd0f549265b7c6c561be605cb4193b7f2ab | 3 | false | false | gnome/nautilus | https://github.com/GNOME/nautilus | 1630f53481f445ada0a455e9979236d31a8d3bb0 | 2017-09-20 | cve_published | nautilus-mime-actions.c | activation_mountable_started | 2,333 | 2,390 | false | [] | null | unrelated_in_commit | [
"CVE-2017-14604"
] | [
"CWE-20"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2802_5::activation_mountable_started#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0", "changed_units_in_commit": 14} | |
c9ab2c45b6efdcf092c03a86d83ff21519b392996d2cf88f9f1a77a64d65b3fa | c_or_cpp | function | ushort CLASS get2()
{
uchar str[2] = { 0xff,0xff };
fread (str, 1, 2, ifp);
return sget2(str);
}
| c9ab2c45b6efdcf092c03a86d83ff21519b392996d2cf88f9f1a77a64d65b3fa | e70685f99101e640cf73dbe9dd16859fac90a040daa8b300fa23072dbe739bad | 1b4f13e9811cc08b70598edb4cbf6b6773b23d1b0d89081ec69da0632f4a4e9a | 3 | false | false | rawstudio | https://github.com/rawstudio/rawstudio | 983bda1f0fa5fa86884381208274198a620f006e | 2015-05-19 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2013-1439",
"CVE-2015-3885",
"CVE-2017-14608",
"CVE-2018-5800",
"CVE-2018-5801",
"CVE-2018-5802",
"CVE-2018-5804",
"CVE-2018-5805",
"CVE-2018-5806",
"CVE-2018-5807",
"CVE-2018-5808",
"CVE-2018-5809",
"CVE-2018-5810",
"CVE-2018-5811",
"CVE-2018-5812",
"CVE-2018-5815",
"CVE-2018-5... | [
"CWE-119",
"CWE-125",
"CWE-189",
"CWE-190",
"CWE-193",
"CWE-369",
"CWE-476",
"CWE-703",
"CWE-704",
"CWE-787"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:43282",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_1605_2::get2#0",
"original_label"... | 21 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 107825992608556380520823495526620606170, "big_vul_idx": 43282} |
d828fb85c9723dcbaff55e1be5828b374b7409431ed9faf256bbca4c6771c823 | c | function | ushort CLASS sget2(uchar *s)
{
if (order == 0x4949) /* "II" means little-endian */
return s[0] | s[1] << 8;
else /* "MM" means big-endian */
return s[0] << 8 | s[1];
} | d828fb85c9723dcbaff55e1be5828b374b7409431ed9faf256bbca4c6771c823 | 8297f8acf72152a4d887c9d5b70a8b497cb317281de8d417a1023b2b2a48e6d2 | 71cea11a65c94c41c7491c0fe65f5672a94d4cf0818f6990462be0fee9f1be62 | 2 | false | false | libraw/libraw | https://github.com/LibRaw/LibRaw | f1394822a0152ceed77815eafa5cac4e8baab10a | 2018-12-07 | cve_published | dcraw.c | sget2 | 434 | 440 | false | [] | null | unrelated_in_commit | [
"CVE-2017-16909",
"CVE-2017-16910",
"CVE-2017-6886",
"CVE-2017-6887",
"CVE-2018-10529",
"CVE-2018-5800",
"CVE-2018-5801",
"CVE-2018-5813"
] | [
"CWE-119",
"CWE-125",
"CWE-193",
"CWE-476",
"CWE-787",
"CWE-835"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_2945_0::sget2#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_2945_1::sget2... | 16 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/LibRaw/LibRaw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a", "changed_units_in_commit": 4} |
34517997f8eae02b8b4ce1e7a6323450128ebe2f4393718f43dc165f1616e1e6 | c | function | static void __init i8042_register_ports(void)
{
int i;
for (i = 0; i < I8042_NUM_PORTS; i++) {
struct serio *serio = i8042_ports[i].serio;
if (serio) {
printk(KERN_INFO "serio: %s at %#lx,%#lx irq %d\n",
serio->name,
(unsigned long) I8042_DATA_REG,
(unsigned long) I8042_COMMAND_REG,
i8042_por... | 34517997f8eae02b8b4ce1e7a6323450128ebe2f4393718f43dc165f1616e1e6 | 2da82bb2ab7ebe66e1f73ea23d3fafe6773804f9a096ce5a58e212911ef6fae8 | 0d26ca821d0b684b3008210dad16bd799b00902b7f9b121305f466e9cc48da4b | 2 | true | false | torvalds/linux | https://github.com/torvalds/linux | 340d394a789518018f834ff70f7534fc463d3226 | 2018-01-29 | cve_published | i8042.c | i8042_register_ports | 1,388 | 1,405 | false | [] | null | unrelated_in_commit | [
"CVE-2017-18079"
] | [
"CWE-476"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3000_0::i8042_register_ports#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/340d394a789518018f834ff70f7534fc463d3226", "changed_units_in_commit": 3} |
21de4244cdcea79cfa56caefd50d2d34d18694414825fab3f8336fc1ea52530d | c_or_cpp | function | static inline struct f2fs_sb_info *F2FS_P_SB(struct page *page)
{
return F2FS_M_SB(page->mapping);
} | 21de4244cdcea79cfa56caefd50d2d34d18694414825fab3f8336fc1ea52530d | 43a858d474bca232b7de11ce834da384692a92fa865effa05369999bfa94ccd7 | 21de4244cdcea79cfa56caefd50d2d34d18694414825fab3f8336fc1ea52530d | 1 | true | false | linux | https://github.com/torvalds/linux | 4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6 | 2019-12-17 | cve_published | null | null | null | null | true | [] | cfc2667f0dfcaf6b9c9f7df08521be24 | vuln | [
"CVE-2017-18200",
"CVE-2019-19815"
] | [
"CWE-20",
"CWE-476"
] | hub_fix_commit | hub_cve | prime_vul | 0.65 | true | conflict: winner 0.9 vs loser 0.5 -> conf = win - 0.5*lose | null | [
{
"dataset": "crossvul_2.0",
"original_id": "bad_1317_1::F2FS_P_SB#0",
"original_label": "bad",
"label_source": "nvd_patch_commit",
"label_confidence": 0.6499999761581421,
"is_vulnerable": true,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3012_0:... | 6 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 215750456112149584069106821456675539791, "big_vul_idx": null} |
59c4411c5c8d84a12f74c9bed4da0c36f9b188509dce5ad9f30b0499c679b062 | c | function | static gid_t
add_supp_group(const char *name, gid_t **groups, size_t *ngroups)
{
struct group *gr;
if (*ngroups >= NGROUPS_MAX)
errx(EXIT_FAILURE,
P_("specifying more than %d supplemental group is not possible",
"specifying more than %d supplemental groups is not possible",
NGROUPS_MAX - 1), NGROUPS... | 59c4411c5c8d84a12f74c9bed4da0c36f9b188509dce5ad9f30b0499c679b062 | 71f6499eaeab85636c5fd2e8783cf077e2bd6abb8c5c05722785b8acdb90da9c | 59c4411c5c8d84a12f74c9bed4da0c36f9b188509dce5ad9f30b0499c679b062 | 2 | false | false | karelzak/util-linux | https://github.com/karelzak/util-linux | dffab154d29a288aa171ff50263ecc8f2e14a891 | 2018-07-27 | cve_published | su-common.c | add_supp_group | 747 | 767 | false | [] | null | unrelated_in_commit | [
"CVE-2017-2616"
] | [
"CWE-267",
"CWE-362"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3059_0::add_supp_group#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/karelzak/util-linux/commit/dffab154d29a288aa171ff50263ecc8f2e14a891", "changed_units_in_commit": 1} | |
ff5a10f4767e20078406901033871143e23851beb2d93533bde0a716a5b4bdec | c | function | const char *FS_ReferencedPakChecksums( void ) {
static char info[BIG_INFO_STRING];
searchpath_t *search;
info[0] = 0;
for ( search = fs_searchpaths ; search ; search = search->next ) {
// is the element a pak file?
if ( search->pack ) {
if (search->pack->referenced || Q_stricmpn(search->pack->pakGamename,... | ff5a10f4767e20078406901033871143e23851beb2d93533bde0a716a5b4bdec | 32504f12450caf9a284309d314346e20e1b519db0416bbb5ec62e0b25534af27 | 011d5cc2e4d99dd31a147ad511c47ddf531ba169297c21d885bb61ac8e7e0505 | 2 | true | false | ioquake/ioq3 | https://github.com/ioquake/ioq3 | 376267d534476a875d8b9228149c4ee18b74a4fd | 2017-03-14 | cve_published | files.c | FS_ReferencedPakChecksums | 3,708 | 3,725 | false | [] | cbf34b00db645cb8a5b801698ca0d381 | fix | [
"CVE-2017-6903"
] | [
"CWE-254",
"CWE-269"
] | source | source | nvd_patch_commit | 0.65 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:96051",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3228_1::FS_ReferencedPakChecksums#0",... | 4 | 4 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/ioquake/ioq3/commit/376267d534476a875d8b9228149c4ee18b74a4fd", "changed_units_in_commit": 211} |
f972db8a89726c9df39803f7e83ae0516bd313615b8d5788365dc494024db03a | cpp | function | void CL_InitServerInfo( serverInfo_t *server, netadr_t *address ) {
server->adr = *address;
server->clients = 0;
server->hostName[0] = '\0';
server->mapName[0] = '\0';
server->maxClients = 0;
server->maxPing = 0;
server->minPing = 0;
server->netType = 0;
server->needPassword = qfalse;
server->trueJedi = 0;
s... | f972db8a89726c9df39803f7e83ae0516bd313615b8d5788365dc494024db03a | 76405b0e1ddad4d81dee997787ddfe662c035b4420107c813a61b01509d87082 | f972db8a89726c9df39803f7e83ae0516bd313615b8d5788365dc494024db03a | 1 | true | false | jacoders/openjk | https://github.com/JACoders/OpenJK | 8956a35e7b91c4a0dd1fa6db1d28c7f0efbab2d7 | 2017-03-14 | cve_published | cl_main.cpp | CL_InitServerInfo | 1,647 | 1,664 | false | [] | null | unrelated_in_commit | [
"CVE-2017-6903"
] | [
"CWE-269"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3234_2::CL_InitServerInfo#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/JACoders/OpenJK/commit/8956a35e7b91c4a0dd1fa6db1d28c7f0efbab2d7", "changed_units_in_commit": 5} | |
18fcce3b6731384a870f904ea5f0338481df85f0b30ba7ad3ed539d21d141a67 | c | function | int mg_dns_copy_questions(struct mbuf *io, struct mg_dns_message *msg) {
unsigned char *begin, *end;
struct mg_dns_resource_record *last_q;
if (msg->num_questions <= 0) return 0;
begin = (unsigned char *) msg->pkt.p + sizeof(struct mg_dns_header);
last_q = &msg->questions[msg->num_questions - 1];
end = (uns... | 18fcce3b6731384a870f904ea5f0338481df85f0b30ba7ad3ed539d21d141a67 | a5c8105ddcefc030e0e6436d001b4977b96bfdd5d260fd5b790d33feff43b005 | 18fcce3b6731384a870f904ea5f0338481df85f0b30ba7ad3ed539d21d141a67 | 1 | true | false | cesanta/mongoose | https://github.com/cesanta/mongoose | b8402ed0733e3f244588b61ad5fedd093e3cf9cc | 2017-04-10 | cve_published | mongoose.c | mg_dns_copy_questions | 10,335 | 10,343 | false | [] | null | unrelated_in_commit | [
"CVE-2017-7185",
"CVE-2019-12951"
] | [
"CWE-119",
"CWE-416",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3242_0::mg_dns_copy_questions#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "go... | 3 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc", "changed_units_in_commit": 1} | |
6d600d1e3e4ba4cd32296129c038c40612a1f477fc0df9a34f1d9bddac74e615 | c_or_cpp | function | int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail,
gfp_t gfp_mask)
{
int i, osize = skb_end_offset(skb);
int size = osize + nhead + ntail;
long off;
u8 *data;
BUG_ON(nhead < 0);
if (skb_shared(skb))
BUG();
size = SKB_DATA_ALIGN(size);
if (skb_pfmemalloc(skb))
gfp_mask |= __GFP_MEMALL... | 6d600d1e3e4ba4cd32296129c038c40612a1f477fc0df9a34f1d9bddac74e615 | aed4ab1f5335143ef199dea10050f9e30ff7875525d872692c1ab2c99fd56031 | 11d31b488e4a9ded520aa0a1324282601fc9ce0e96bb277708148e7a80d03c8d | 3 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | 8605330aac5a5785630aec8f64378a54891937cc | 2017-03-28 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2017-7277"
] | [
"CWE-125"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:67684",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3254_1::pskb_expand_head#0",
"ori... | 4 | 3 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 3798744325767942625049763617208181720, "big_vul_idx": 67684} |
44af1382a13d216446faf41fdfb1d1c8f06d23de1d937e60d110abba018fcea7 | c_or_cpp | function | static int __meminit save_mr(struct map_range *mr, int nr_range,
unsigned long start_pfn, unsigned long end_pfn,
unsigned long page_size_mask)
{
if (start_pfn < end_pfn) {
if (nr_range >= NR_RANGE_MR)
panic("run out of range for init_memory_mapping\n");
mr[nr_range].start = start_pfn<<PAGE_SHIFT... | 44af1382a13d216446faf41fdfb1d1c8f06d23de1d937e60d110abba018fcea7 | fc729fe2995cd6f10e3cecca20d42e2933e35563a16dcdffffbe81effc5195fc | 44af1382a13d216446faf41fdfb1d1c8f06d23de1d937e60d110abba018fcea7 | 2 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | a4866aa812518ed1a37d8ea0c881dc946409de94 | 2017-04-17 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2017-7889"
] | [
"CWE-200",
"CWE-732"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:66868",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3304_0::save_mr#0",
"original_lab... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 79088226435166374473015081186483037749, "big_vul_idx": 66868} |
3bfed8314d4e2739dbfd8989a43cd600c3d2c66ad1b688b0717deb407cb2118b | c | function | static inline void gen_op_movl_T0_Dshift(TCGMemOp ot)
{
tcg_gen_ld32s_tl(cpu_T0, cpu_env, offsetof(CPUX86State, df));
tcg_gen_shli_tl(cpu_T0, cpu_T0, ot);
} | 3bfed8314d4e2739dbfd8989a43cd600c3d2c66ad1b688b0717deb407cb2118b | e0b28eb6c1f21f1b085fcd901087adb839a664ac8501df0a59a041286b4ccb38 | 3bfed8314d4e2739dbfd8989a43cd600c3d2c66ad1b688b0717deb407cb2118b | 2 | false | false | qemu/qemu | https://github.com/qemu/qemu | 30663fd26c0307e414622c7a8607fbc04f92ec14 | 2017-04-26 | cve_published | translate.c | gen_op_movl_T0_Dshift | 509 | 513 | false | [] | null | unrelated_in_commit | [
"CVE-2017-8284"
] | [
"CWE-94"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3326_0::gen_op_movl_T0_Dshift#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/qemu/qemu/commit/30663fd26c0307e414622c7a8607fbc04f92ec14", "changed_units_in_commit": 1} | |
d66dbf6ea06f956a77cb09699ceb1d173e894580c947736acf66d087ea69fa24 | c | function | LIBETPAN_EXPORT
int mailimf_char_parse(const char * message, size_t length,
size_t * indx, char token)
{
size_t cur_token;
cur_token = * indx;
if (cur_token >= length)
return MAILIMF_ERROR_PARSE;
if (message[cur_token] == token) {
cur_token ++;
* indx = cur_token;
return MAILIMF_NO_E... | d66dbf6ea06f956a77cb09699ceb1d173e894580c947736acf66d087ea69fa24 | 17ee54f428d65c6fa238a23c0d81babc8408f11aecfbb6ceb829899257468c64 | 398fe9a30d3659cf815796dc28d2dadf2a1a1170e54fabffe57ea0dcbb0ae386 | 2 | false | false | dinhviethoa/libetpan | https://github.com/dinhviethoa/libetpan | 1fe8fbc032ccda1db9af66d93016b49c16c1f22d | 2017-05-08 | cve_published | mailimf.c | mailimf_char_parse | 354 | 372 | false | [] | null | unrelated_in_commit | [
"CVE-2017-8825"
] | [
"CWE-476"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3338_0::mailimf_char_parse#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/dinhviethoa/libetpan/commit/1fe8fbc032ccda1db9af66d93016b49c16c1f22d", "changed_units_in_commit": 1} | |
71560df4bae858b9fdbc4a4d3050943a4b8c75b5e5bfd12f3cd740fe53685cc2 | c | function | static IW_INLINE unsigned int get_raw_sample_4(struct iw_context *ctx,
int x, int y)
{
unsigned short tmpui8;
tmpui8 = ctx->img1.pixels[y*ctx->img1.bpr + x/2];
if(x&0x1)
tmpui8 = tmpui8&0x0f;
else
tmpui8 = tmpui8>>4;
return tmpui8;
} | 71560df4bae858b9fdbc4a4d3050943a4b8c75b5e5bfd12f3cd740fe53685cc2 | b6c6fce6f12237d5d535b64050a28f2dae68995de149a16a7b1fc29963da801d | 37da33e544acccbe889f0df05345beaebccbd0a9b843ccc61f024762ab4408e0 | 2 | true | false | jsummers/imageworsener | https://github.com/jsummers/imageworsener | a4f247707f08e322f0b41e82c3e06e224240a654 | 2017-05-23 | cve_published | imagew-main.c | get_raw_sample_4 | 156 | 166 | false | [] | null | unrelated_in_commit | [
"CVE-2017-9203"
] | [
"CWE-787"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:64910",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3368_1::get_raw_sample_4#0",
"ori... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/jsummers/imageworsener/commit/a4f247707f08e322f0b41e82c3e06e224240a654", "changed_units_in_commit": 2} |
385c92434370bc71c39c11a398bc0e4cdd0e142b5422229d146b22fcff187158 | c | function | void
mono_reflection_get_dynamic_overrides (MonoClass *klass, MonoMethod ***overrides, int *num_overrides)
{
MonoReflectionTypeBuilder *tb;
int i, onum;
*overrides = NULL;
*num_overrides = 0;
g_assert (klass->image->dynamic);
if (!mono_class_get_ref_info (klass))
return;
g_assert (strcmp (((MonoObject*)mon... | 385c92434370bc71c39c11a398bc0e4cdd0e142b5422229d146b22fcff187158 | 5a4d80cab97cdf231b472f194620c28f39b53a6a9599946cced5a3eab199774a | 299f346f2ff0997a7cfaf6ce2de2be0671bea0f6cd0ff88d1cdb9d1f1ec629f1 | 4 | false | false | mono/mono | https://github.com/mono/mono | 89d1455a80ef13cddee5d79ec00c06055da3085c | 2011-04-13 | cve_published | reflection.c | mono_reflection_get_dynamic_overrides | 10,870 | 10,917 | false | [] | null | unrelated_in_commit | [
"CVE-2010-4254",
"CVE-2011-0991"
] | [
"CWE-20",
"CWE-399"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3432_3::mono_reflection_get_dynamic_overrides#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"o... | 3 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/mono/mono/commit/89d1455a80ef13cddee5d79ec00c06055da3085c", "changed_units_in_commit": 7} | |
851446d47f26a61b35bb0d46bc9f95ed2e6af765d83cc8b597a97d53ad21577e | c_or_cpp | function | static int pmcraid_netlink_init(void)
{
int result;
result = genl_register_family(&pmcraid_event_family);
if (result)
return result;
pmcraid_info("registered NETLINK GENERIC group: %d\n",
pmcraid_event_family.id);
return result;
}
| 851446d47f26a61b35bb0d46bc9f95ed2e6af765d83cc8b597a97d53ad21577e | e1d886907be5d6ce5b8caa0d9362a91ddd2fc71e3f1435974650994e841a6527 | 604796c6b64d92eb6b696a378dbec590ff1389a70a8818c57161f35d4212ee61 | 2 | true | false | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | b5b515445f4f5a905c5dd27e6e682868ccd6c09d | 2012-05-24 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2011-2906"
] | [
"CWE-189",
"CWE-400"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:26473",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3484_0::pmcraid_netlink_init#0",
... | 3 | 3 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 13168064718798480604343167898048293369, "big_vul_idx": 26473} |
c64cec96991becbaa0eab28fb06aad56d9b828c683f970b3f1f15ebe8f22480b | c_or_cpp | function | int setup_allrouters_membership(struct Interface *iface)
{
struct ipv6_mreq mreq;
memset(&mreq, 0, sizeof(mreq));
mreq.ipv6mr_interface = iface->if_index;
/* ipv6-allrouters: ff02::2 */
mreq.ipv6mr_multiaddr.s6_addr32[0] = htonl(0xFF020000);
mreq.ipv6mr_multiaddr.s6_addr32[3] = htonl(0x2);
if (setsockopt(sock... | c64cec96991becbaa0eab28fb06aad56d9b828c683f970b3f1f15ebe8f22480b | 492221624b2792cd38fdb75144143196520031c23a495cf2addfe56f0379be3e | c64cec96991becbaa0eab28fb06aad56d9b828c683f970b3f1f15ebe8f22480b | 1 | true | false | radvd | https://github.com/reubenhwk/radvd | 92e22ca23e52066da2258df8c76a2dca8a428bcc | 2014-04-27 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2011-3602"
] | [
"CWE-22"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:41243",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3514_0::setup_allrouters_membership#0... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 298760388775973907326417478171132051616, "big_vul_idx": 41243} |
7ffb1b0536646565d7d780831af96c6009ecf5ef3b6939ce2938914990a59194 | c | function | static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request)
{
struct nfs4_exception exception = { };
int err;
do {
err = _nfs4_proc_setlk(state, cmd, request);
if (err == -NFS4ERR_DENIED)
err = -EAGAIN;
err = nfs4_handle_exception(NFS_SERVER(state->inode),
err, &exception);... | 7ffb1b0536646565d7d780831af96c6009ecf5ef3b6939ce2938914990a59194 | 87add371763658309d61f0280f0925e8a52b84f75146ba08a8a5059af89711f7 | 04c9d393c26d7d1556e77a0b2f8713b044abc6f92d8aed84b8349a2c693a92fc | 6 | false | false | torvalds/linux | https://github.com/torvalds/linux | bf118a342f10dafe44b14451a1392c3254629a1f | 2012-05-17 | cve_published | nfs4proc.c | nfs4_proc_setlk | 4,523 | 4,536 | false | [] | null | unrelated_in_commit | [
"CVE-2011-4131"
] | [
"CWE-189",
"CWE-703"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:23235",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3527_0::nfs4_proc_setlk#0",
"orig... | 3 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/bf118a342f10dafe44b14451a1392c3254629a1f", "changed_units_in_commit": 6} |
a5c59a48831130af9fac7e18fe47c4e8718944722298a41099635c36e4df0779 | c | function | int do_migrate_pages(struct mm_struct *mm,
const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags)
{
return -ENOSYS;
} | a5c59a48831130af9fac7e18fe47c4e8718944722298a41099635c36e4df0779 | 3bf5fc643e687554b2e8cc2636ec38c909318453f7278111ae215a94ac3df3a7 | a5c59a48831130af9fac7e18fe47c4e8718944722298a41099635c36e4df0779 | 1 | true | false | torvalds/linux | https://github.com/torvalds/linux | 4a1d704194a441bf83c636004a479e01360ec850 | 2012-05-17 | cve_published | mempolicy.c | do_migrate_pages | 1,075 | 1,079 | false | [] | 4b0142202cd931c4c749fd4e88203ab7 | fix | [
"CVE-2012-1179"
] | [
"CWE-264"
] | source | source | nvd_patch_commit | 0.65 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:21306",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3604_5::do_migrate_pages#1",
"ori... | 3 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/4a1d704194a441bf83c636004a479e01360ec850", "changed_units_in_commit": 522} |
fe1c1e876c66914aa6bf78b260ccf2bb2ce33c687d51d0a0f3ea4b3aefa7922b | c | function | static int kvm_vm_ioctl_set_irqchip(struct kvm *kvm, struct kvm_irqchip *chip)
{
int r;
r = 0;
switch (chip->chip_id) {
case KVM_IRQCHIP_IOAPIC:
r = kvm_set_ioapic(kvm, &chip->chip.ioapic);
break;
default:
r = -EINVAL;
break;
}
return r;
} | fe1c1e876c66914aa6bf78b260ccf2bb2ce33c687d51d0a0f3ea4b3aefa7922b | 1b3da257d70ba7ebc038e78b3bf8d8a1bf6576cf9c44b1b93693c9961bcf1210 | fe1c1e876c66914aa6bf78b260ccf2bb2ce33c687d51d0a0f3ea4b3aefa7922b | 1 | true | false | torvalds/linux | https://github.com/torvalds/linux | 9c895160d25a76c21b65bad141b08e8d4f99afef | 2012-05-17 | cve_published | kvm-ia64.c | kvm_vm_ioctl_set_irqchip | 852 | 866 | false | [] | null | unrelated_in_commit | [
"CVE-2012-1601"
] | [
"CWE-399"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:20640",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3622_0::kvm_vm_ioctl_set_irqchip#0",
... | 4 | 4 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/9c895160d25a76c21b65bad141b08e8d4f99afef", "changed_units_in_commit": 5} |
cc74bb484d650b1af15a27802c71f83271806cee7efdbb6188febe25d2c8d3ba | c_or_cpp | function | static void TIFFReadPhotoshopLayers(Image* image,const ImageInfo *image_info,
ExceptionInfo *exception)
{
const char
*option;
const StringInfo
*profile;
CustomStreamInfo
*custom_stream;
Image
*layers;
PhotoshopProfile
photoshop_profile;
PSDInfo
info;
register ssize_t
i;... | cc74bb484d650b1af15a27802c71f83271806cee7efdbb6188febe25d2c8d3ba | b531075e6eb067032d1105173e958ea627ab761afe3f1b390b18f463cb82d46f | 056ccc3a0812a5d546f012733416a6fe2e558b1d4445b0b8d355321ac56b3053 | 4 | false | true | ImageMagick | https://github.com/imagemagick/imagemagick | 256825d4eb33dc301496710d15cf5a7ae924088b | 2018-09-06 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2018-16641"
] | [
"CWE-399",
"CWE-772"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:77986",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_362_0::TIFFReadPhotoshopLayers#0",
... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 286932921066934103593919785113564304949, "big_vul_idx": 77986} |
d6cfae8f1035b1eb41bad5f2aa0a6b54614506a00b28ffe92554cdb4f650cd93 | c_or_cpp | function | const struct cred *get_task_cred(struct task_struct *task)
{
const struct cred *cred;
rcu_read_lock();
do {
cred = __task_cred((task));
BUG_ON(!cred);
} while (!atomic_inc_not_zero(&((struct cred *)cred)->usage));
rcu_read_unlock();
return cred;
}
| d6cfae8f1035b1eb41bad5f2aa0a6b54614506a00b28ffe92554cdb4f650cd93 | a6ffba8d2cff360eef7bf34efc8dc387b0590dcba39f7d9d1e4ca3c308b63fb3 | 7c26e9720b0428da0e1b96b0a364dd45e265582a0544cb92518195260ac92901 | 2 | true | false | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | 79549c6dfda0603dba9a70a53467ce62d9335c33 | 2012-08-09 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2012-2745"
] | [
"CWE-119"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:19606",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_3674_0::get_task_cred#0",
"origin... | 6 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 192586859336657054399984669497275705003, "big_vul_idx": 19606} |
65c09496c1ca9e4fb42212c0227948d07f325532a3e2eb9ab23eb97fd259c795 | cpp | function | void
UnicodeString::setToBogus()
{
releaseArray();
fUnion.fFields.fLengthAndFlags = kIsBogus;
fUnion.fFields.fArray = 0;
fUnion.fFields.fCapacity = 0;
} | 65c09496c1ca9e4fb42212c0227948d07f325532a3e2eb9ab23eb97fd259c795 | 303e096019036edc133e494df45dc49d5db92cbb3ae0f2277ea2d3f8a7cb8d58 | 65c09496c1ca9e4fb42212c0227948d07f325532a3e2eb9ab23eb97fd259c795 | 2 | true | false | unicode-org/icu | https://github.com/unicode-org/icu | b7d08bc04a4296982fcef8b6b8a354a9e4e7afca | 2020-03-12 | cve_published | unistr.cpp | UnicodeString::setToBogus | 1,199 | 1,207 | false | [] | null | unrelated_in_commit | [
"CVE-2020-10531"
] | [
"CWE-190",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3872_0::UnicodeString::setToBogus#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca", "changed_units_in_commit": 1} | |
6285aa6b60c3fa8a04abfd684a581601c19903cd869a934aba2c7c97c8669dea | c | function | struct ofpbuf *
ofputil_encode_resume(const struct ofputil_packet_in *pin,
const struct ofpbuf *continuation,
enum ofputil_protocol protocol)
{
enum ofp_version version = ofputil_protocol_to_ofp_version(protocol);
size_t extra = pin->packet_len + NXM_TYPICAL_LEN + con... | 6285aa6b60c3fa8a04abfd684a581601c19903cd869a934aba2c7c97c8669dea | daea0491326a6a376f66a2bbc8116ee29a9e55bf22470b962d3277374414a14b | 6285aa6b60c3fa8a04abfd684a581601c19903cd869a934aba2c7c97c8669dea | 2 | false | false | openvswitch/ovs | https://github.com/openvswitch/ovs | 4af6da3b275b764b1afe194df6499b33d2bf4cde | 2018-09-19 | cve_published | ofp-util.c | ofputil_encode_resume | 4,009 | 4,022 | false | [] | null | unrelated_in_commit | [
"CVE-2018-17204"
] | [
"CWE-617"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_389_0::ofputil_encode_resume#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/openvswitch/ovs/commit/4af6da3b275b764b1afe194df6499b33d2bf4cde", "changed_units_in_commit": 1} | |
360d83ea866a6d560951ed8bcc1a13aba71f3b59f83c963871ca83b757388275 | c | function | static void
encode_SET_IPV4_DST(const struct ofpact_ipv4 *ipv4,
enum ofp_version ofp_version, struct ofpbuf *out)
{
encode_SET_IPV4_addr(ipv4, ofp_version, OFPAT_RAW_SET_NW_DST, MFF_IPV4_DST,
out);
} | 360d83ea866a6d560951ed8bcc1a13aba71f3b59f83c963871ca83b757388275 | ac418657fc1a6a4f4b2e81a0847fb90382de1f057ee9b89cf2348edf646d126b | 360d83ea866a6d560951ed8bcc1a13aba71f3b59f83c963871ca83b757388275 | 2 | true | false | openvswitch/ovs | https://github.com/openvswitch/ovs | 9237a63c47bd314b807cda0bd2216264e82edbe8 | 2018-09-19 | cve_published | ofp-actions.c | encode_SET_IPV4_DST | 1,863 | 1,869 | false | [] | null | unrelated_in_commit | [
"CVE-2018-17206"
] | [
"CWE-125"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_391_0::encode_SET_IPV4_DST#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/openvswitch/ovs/commit/9237a63c47bd314b807cda0bd2216264e82edbe8", "changed_units_in_commit": 1} | |
ef393f2b67483783b5a91a32642f696e656471423f5bec247a53cb51c8c06b5f | c | function | int wc_ecc_sig_size_calc(int sz)
{
int maxSigSz = 0;
/* calculate based on key bits */
/* maximum possible signature header size is 7 bytes plus 2 bytes padding */
maxSigSz = (sz * 2) + SIG_HEADER_SZ + ECC_MAX_PAD_SZ;
/* if total length is less than 128 + SEQ(1)+LEN(1) then subtract 1 */
if (m... | ef393f2b67483783b5a91a32642f696e656471423f5bec247a53cb51c8c06b5f | b0ab2e2e013af7918dbc682f1c7533f1d99f23393772400c7d7239dad4a486b3 | ef393f2b67483783b5a91a32642f696e656471423f5bec247a53cb51c8c06b5f | 1 | true | false | wolfssl/wolfssl | https://github.com/wolfSSL/wolfssl | 5ee9f9c7a23f8ed093fe1e42bc540727e96cebb8 | 2019-12-24 | cve_published | ecc.c | wc_ecc_sig_size_calc | 7,619 | 7,633 | false | [] | null | unrelated_in_commit | [
"CVE-2019-13628",
"CVE-2019-19960",
"CVE-2020-11735"
] | [
"CWE-203",
"CWE-326"
] | source | null | nvd_patch_commit | 0.55 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_1335_0::wc_ecc_sig_size_calc#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "goo... | 4 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/wolfSSL/wolfssl/commit/5ee9f9c7a23f8ed093fe1e42bc540727e96cebb8", "changed_units_in_commit": 1} |
d1ab7712497effb5240bb43252db5b1e3bac369e01e32f8f1a56d73cd70ad858 | c_or_cpp | function | void test_checkout_nasty__dotdot_dotgit_path(void)
{
test_checkout_fails("refs/heads/dotdot_dotgit_path", ".git/foobar");
} | d1ab7712497effb5240bb43252db5b1e3bac369e01e32f8f1a56d73cd70ad858 | 14a410bc295fab3f9d87c1288683b82559c3aea7a03948a4fab6fb13a3db31a4 | d1ab7712497effb5240bb43252db5b1e3bac369e01e32f8f1a56d73cd70ad858 | 1 | true | false | libgit2 | https://github.com/libgit2/libgit2 | 64c612cc3e25eff5fb02c59ef5a66ba7a14751e4 | 2020-04-27 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2020-12278",
"CVE-2020-12279"
] | [
"CWE-20",
"CWE-706"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_3987_1::test_checkout_nasty__dotdot_dotgit_path#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
... | 4 | 3 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 10807682405548197770573587766325588449, "big_vul_idx": null} |
5d69156a1fd3a6a86077d053738cde23e5d6604fa244a7c1ebb3879e1e5b1e93 | c | function | static void
mwifiex_send_single_packet(struct mwifiex_private *priv,
struct mwifiex_ra_list_tbl *ptr, int ptr_index)
__releases(&priv->wmm.ra_list_spinlock)
{
struct sk_buff *skb, *skb_next;
struct mwifiex_tx_param tx_param;
struct mwifiex_adapter *adapter = priv->adapter;
struct mwifiex_txinfo *tx_info... | 5d69156a1fd3a6a86077d053738cde23e5d6604fa244a7c1ebb3879e1e5b1e93 | 9fa292e81d6573cb87d3db3af2bc22a6107ef13e61cd980b5ec56494bd610134 | 34478d4041e1db42aff294178a9ee623359c3c5855d4dcaab4a5fd4052977d98 | 3 | false | false | torvalds/linux | https://github.com/torvalds/linux | 3a9b153c5591548612c3955c9600a98150c81875 | 2020-05-05 | cve_published | wmm.c | mwifiex_send_single_packet | 1,229 | 1,283 | false | [] | null | unrelated_in_commit | [
"CVE-2020-12654"
] | [
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4005_0::mwifiex_send_single_packet#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/3a9b153c5591548612c3955c9600a98150c81875", "changed_units_in_commit": 1} | |
5043e8c6b59af36b37e710c28db03ebe492bd8e68cd87ef0658af3601dde55bf | c_or_cpp | function | static void check_unsafe_exec(struct linux_binprm *bprm)
{
struct task_struct *p = current, *t;
unsigned n_fs;
if (p->ptrace)
bprm->unsafe |= LSM_UNSAFE_PTRACE;
/*
* This isn't strictly necessary, but it makes it harder for LSMs to
* mess up.
*/
if (task_no_new_privs(current))
bprm->unsafe |= LSM_UNSAF... | 5043e8c6b59af36b37e710c28db03ebe492bd8e68cd87ef0658af3601dde55bf | 19d56838c7032cbc0f620ad86c8c8eb9d9ea7656f404ca61f610803383f1b39b | 5043e8c6b59af36b37e710c28db03ebe492bd8e68cd87ef0658af3601dde55bf | 1 | true | false | linux | null | 98da7d08850fb8bdeb395d6368ed15753304aa0c | null | null | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2017-1000365",
"CVE-2020-12826"
] | [
"CWE-190"
] | null | null | prime_vul | 0.75 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4015_0::check_unsafe_exec#0",
"original_label": "good",
"label_source": "nvd_patch_commit",
"label_confidence": 0.6000000238418579,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_... | 3 | 3 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 174339957411361788762353520888317830698, "big_vul_idx": null} |
0580548af8b6e05afee1fea2729abb58aaf43f8654a73f85253611996bdde34b | cpp | function | void WebContents::MessageHost(const std::string& channel,
blink::CloneableMessage arguments) {
TRACE_EVENT1("electron", "WebContents::MessageHost", "channel", channel);
// webContents.emit('ipc-message-host', new Event(), channel, args);
EmitWithSender("ipc-message-host", receivers_.... | 0580548af8b6e05afee1fea2729abb58aaf43f8654a73f85253611996bdde34b | ec6e0612fdb5e5c3ed8d642447318745f120b175656d24f9fbd57aa04e3ec905 | 0580548af8b6e05afee1fea2729abb58aaf43f8654a73f85253611996bdde34b | 1 | true | false | electron/electron | https://github.com/electron/electron | 18613925610ba319da7f497b6deed85ad712c59b | 2020-10-06 | cve_published | electron_api_web_contents.cc | WebContents::MessageHost | 1,217 | 1,223 | false | [] | null | unrelated_in_commit | [
"CVE-2020-15174"
] | [
"CWE-20",
"CWE-284",
"CWE-693"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4131_0::WebContents::MessageHost#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"origina... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b", "changed_units_in_commit": 3} |
a6d0029d873747215ad5e7d2e62f678330f5a487fa10e34d7c7e2fca180aa97f | cpp | function | void* Init(TfLiteContext* context, const char* buffer, size_t length) {
TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr);
return context->AllocatePersistentBuffer(context,
sizeof(L2NormalizationParams));
} | a6d0029d873747215ad5e7d2e62f678330f5a487fa10e34d7c7e2fca180aa97f | d87504ca3676b789ba17c80ab846b82454e4d43034d3ae3a3890ff6c787b5d0b | a6d0029d873747215ad5e7d2e62f678330f5a487fa10e34d7c7e2fca180aa97f | 1 | true | false | tensorflow/tensorflow | https://github.com/tensorflow/tensorflow | fff2c8326280c07733828f990548979bdc893859 | 2020-09-25 | cve_published | l2norm.cc | Init | 77 | 81 | false | [] | null | unrelated_in_commit | [
"CVE-2020-15211"
] | [
"CWE-125",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4164_12::Init#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/tensorflow/tensorflow/commit/fff2c8326280c07733828f990548979bdc893859", "changed_units_in_commit": 32} | |
06ad1002e5e070ea09cf0ef3ef80b9c35656c62ff2750ffd32bd661dd0b492c2 | c_or_cpp | function | static inline void tss_update_io_bitmap(void)
{
PVOP_VCALL0(cpu.update_io_bitmap);
} | 06ad1002e5e070ea09cf0ef3ef80b9c35656c62ff2750ffd32bd661dd0b492c2 | 7fe6b97a611b0e42f6a9a385d8a3b607733bb893d92193c226b1ea70aedfb4bd | 06ad1002e5e070ea09cf0ef3ef80b9c35656c62ff2750ffd32bd661dd0b492c2 | 1 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | cadfad870154e14f745ec845708bc17d166065f2 | 2020-07-20 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2020-15852"
] | [
"CWE-276"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4225_1::tss_update_io_bitmap#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id... | 3 | 3 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 98245822252004303134634288949446989259, "big_vul_idx": null} |
5fda830fc9d1c9625a0539978ffa0915ee4d69af709829f6c573fc0d79c458e8 | c_or_cpp | function | static void f_parser (lua_State *L, void *ud) {
LClosure *cl;
struct SParser *p = cast(struct SParser *, ud);
int c = zgetc(p->z); /* read first character */
if (c == LUA_SIGNATURE[0]) {
checkmode(L, p->mode, "binary");
cl = luaU_undump(L, p->z, p->name);
}
else {
checkmode(L, p->mode, "text");... | 5fda830fc9d1c9625a0539978ffa0915ee4d69af709829f6c573fc0d79c458e8 | 656a745eec995fbc2579b56afefd21d529b5968f39d7ca02f378930e8e3d1799 | 5fda830fc9d1c9625a0539978ffa0915ee4d69af709829f6c573fc0d79c458e8 | 2 | true | false | lua | https://github.com/lua/lua | 6298903e35217ab69c279056f925fb72900ce0b7 | 2020-07-21 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2020-15888",
"CVE-2020-15945",
"CVE-2020-24342",
"CVE-2021-45985"
] | [
"CWE-119",
"CWE-120",
"CWE-125",
"CWE-416",
"CWE-787"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4230_0::f_parser#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4231_0::f_... | 9 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 133781354629078404021413329253323704890, "big_vul_idx": null} |
21b4759cdde31aed0ff7d452919000d6bd384a2eb9c14a1c8e52dd7dee099684 | c_or_cpp | function | static lu_mem entergen (lua_State *L, global_State *g) {
lu_mem numobjs;
luaC_runtilstate(L, bitmask(GCSpause)); /* prepare to start a new cycle */
luaC_runtilstate(L, bitmask(GCSpropagate)); /* start new cycle */
numobjs = atomic(L); /* propagates all and then do the atomic stuff */
atomic2gen(L, g);
re... | 21b4759cdde31aed0ff7d452919000d6bd384a2eb9c14a1c8e52dd7dee099684 | 6253aca62e6189d1d13dfbc705097f998eace311cf9c75c0b82155803cdabb6d | 21b4759cdde31aed0ff7d452919000d6bd384a2eb9c14a1c8e52dd7dee099684 | 1 | true | false | lua | https://github.com/lua/lua | 127e7a6c8942b362aa3c6627f44d660a4fb75312 | 2020-07-21 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2020-15889",
"CVE-2020-24371"
] | [
"CWE-125",
"CWE-763"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4232_0::entergen#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4273_0::en... | 5 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 186798532384045511713307233835387981817, "big_vul_idx": null} |
e3a2fed608bb74962b57cb623783858fea09d9ac4f1db8d781f2ecd56abcff1f | c_or_cpp_header | function | explicit GeneratorInnerFunction(
Module *parent,
Identifier originalName,
DefinitionKind definitionKind,
bool strictMode,
bool isGlobal,
SMRange sourceRange,
Function *insertBefore)
: Function(
ValueKind::GeneratorInnerFunctionKind,
parent,
... | e3a2fed608bb74962b57cb623783858fea09d9ac4f1db8d781f2ecd56abcff1f | f6cad720f893303aa3610b6e08b8793712e71fd8609cba9c4ccb19d07352551a | e3a2fed608bb74962b57cb623783858fea09d9ac4f1db8d781f2ecd56abcff1f | 1 | true | false | facebook/hermes | https://github.com/facebook/hermes | 091835377369c8fd5917d9b87acffa721ad2a168 | 2020-09-09 | cve_published | IR.h | GeneratorInnerFunction | 1,634 | 1,652 | false | [] | null | unrelated_in_commit | [
"CVE-2020-1912"
] | [
"CWE-125",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4256_0::GeneratorInnerFunction#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/facebook/hermes/commit/091835377369c8fd5917d9b87acffa721ad2a168", "changed_units_in_commit": 8} | |
8e8d0de50ee2d15bd7d12caa98c2874b84d49d0afb6e97ab89f0654d302dbb55 | c_or_cpp_header | function | ParameterListType &getParameters() {
return Parameters;
} | 8e8d0de50ee2d15bd7d12caa98c2874b84d49d0afb6e97ab89f0654d302dbb55 | 0d029b796d43ebdff72ace67f3e1ab26c60d54d03c464c46678f1ed2acf1ea6d | 8e8d0de50ee2d15bd7d12caa98c2874b84d49d0afb6e97ab89f0654d302dbb55 | 1 | true | false | facebook/hermes | https://github.com/facebook/hermes | 091835377369c8fd5917d9b87acffa721ad2a168 | 2020-09-09 | cve_published | IR.h | null | 1,494 | 1,496 | false | [] | null | unrelated_in_commit | [
"CVE-2020-1912"
] | [
"CWE-125",
"CWE-787"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4256_0::None#8",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/facebook/hermes/commit/091835377369c8fd5917d9b87acffa721ad2a168", "changed_units_in_commit": 8} | |
0b18e9c84b35bfb2f34550e2f0118dedd451a6eb6e320ef17d14578268dd3158 | cpp | function | void MainWindow::on_actionProfileRemove_triggered()
{
QDir dir(Settings.appDataLocation());
if (dir.cd("profiles")) {
// Setup the dialog.
QStringList profiles = dir.entryList(QDir::Files | QDir::NoDotAndDotDot | QDir::Readable);
ListSelectionDialog dialog(profiles, this);
dialog... | 0b18e9c84b35bfb2f34550e2f0118dedd451a6eb6e320ef17d14578268dd3158 | 53578d0f69e1be28b734197b9e0aa0d87dec2d2aca863e1a36552b1d31863e76 | 0b18e9c84b35bfb2f34550e2f0118dedd451a6eb6e320ef17d14578268dd3158 | 1 | true | false | mltframework/shotcut | https://github.com/mltframework/shotcut | f008adc039642307f6ee3378d378cdb842e52c1d | 2020-09-22 | cve_published | mainwindow.cpp | MainWindow::on_actionProfileRemove_triggered | 4,138 | 4,153 | false | [] | null | unrelated_in_commit | [
"CVE-2020-24619"
] | [
"CWE-295",
"CWE-327",
"CWE-89"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4277_0::MainWindow::on_actionProfileRemove_triggered#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_202... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/mltframework/shotcut/commit/f008adc039642307f6ee3378d378cdb842e52c1d", "changed_units_in_commit": 2} |
571e3972a27869955bced1ef3f466c398d24bb469ab471eeaa7738119b41ccd2 | c_or_cpp_header | function | static __inline const char *
ksid_getdomain(ksid_t *ks)
{
panic("%s has been unexpectedly called", __func__);
} | 571e3972a27869955bced1ef3f466c398d24bb469ab471eeaa7738119b41ccd2 | ad25ee745e6c2d17834bc2591b4be7b07aa4ed05af5536d2ca84e173f9976204 | 571e3972a27869955bced1ef3f466c398d24bb469ab471eeaa7738119b41ccd2 | 1 | true | false | openzfs/zfs | https://github.com/openzfs/zfs | 716b53d0a14c72bda16c0872565dd1909757e73f | 2020-08-27 | cve_published | sid.h | ksid_getdomain | 69 | 74 | false | [] | null | unrelated_in_commit | [
"CVE-2020-24716",
"CVE-2020-24717"
] | [
"CWE-276",
"CWE-732",
"CWE-863"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4284_2::ksid_getdomain#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/openzfs/zfs/commit/716b53d0a14c72bda16c0872565dd1909757e73f", "changed_units_in_commit": 9} | |
adc16aae714bed27ba62302369f8e5385afae113f9ab846ba4da28044cc5dcf4 | c | function | STATIC int
xfs_attr_node_removename(xfs_da_args_t *args)
{
xfs_da_state_t *state;
xfs_da_state_blk_t *blk;
xfs_inode_t *dp;
struct xfs_buf *bp;
int retval, error, forkoff;
trace_xfs_attr_node_removename(args);
/*
* Tie a string around our finger to remind us where we are.
*/
dp = args->dp;
state = xfs_da... | adc16aae714bed27ba62302369f8e5385afae113f9ab846ba4da28044cc5dcf4 | e8a4e36a1b542ca3371d718c2a31ff1a6309e408b74a229c2cf4a15a9203ba99 | adc16aae714bed27ba62302369f8e5385afae113f9ab846ba4da28044cc5dcf4 | 2 | false | false | torvalds/linux | https://github.com/torvalds/linux | 7b38460dc8e4eafba06c78f8e37099d3b34d473c | 2018-10-26 | cve_published | xfs_attr.c | xfs_attr_node_removename | 1,063 | 1,194 | false | [] | null | unrelated_in_commit | [
"CVE-2018-18690"
] | [
"CWE-19",
"CWE-754"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_431_0::xfs_attr_node_removename#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "reposvul",
"original_id": "3147... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/7b38460dc8e4eafba06c78f8e37099d3b34d473c", "changed_units_in_commit": 1} |
fb658ee05c5dcc4dbff5338734479c04ad1c840fc0cbf9dfb26a9002ec8214d9 | c_or_cpp | function | unsigned int bt_att_register(struct bt_att *att, uint8_t opcode,
bt_att_notify_func_t callback,
void *user_data,
bt_att_destroy_func_t destroy)
{
struct att_notify *notify;
if (!att || !callback || queue_isempty(att->chans))
return 0;
notify = new0(struct att_notify, 1);
notify->opcode = opcod... | fb658ee05c5dcc4dbff5338734479c04ad1c840fc0cbf9dfb26a9002ec8214d9 | 83471f1dfc69c2e8ef3bd549963ffb0906b712c483377be81e2798be2dfdf6b4 | fb658ee05c5dcc4dbff5338734479c04ad1c840fc0cbf9dfb26a9002ec8214d9 | 1 | true | false | bluez | https://github.com/bluez/bluez | 1cd644db8c23a2f530ddb93cebed7dacc5f5721a | 2020-10-15 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2020-27153"
] | [
"CWE-415"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4406_0::bt_att_register#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id": "l... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 121495179453595255297504558458605812661, "big_vul_idx": null} |
b18d12f62583c950d7fac851a419d54e007f320841fed71b69d426320d370f23 | c | function | static uint8_t
hfs_make_catalog(HFS_INFO * hfs, TSK_FS_FILE * fs_file)
{
TSK_FS_INFO *fs = (TSK_FS_INFO *) hfs;
TSK_FS_ATTR *fs_attr;
TSK_FS_ATTR_RUN *attr_run;
unsigned char dummy1, dummy2;
uint64_t dummy3;
uint8_t result;
if (tsk_verbose)
tsk_fprintf(stderr,
"hfs_make_... | b18d12f62583c950d7fac851a419d54e007f320841fed71b69d426320d370f23 | b0dd7d1f9705c0876f9fb1f95651ed11c463e51d4c7e3e12a7eec67d794230e5 | 204717273bbf739c3e08bd5b5798c6d4e3125117d709729aa9bdf76508b86c1f | 2 | true | false | sleuthkit/sleuthkit | https://github.com/sleuthkit/sleuthkit | bc04aa017c0bd297de8a3b7fc40ffc6ddddbb95d | 2018-11-29 | cve_published | hfs.c | hfs_make_catalog | 1,870 | 1,942 | false | [] | null | unrelated_in_commit | [
"CVE-2018-19497",
"CVE-2019-1010065"
] | [
"CWE-125",
"CWE-190"
] | source | source | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_451_0::hfs_make_catalog#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_711... | 2 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/sleuthkit/sleuthkit/commit/bc04aa017c0bd297de8a3b7fc40ffc6ddddbb95d", "changed_units_in_commit": 1} | |
9252b42ddf0d83198aa7a0b4879122210bbe2e3b614aedd0e5f59fab08d98de5 | c_or_cpp | function | static int opint(RAsm *a, ut8 *data, const Opcode *op) {
int l = 0;
if (op->operands[0].type & OT_CONSTANT) {
st32 immediate = op->operands[0].immediate * op->operands[0].sign;
if (immediate <= 255 && immediate >= -128) {
data[l++] = 0xcd;
data[l++] = immediate;
}
}
return l;
}
| 9252b42ddf0d83198aa7a0b4879122210bbe2e3b614aedd0e5f59fab08d98de5 | 8b4bd829a6a396767462bfd4f0de0d5eeac0fdd475df79b0cce0053e4aa4a585 | 9252b42ddf0d83198aa7a0b4879122210bbe2e3b614aedd0e5f59fab08d98de5 | 1 | true | false | radare2 | https://github.com/radare/radare2 | 9b46d38dd3c4de6048a488b655c7319f845af185 | 2018-12-25 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2018-19842",
"CVE-2018-19843",
"CVE-2018-20455",
"CVE-2018-20456"
] | [
"CWE-119",
"CWE-125",
"CWE-787"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:75429",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_458_0::opint#0",
"original_label"... | 6 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 150561064572607288412111487709098693266, "big_vul_idx": 75429} |
4eef192dbf11ce76b74814a6e378d5c17528ea3be410a94d415a8d0fea5b8ae2 | c_or_cpp | function | static int user_reset_fdc(int drive, int arg, bool interruptible)
{
int ret;
if (lock_fdc(drive))
return -EINTR;
if (arg == FD_RESET_ALWAYS)
FDCS->reset = 1;
if (FDCS->reset) {
cont = &reset_cont;
ret = wait_til_done(reset_fdc, interruptible);
if (ret == -EINTR)
return -EINTR;
}
process_fd_request(... | 4eef192dbf11ce76b74814a6e378d5c17528ea3be410a94d415a8d0fea5b8ae2 | 67a5ab95d0378b8a4fb18e049580f6799ff191a8445c9fde97d3fce2645beaf7 | 4eef192dbf11ce76b74814a6e378d5c17528ea3be410a94d415a8d0fea5b8ae2 | 3 | true | false | linux | https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux | 2e90ca68b0d2f5548804f22f0dd61145516171e3 | 2020-02-25 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2015-9289",
"CVE-2017-17807",
"CVE-2017-18595",
"CVE-2018-19985",
"CVE-2018-20169",
"CVE-2018-7191",
"CVE-2019-10207",
"CVE-2019-10638",
"CVE-2019-10639",
"CVE-2019-11190",
"CVE-2019-11884",
"CVE-2019-12382",
"CVE-2019-13233",
"CVE-2019-13648",
"CVE-2019-14283",
"CVE-2019-14284",
... | [
"CWE-120",
"CWE-122",
"CWE-125",
"CWE-190",
"CWE-20",
"CWE-200",
"CWE-287",
"CWE-326",
"CWE-362",
"CWE-369",
"CWE-399",
"CWE-400",
"CWE-401",
"CWE-415",
"CWE-416",
"CWE-440",
"CWE-476",
"CWE-667",
"CWE-787",
"CWE-862"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:88847",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4689_0::user_reset_fdc#0",
"origi... | 7 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 81505714128420610428252649703876822659, "big_vul_idx": null} |
edf83d568a8f110756b6f7f27055a47b58f00fcf38a81f84e4742235da8ad54b | c | function | gboolean
mono_loader_lock_is_owned_by_self (void)
{
g_assert (loader_lock_track_ownership);
return GPOINTER_TO_UINT (TlsGetValue (loader_lock_nest_id)) > 0;
} | edf83d568a8f110756b6f7f27055a47b58f00fcf38a81f84e4742235da8ad54b | 16baeaaf19e518487d9f46d0de257f73f17bb8a49a9cca80127686f74a73b227 | 0c2dee09b2157f8738dbf17d2425b8faccd0680d99bd6953519c2625d0567d94 | 2 | true | false | mono/mono | https://github.com/mono/mono | 8e890a3bf80a4620e417814dc14886b1bbd17625 | 2010-11-17 | cve_published | loader.c | mono_loader_lock_is_owned_by_self | 2,127 | 2,133 | false | [] | null | unrelated_in_commit | [
"CVE-2010-4159"
] | [] | source | null | nvd_patch_commit | 0.5 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4714_0::mono_loader_lock_is_owned_by_self#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/mono/mono/commit/8e890a3bf80a4620e417814dc14886b1bbd17625", "changed_units_in_commit": 1} | |
2a70c217813ebfec3a99351bd976063bf026883baabeee7c90ba9fe72ed69910 | c_or_cpp | function | static void _delay_rpc(int host_inx, int host_cnt, int usec_per_rpc)
{
struct timeval tv1;
uint32_t cur_time; /* current time in usec (just 9 digits) */
uint32_t tot_time; /* total time expected for all RPCs */
uint32_t offset_time; /* relative time within tot_time */
uint32_t target_time; /* desired time to issue... | 2a70c217813ebfec3a99351bd976063bf026883baabeee7c90ba9fe72ed69910 | a1d28f245a75926276290f1d48ce44e9507b8232494c4542de664cd32278c6c1 | 2a70c217813ebfec3a99351bd976063bf026883baabeee7c90ba9fe72ed69910 | 2 | true | false | slurm | https://github.com/schedmd/slurm | 92362a92fffe60187df61f99ab11c249d44120ee | 2017-01-05 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-10030",
"CVE-2018-10995"
] | [
"CWE-20",
"CWE-284"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:72060",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4770_1::_delay_rpc#0",
"original_... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 194002014973281388004805387403985115622, "big_vul_idx": 72060} |
8062dfd6aceff8a9b82ffabe6e52fdbb56bb8303f5291f89482250579a14db04 | c_or_cpp | function | int evdns_resolve_ipv4(const char *name, int flags,
evdns_callback_type callback, void *ptr)
{
return evdns_base_resolve_ipv4(current_base, name, flags, callback, ptr)
? 0 : -1;
}
| 8062dfd6aceff8a9b82ffabe6e52fdbb56bb8303f5291f89482250579a14db04 | 72ccb0288db169b178327f891d005a36d02eef2397d02ad2b1ef186be206ef57 | 8062dfd6aceff8a9b82ffabe6e52fdbb56bb8303f5291f89482250579a14db04 | 1 | true | false | libevent | https://github.com/libevent/libevent | ec65c42052d95d2c23d1d837136d1cf1d9ecef9e | 2017-03-15 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-10195",
"CVE-2016-10197"
] | [
"CWE-125"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:70632",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4838_0::evdns_resolve_ipv4#0",
"o... | 7 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 29682776632729646570788787757293127948, "big_vul_idx": 70632} |
4e1d78720459a1fb33621276ed848914f4eae8d2ac8d3013ec9f2dd8ad4cb315 | c | function | static RD_BOOL
bitmap_decompress2(uint8 * output, int width, int height, uint8 * input, int size)
{
uint8 *end = input + size;
uint16 *prevline = NULL, *line = NULL;
int opcode, count, offset, isfillormix, x = width;
int lastopcode = -1, insertmix = False, bicolour = False;
uint8 code;
uint16 colour1 = 0, colour2... | 4e1d78720459a1fb33621276ed848914f4eae8d2ac8d3013ec9f2dd8ad4cb315 | 1673e18ecde45eeff327275e8de5986fc44c555ef61492b400df0a4c0ae3cc29 | 4e1d78720459a1fb33621276ed848914f4eae8d2ac8d3013ec9f2dd8ad4cb315 | 3 | false | false | rdesktop/rdesktop | https://github.com/rdesktop/rdesktop | 4dca546d04321a610c1835010b5dad85163b65e1 | 2019-02-05 | cve_published | bitmap.c | bitmap_decompress2 | 266 | 462 | false | [] | null | unrelated_in_commit | [
"CVE-2018-20174",
"CVE-2018-20175",
"CVE-2018-20176",
"CVE-2018-20177",
"CVE-2018-20178",
"CVE-2018-20179",
"CVE-2018-20180",
"CVE-2018-20181",
"CVE-2018-20182",
"CVE-2018-8791",
"CVE-2018-8792",
"CVE-2018-8793",
"CVE-2018-8794",
"CVE-2018-8795",
"CVE-2018-8796",
"CVE-2018-8797",
"CV... | [
"CWE-119",
"CWE-122",
"CWE-125",
"CWE-126",
"CWE-190",
"CWE-191",
"CWE-680",
"CWE-787"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_486_1::bitmap_decompress2#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "reposvul",
"original_id": "3358:1:bef... | 5 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/rdesktop/rdesktop/commit/4dca546d04321a610c1835010b5dad85163b65e1", "changed_units_in_commit": 10} |
ec62de2ab2f736a6f8b97bef0c8044fb3b65e30432705dfe7ec868a4b76a5049 | c_or_cpp | function | bool can_bs(int what)
{
switch (*p_bs) {
case '2': return TRUE;
case '1': return what != BS_START;
case '0': return FALSE;
}
return vim_strchr(p_bs, what) != NULL;
} | ec62de2ab2f736a6f8b97bef0c8044fb3b65e30432705dfe7ec868a4b76a5049 | 466b94e079d72169cfe66032e35f49129381885739dc577fe1d495ed6a43d483 | ec62de2ab2f736a6f8b97bef0c8044fb3b65e30432705dfe7ec868a4b76a5049 | 1 | true | false | neovim | https://github.com/neovim/neovim | 4fad66fbe637818b6b3d6bc5d21923ba72795040 | 2016-11-23 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-1248"
] | [
"CWE-20"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_4899_0::can_bs#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "primevul_paper",
"original_id": "train:517304",
... | 2 | 2 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 284501939181966987158122214931147994067, "big_vul_idx": null} |
1a484228d7526972cd6b818df066afe0794820c11395013e2b06aee68b7a4fcd | c_or_cpp | function | void __might_sleep(const char *file, int line, int preempt_offset)
{
/*
* Blocking primitives will set (and therefore destroy) current->state,
* since we will exit with TASK_RUNNING make sure we enter with it,
* otherwise we will destroy state.
*/
WARN_ONCE(current->state != TASK_RUNNING && current->task_stat... | 1a484228d7526972cd6b818df066afe0794820c11395013e2b06aee68b7a4fcd | 5c85bc86db59ede7a5b7b52e9bd0a6da2c9cdcebed7c40421f421324fb5e3093 | 1a484228d7526972cd6b818df066afe0794820c11395013e2b06aee68b7a4fcd | 1 | true | false | linux | null | 29d6455178a09e1dc340380c582b13356227e8df | null | null | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-1583"
] | [
"CWE-119"
] | null | null | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:55466",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4907_2::__might_sleep#0",
"origin... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 132016069243122785063449017223143647436, "big_vul_idx": null} |
a63c8b656b0787d993eae2ec2405f7a93d43a149744294c40de0fef9262ccd77 | c_or_cpp | function | static int atl2_get_regs_len(struct net_device *netdev)
{
#define ATL2_REGS_LEN 42
return sizeof(u32) * ATL2_REGS_LEN;
}
| a63c8b656b0787d993eae2ec2405f7a93d43a149744294c40de0fef9262ccd77 | 920b8ecac949b17cfe3bd4c39512fed0aa0dab56d7afcd3b3a840a8a1146b394 | a63c8b656b0787d993eae2ec2405f7a93d43a149744294c40de0fef9262ccd77 | 1 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | f43bfaeddc79effbf3d0fcb53ca477cca66f3db8 | 2016-05-02 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-2117"
] | [
"CWE-200"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:55301",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4936_0::atl2_get_regs_len#0",
"or... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 240713497293797079611827083558262471516, "big_vul_idx": 55301} |
1f44fad3cbec8924fe9ca51e063091b9924e758ae334e0a266937f6a7fa3139e | c_or_cpp | function | static void snd_seq_queue_process_event(struct snd_seq_queue *q,
struct snd_seq_event *ev,
int atomic, int hop)
{
switch (ev->type) {
case SNDRV_SEQ_EVENT_START:
snd_seq_prioq_leave(q->tickq, ev->source.client, 1);
snd_seq_prioq_leave(q->timeq, ev->source.client, 1);
if (! snd_seq_timer_start(q->timer... | 1f44fad3cbec8924fe9ca51e063091b9924e758ae334e0a266937f6a7fa3139e | cc903d8a666813f5cce5199dc58ff74d26e512344f3d5716825a6bbe02d9d9c4 | 1f44fad3cbec8924fe9ca51e063091b9924e758ae334e0a266937f6a7fa3139e | 2 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | 3567eb6af614dac436c4b16a8d426f9faed639b3 | 2016-04-27 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-2544"
] | [
"CWE-362"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:54655",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4961_0::snd_seq_queue_process_event#0... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 29357479232363240737963220770926634307, "big_vul_idx": 54655} |
b46fa665596e3a911421c8fa6dba49510eb6020faa53c9fd7b3164c0ab86a851 | c | function | static char * php_zipobj_get_zip_comment(struct zip *za, int *len) /* {{{ */
{
if (za) {
return (char *)zip_get_archive_comment(za, len, 0);
}
return NULL;
} | b46fa665596e3a911421c8fa6dba49510eb6020faa53c9fd7b3164c0ab86a851 | b3d932c645b9d938a971806d8e1d4ad6d6230b6c71d773d5a96a1268ada8c826 | b46fa665596e3a911421c8fa6dba49510eb6020faa53c9fd7b3164c0ab86a851 | 1 | true | false | php/php-src | https://github.com/php/php-src | 3b8d4de300854b3517c7acb239b84f7726c1353c | 2016-08-07 | cve_published | php_zip.c | php_zipobj_get_zip_comment | 451 | 457 | false | [] | null | unrelated_in_commit | [
"CVE-2016-3078"
] | [
"CWE-190"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:54440",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_4988_0::php_zipobj_get_zip_comment#0"... | 3 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c?w=1", "changed_units_in_commit": 2} |
f1264911277aa56b47bbc995672369744cdfb5c69ddc6e3b30b75e109e8eb090 | cpp | function | void Monitor::bootstrap()
{
dout(10) << "bootstrap" << dendl;
wait_for_paxos_write();
sync_reset_requester();
unregister_cluster_logger();
cancel_probe_timeout();
// note my rank
int newrank = monmap->get_rank(messenger->get_myaddr());
if (newrank < 0 && rank >= 0) {
// was i ever part of the quor... | f1264911277aa56b47bbc995672369744cdfb5c69ddc6e3b30b75e109e8eb090 | 327d78c54ef3875b0472d3ea3eee7ca8d9a33da8f9b4e8e30a625befaec010e7 | f1264911277aa56b47bbc995672369744cdfb5c69ddc6e3b30b75e109e8eb090 | 1 | true | false | ceph/ceph | https://github.com/ceph/ceph | 957ece7e95d8f8746191fd9629622d4457d690d6 | 2016-07-12 | cve_published | Monitor.cc | Monitor::bootstrap | 941 | 1,009 | false | [] | null | unrelated_in_commit | [
"CVE-2016-5009",
"CVE-2018-1128"
] | [
"CWE-20",
"CWE-284",
"CWE-287",
"CWE-294"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_5081_0::Monitor::bootstrap#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id":... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/ceph/ceph/commit/957ece7e95d8f8746191fd9629622d4457d690d6", "changed_units_in_commit": 2} |
6d0f9c55352912e23e956f3b48e55ad7ee45e6b4557da4030501f1b37fd3c65f | c_or_cpp | function | static inline void set_compound_page_dtor(struct page *page,
enum compound_dtor_id compound_dtor)
{
VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page);
page[1].compound_dtor = compound_dtor;
} | 6d0f9c55352912e23e956f3b48e55ad7ee45e6b4557da4030501f1b37fd3c65f | 983a650e9a77ebda2969b7f9f8c3b06aa5159e4f5dac66e69985411e3069fa26 | 6d0f9c55352912e23e956f3b48e55ad7ee45e6b4557da4030501f1b37fd3c65f | 1 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | f958d7b528b1b40c44cfda5eabe2d82760d868c3 | 2019-04-23 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-5195",
"CVE-2017-1000364",
"CVE-2019-11487"
] | [
"CWE-119",
"CWE-362",
"CWE-416"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_5097_0::set_compound_page_dtor#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "g... | 6 | 3 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 118690711807351177186401244921851111253, "big_vul_idx": null} |
0a6c9769a52c1a3eb4c2069b745f158725fa25f076b58a6669f849781245a27d | c | function | static int
SpoolssGetPrinterData_q(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
dcerpc_info *di, guint8 *drep _U_)
{
dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data;
char *value_name;
proto_item *hidden_item;
hidden_item = proto_tree_add_uint(
tree, hf_printerdata, t... | 0a6c9769a52c1a3eb4c2069b745f158725fa25f076b58a6669f849781245a27d | ec55afca0d275648def388a6dd0900c0b2e449df20b47c0f76f82ff01e603e42 | 0a6c9769a52c1a3eb4c2069b745f158725fa25f076b58a6669f849781245a27d | 2 | true | false | wireshark/wireshark | https://github.com/wireshark/wireshark | b4d16b4495b732888e12baf5b8a7e9bf2665e22b | 2016-08-07 | cve_published | packet-dcerpc-spoolss.c | SpoolssGetPrinterData_q | 763 | 802 | false | [] | null | unrelated_in_commit | [
"CVE-2016-5350"
] | [
"CWE-399"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_5104_0::SpoolssGetPrinterData_q#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "reposvul",
"original_id": "1239... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/wireshark/wireshark/commit/b4d16b4495b732888e12baf5b8a7e9bf2665e22b", "changed_units_in_commit": 2} |
9f392ed0128cecee782d7251db7f81fbc9f08625e7092832c456a6e13bcc8f73 | c_or_cpp_header | file | /* packet-usb.h
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either v... | 9f392ed0128cecee782d7251db7f81fbc9f08625e7092832c456a6e13bcc8f73 | fd1fa4fe23cd40af9837d3332b9c3b8040026886e60ca74b5e7faf641ab245c3 | 791b4bdb41f3deb944117c504a38762aff31ee0558c9f4974234746b5a123387 | 2 | false | false | wireshark/wireshark | https://github.com/wireshark/wireshark | 2cb5985bf47bdc8bea78d28483ed224abdd33dc6 | 2016-08-07 | cve_published | packet-usb.h | null | null | null | false | [] | 2f273013e03f754ad12309ccf9f6f3fe | fix | [
"CVE-2016-5354"
] | [
"CWE-476"
] | source | source | nvd_patch_commit | 0.45 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_5108_4",
"original_label": "good",
"label_source": "nvd_patch_commit",
"label_confidence": 0.44999998807907104,
"is_vulnerable": false,
"source_split": null
}
] | 1 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/wireshark/wireshark/commit/2cb5985bf47bdc8bea78d28483ed224abdd33dc6", "changed_units_in_commit": 5} | |
243b5f34eb70a17cf6ad768397f2038fc024df8d2c27b1bbf79f75916523a8b0 | c | function | static int
parse_single_hex_dump_line(char* rec, guint8 *buf, guint byte_offset)
{
int num_items_scanned, i;
unsigned int bytes[16];
num_items_scanned = sscanf(rec, "%02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x",
&bytes[0], &bytes[1], &bytes[2], &bytes[3],
&byt... | 243b5f34eb70a17cf6ad768397f2038fc024df8d2c27b1bbf79f75916523a8b0 | ad9c798735090376b60a652512d78fe03b32429b6b061b0133b3add617389b00 | 243b5f34eb70a17cf6ad768397f2038fc024df8d2c27b1bbf79f75916523a8b0 | 2 | false | false | wireshark/wireshark | https://github.com/wireshark/wireshark | a66628e425db725df1ac52a3c573a03357060ddd | 2016-08-07 | cve_published | cosine.c | parse_single_hex_dump_line | 469 | 491 | false | [] | null | unrelated_in_commit | [
"CVE-2016-5356"
] | [
"CWE-119"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_5111_0::parse_single_hex_dump_line#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id"... | 4 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/wireshark/wireshark/commit/a66628e425db725df1ac52a3c573a03357060ddd", "changed_units_in_commit": 1} |
b91cb0eb1bb4756fe6d746f85433a4a1452f1262d38d81ae4c05070c10238b0d | cpp | function | int ha_myisam::rnd_pos(uchar *buf, uchar *pos)
{
MYSQL_READ_ROW_START(table_share->db.str, table_share->table_name.str,
FALSE);
ha_statistic_increment(&SSV::ha_read_rnd_count);
int error=mi_rrnd(file, buf, my_get_ptr(pos,ref_length));
table->status=error ? STATUS_NOT_FOUND: 0;
MYSQL_REA... | b91cb0eb1bb4756fe6d746f85433a4a1452f1262d38d81ae4c05070c10238b0d | 0d6a4daa3caf9528f405536e1d8e625ecf8898ed29ba0031fb071855b676f530 | b91cb0eb1bb4756fe6d746f85433a4a1452f1262d38d81ae4c05070c10238b0d | 1 | true | false | mysql/mysql-server | https://github.com/mysql/mysql-server | 4e5473862e6852b0f3802b0cd0c6fa10b5253291 | 2016-12-13 | cve_published | ha_myisam.cc | ha_myisam::rnd_pos | 1,749 | 1,758 | false | [] | null | unrelated_in_commit | [
"CVE-2016-6663"
] | [
"CWE-362"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_5222_3::ha_myisam::rnd_pos#0",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id":... | 2 | 2 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291", "changed_units_in_commit": 8} |
20a624083c5f33f1107a5e45198eba4c8e503373c44853ca6299f84e119fc35c | c | function | static inline void
dequeue_runnable_load_avg(struct cfs_rq *cfs_rq, struct sched_entity *se) { } | 20a624083c5f33f1107a5e45198eba4c8e503373c44853ca6299f84e119fc35c | 9aa4dcc5ffa29e37b280166d6333e71c1999a8a5ba9e95f5112b48cb496ca74f | 20a624083c5f33f1107a5e45198eba4c8e503373c44853ca6299f84e119fc35c | 1 | true | false | torvalds/linux | https://github.com/torvalds/linux | c40f7d74c741a907cfaeb73a7697081881c497d0 | 2019-02-22 | cve_published | fair.c | dequeue_runnable_load_avg | 2,783 | 2,784 | false | [] | f38ccea3e44b6295f84b0ee3e13ba2e8 | fix | [
"CVE-2018-20784",
"CVE-2019-19922"
] | [
"CWE-400",
"CWE-835"
] | source | source | nvd_patch_commit | 0.6 | false | null | [
{
"dataset": "crossvul_2.0",
"original_id": "good_1323_1::dequeue_runnable_load_avg#1",
"original_label": "good_unchanged",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id":... | 2 | 1 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/c40f7d74c741a907cfaeb73a7697081881c497d0", "changed_units_in_commit": 251} | |
71c4bc580273895d54310555f51ce43fd56c29b3ba61f21041a9359fa415c105 | c | function | static void netif_free_tx_queues(struct net_device *dev)
{
kvfree(dev->_tx);
} | 71c4bc580273895d54310555f51ce43fd56c29b3ba61f21041a9359fa415c105 | 2ab2e779f42158c4e7609f665e07869f206eedf6c3bfceac05c93212cab038ea | 71c4bc580273895d54310555f51ce43fd56c29b3ba61f21041a9359fa415c105 | 2 | false | false | torvalds/linux | https://github.com/torvalds/linux | fac8e0f579695a3ecbc4d3cac369139d7f819971 | 2016-10-16 | cve_published | dev.c | netif_free_tx_queues | 6,866 | 6,869 | false | [] | null | unrelated_in_commit | [
"CVE-2016-8666",
"CVE-2018-7191"
] | [
"CWE-400",
"CWE-476"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:48906",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5356_1::netif_free_tx_queues#0",
... | 4 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/fac8e0f579695a3ecbc4d3cac369139d7f819971", "changed_units_in_commit": 5} |
2f6d3f1b33c36f2d6153bb8bc34413827df83e59ec02f5a3e01914d5d257bd6d | c_or_cpp | function | static int create_rq(struct mlx5_ib_rwq *rwq, struct ib_pd *pd,
struct ib_wq_init_attr *init_attr)
{
struct mlx5_ib_dev *dev;
int has_net_offloads;
__be64 *rq_pas0;
void *in;
void *rqc;
void *wq;
int inlen;
int err;
dev = to_mdev(pd->device);
inlen = MLX5_ST_SZ_BYTES(create_rq_in) + sizeof(u64) * r... | 2f6d3f1b33c36f2d6153bb8bc34413827df83e59ec02f5a3e01914d5d257bd6d | 007b691227f693f1ddfd247cd658c598f5c11ac63c6b3f2e9d3de5c9b55d7d53 | 2f6d3f1b33c36f2d6153bb8bc34413827df83e59ec02f5a3e01914d5d257bd6d | 1 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | 0625b4ba1a5d4703c7fb01c497bd6c156908af00 | 2019-07-26 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2018-20855"
] | [
"CWE-119",
"CWE-787"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:92092",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_544_0::create_rq#0",
"original_la... | 5 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 169371028469845245099662749665432458946, "big_vul_idx": 92092} |
44aea89e28c28270b799664cb15dda4124f812b93f4be23a19e88b6a256b8d03 | c_or_cpp | function | void sock_kfree_s(struct sock *sk, void *mem, int size)
{
__sock_kfree_s(sk, mem, size, false);
}
| 44aea89e28c28270b799664cb15dda4124f812b93f4be23a19e88b6a256b8d03 | d3c23e08409eb30f558e8e49388813ae307e9ce4acf81c3d8a3643d4df62fc6a | 44aea89e28c28270b799664cb15dda4124f812b93f4be23a19e88b6a256b8d03 | 1 | true | false | linux | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux | b98b0bc8c431e3ceb4b26b0dfc8db509518fb290 | 2016-12-28 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2016-9793"
] | [
"CWE-119",
"CWE-787"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:47904",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5502_0::sock_kfree_s#0",
"origina... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 186870065455445631677978656975577089291, "big_vul_idx": 47904} |
c424a699cd10a94abf4963bc154a6894344cb2f85ad33b489a02424903c325af | c_or_cpp | function | static void tg3_init_bufmgr_config(struct tg3 *tp)
{
if (tg3_flag(tp, 57765_PLUS)) {
tp->bufmgr_config.mbuf_read_dma_low_water =
DEFAULT_MB_RDMA_LOW_WATER_5705;
tp->bufmgr_config.mbuf_mac_rx_low_water =
DEFAULT_MB_MACRX_LOW_WATER_57765;
tp->bufmgr_config.mbuf_high_water =
DEFAULT_MB_HIGH_WATER_57765;
... | c424a699cd10a94abf4963bc154a6894344cb2f85ad33b489a02424903c325af | 8cb100831651a08ef6f0e0717c1016c706d28c440b9d77ffe883ad7caf4c9278 | b14281e799e82d58ba0e6d6478d1fcc815fc475cd9405a7675921179218c60f6 | 3 | true | true | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | 715230a44310a8cf66fbfb5a46f9a62a9b2de424 | 2013-06-07 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2013-1929"
] | [
"CWE-119",
"CWE-476"
] | hub_fix_commit | source | prime_vul | 0.75 | false | +0.05 agreement of 5 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:32590",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5610_0::tg3_init_bufmgr_config#0",
... | 5 | 5 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 309104648338077350367469061865437288688, "big_vul_idx": 32590} |
75e501ca3080ef96d5ec8ac1bc69f95564955ae29c5bb467e504fa795265e1da | c | function | static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
{
struct packet_type *ptype;
#ifdef CONFIG_NET_CLS_ACT
if (!(skb->tstamp.tv64 && (G_TC_FROM(skb->tc_verd) & AT_INGRESS)))
net_timestamp(skb);
#else
net_timestamp(skb);
#endif
rcu_read_lock();
list_for_each_entry_rcu(ptype, &ptype_all, ... | 75e501ca3080ef96d5ec8ac1bc69f95564955ae29c5bb467e504fa795265e1da | 72844ebc6de0faa3454fd65fd0dbfe5f0ebfb1c850c4106241481c0685342510 | 3694a9df520aa98b0027d9224ea546eadf43f3cd29f36acd5276eb5905585ee3 | 2 | false | false | torvalds/linux | https://github.com/torvalds/linux | 6ec82562ffc6f297d0de36d65776cff8e5704867 | 2013-05-03 | cve_published | dev.c | dev_queue_xmit_nit | 1,486 | 1,530 | false | [] | null | unrelated_in_commit | [
"CVE-2013-2017"
] | [
"CWE-399"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:32137",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5627_1::dev_queue_xmit_nit#0",
"o... | 4 | 4 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/torvalds/linux/commit/6ec82562ffc6f297d0de36d65776cff8e5704867", "changed_units_in_commit": 2} |
09d022b71d21f481d826cdd68602808a0c3fe6a62e4a0673687ba5840a724830 | c_or_cpp | function | sctp_disposition_t sctp_sf_t1_init_timer_expire(struct net *net,
const struct sctp_endpoint *ep,
const struct sctp_association *asoc,
const sctp_subtype_t type,
void *arg,
sctp_cmd_seq_t *commands)
{
struct sctp_chunk *repl = NULL;
struct sctp_bind_addr *bp;
int attempts = aso... | 09d022b71d21f481d826cdd68602808a0c3fe6a62e4a0673687ba5840a724830 | e6d4c5fb5411a3e91c8c387dfbd01e67e5f25dd5cf0b0f66f1eee8411648e2bf | 09d022b71d21f481d826cdd68602808a0c3fe6a62e4a0673687ba5840a724830 | 3 | true | false | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | f2815633504b442ca0b0605c16bf3d88a3a0fcea | 2013-07-04 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2013-2206"
] | [] | hub_fix_commit | null | prime_vul | 0.75 | false | +0.05 agreement of 4 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:31638",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5656_0::sctp_sf_t1_init_timer_expire#... | 4 | 4 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 181957882323505307021198399862073784941, "big_vul_idx": 31638} |
22a190edc02f7d0705c32582cbbf75ea0254530274195ede98eba09c561b2b2f | c_or_cpp | function | static int crypto_report_one(struct crypto_alg *alg,
struct crypto_user_alg *ualg, struct sk_buff *skb)
{
strncpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name));
strncpy(ualg->cru_driver_name, alg->cra_driver_name,
sizeof(ualg->cru_driver_name));
strncpy(ualg->cru_module_name, module_name(alg->c... | 22a190edc02f7d0705c32582cbbf75ea0254530274195ede98eba09c561b2b2f | 166c5b943d637a84834205ae023d34d310886784b44c2207c154ead4cf465ce7 | 22a190edc02f7d0705c32582cbbf75ea0254530274195ede98eba09c561b2b2f | 4 | false | false | linux | https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | 2013-03-14 | cve_published | null | null | null | null | false | [] | f23e93ffde31bd3c34d8687358997045 | fix | [
"CVE-2013-2546",
"CVE-2013-2547",
"CVE-2013-2548",
"CVE-2014-0181"
] | [
"CWE-264",
"CWE-310"
] | hub_fix_commit | source | prime_vul | 0.9 | false | +0.05 agreement of 7 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:179241:after",
"original_label": "0(fixed)",
"label_source": "nvd_patch_commit",
"label_confidence": 0.6000000238418579,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5666_4::... | 9 | 7 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 125221564629112522756036487531516959471, "big_vul_idx": 179241} |
8435789acf8bb53c96a7169c81ac7342f1532aeb6c08fdfdc4b704a3bae6db02 | c | function | int credssp_write_ts_credentials(rdpCredssp* credssp, wStream* s)
{
int size = 0;
int innerSize = credssp_sizeof_ts_credentials(credssp);
int passwordSize;
/* TSCredentials (SEQUENCE) */
size += ber_write_sequence_tag(s, innerSize);
/* [0] credType (INTEGER) */
size += ber_write_contextual_tag(s, 0, ber_sizeof... | 8435789acf8bb53c96a7169c81ac7342f1532aeb6c08fdfdc4b704a3bae6db02 | 169b77f8cf86f3f00ef589c86c968292b8fbe4e1fa80596c771bc0d612c422c5 | 305ca5557a64e641a7dd85720c3adb971d89c085b016e8f9a70d18ba50c58b0c | 2 | true | false | freerdp/freerdp | https://github.com/FreeRDP/FreeRDP | 0773bb9303d24473fe1185d85a424dfe159aff53 | 2016-10-03 | cve_published | nla.c | credssp_write_ts_credentials | 893 | 915 | false | [] | null | unrelated_in_commit | [
"CVE-2013-4119"
] | [
"CWE-125",
"CWE-476"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 3 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:58532",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "crossvul_2.0",
"original_id": "good_5715_0::credssp_write_ts_credentials#... | 3 | 3 | crossvul | CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21) | train | project_time | {"commit_url": "https://github.com/FreeRDP/FreeRDP/commit/0773bb9303d24473fe1185d85a424dfe159aff53", "changed_units_in_commit": 7} |
5a35653e454b423d5c1fc87064864a3842bc70c5997e96bc072726a4d0873cbe | c_or_cpp | function | static int wq_watchdog_param_set_thresh(const char *val,
const struct kernel_param *kp)
{
unsigned long thresh;
int ret;
ret = kstrtoul(val, 0, &thresh);
if (ret)
return ret;
if (system_wq)
wq_watchdog_set_thresh(thresh);
else
wq_watchdog_thresh = thresh;
return 0;
} | 5a35653e454b423d5c1fc87064864a3842bc70c5997e96bc072726a4d0873cbe | e66bbfafa1adebadf9bcd99c90e199141e14d50a91e77c91db36c8673bac7256 | 5a35653e454b423d5c1fc87064864a3842bc70c5997e96bc072726a4d0873cbe | 1 | true | false | tip | https://git.kernel.org/cgit/linux/kernel/git/tip/tip | dfb4357da6ddbdf57d583ba64361c9d792b0e0b1 | 2017-02-14 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2017-5967"
] | [
"CWE-200"
] | hub_fix_commit | hub_cve | prime_vul | 0.75 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "diversevul_20230702",
"original_id": "line:96581|hash:68282032165164085512959973170381669954",
"original_label": "0",
"label_source": "diversevul_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "primevul_paper",
"or... | 2 | 2 | primevul | MIT (PrimeVul, Ding et al. ICSE'25) | train | primevul_official | {"primevul_hash": 68282032165164085512959973170381669954, "big_vul_idx": null} |
50d3b03d61d1338a76b2ae98a258f69887f31284bee1823fc4b3529e52ba64ca | c | function | static int vnc_qdict_remote_addr(QDict *qdict, int fd)
{
struct sockaddr_storage sa;
socklen_t salen;
salen = sizeof(sa);
if (getpeername(fd, (struct sockaddr*)&sa, &salen) < 0) {
return -1;
}
return put_addr_qdict(qdict, &sa, salen);
}
| 50d3b03d61d1338a76b2ae98a258f69887f31284bee1823fc4b3529e52ba64ca | 8446aaa1309f3e828bc887e6b1e15b164b828db18c275da3d3109ab6b2fe1329 | 50d3b03d61d1338a76b2ae98a258f69887f31284bee1823fc4b3529e52ba64ca | 1 | true | false | qemu | https://git.qemu.org/?p=qemu.git | 9f64916da20eea67121d544698676295bbb105a7 | 2018-07-27 | cve_published | null | null | null | null | false | [] | null | unrelated_in_commit | [
"CVE-2017-2633"
] | [
"CWE-120",
"CWE-125",
"CWE-787"
] | source | source | nvd_patch_commit | 0.55 | false | +0.05 agreement of 2 datasets | null | [
{
"dataset": "bigvul_msr20",
"original_id": "row:17923",
"original_label": "0",
"label_source": "nvd_patch_commit",
"label_confidence": 0.5,
"is_vulnerable": false,
"source_split": null
},
{
"dataset": "diversevul_20230702",
"original_id": "line:97224|hash:7853291726199885352... | 2 | 2 | bigvul | MIT (Big-Vul, Fan et al. MSR'20) | train | project_time | {"commit_link": "https://git.qemu.org/?p=qemu.git;a=commitdiff;h=9f64916da20eea67121d544698676295bbb105a7", "publish_date": "2018-07-27", "cvss": "4.0"} |
106299fb6f8a05081735c6ad5dc60c9b1c751c76cdb711e1b33e65b73bcc69ee | c_or_cpp | function | LynxIntersectInterval( Interval1, Interval2 )
lynxinter_list *Interval1;
lynxinter_list *Interval2;
{
lynxinter_list *ScanInter1;
lynxinter_list *ScanInter2;
lynxinter_list *Interval;
lynxinter_list **PrevInter;
lynxinter_list *NewInter;
char Stop;
long Min;
long ... | 106299fb6f8a05081735c6ad5dc60c9b1c751c76cdb711e1b33e65b73bcc69ee | 53bfba6a49687e5e17d3c2f529f81b30b2227873bdcf962ee35172cfd58d0c55 | 106299fb6f8a05081735c6ad5dc60c9b1c751c76cdb711e1b33e65b73bcc69ee | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg179/76",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
06d012cc7e37de25006f9dadea48ac6dd3d0cbaa62cb3894f74cb9849c438aad | c_or_cpp | function | ipv6addrstruct_maskprefix(ipv6calc_ipv6addr *ipv6addrp) {
unsigned int nbit, nword;
uint16_t mask, newword;
int i;
if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
fprintf(stderr, "%s: called\n", DEBUG_function_name);
};
if (ipv6addrp->flag_prefixuse != 1) {
/* hmm, no prefix specified. skip */
retur... | 06d012cc7e37de25006f9dadea48ac6dd3d0cbaa62cb3894f74cb9849c438aad | 1a9b6724d8784fab31a002cdd2448b8838f204d707139b21a466ab8d0e32d3bc | 06d012cc7e37de25006f9dadea48ac6dd3d0cbaa62cb3894f74cb9849c438aad | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg18/133",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
17f6f01228bd13d52d86d9fc9a0a85415714ea8ae9014cc0bec7b759a51f5884 | c_or_cpp | function | malloc_bytes(size_t size)
{
int i,j;
u_int u;
struct pginfo *bp;
int k;
u_int *lp;
/* Don't bother with anything less than this */
if (size < malloc_minsize)
size = malloc_minsize;
/* Find the right bucket */
j = 1;
i = size-1;
while (i >>= 1)
j++;
/* If it's empty,... | 17f6f01228bd13d52d86d9fc9a0a85415714ea8ae9014cc0bec7b759a51f5884 | 713e2a2ae73e13269e02cd07b039331bc17da4e55aeb9d532988774a745f8a4f | 17f6f01228bd13d52d86d9fc9a0a85415714ea8ae9014cc0bec7b759a51f5884 | 1 | true | false | null | null | null | null | null | null | null | null | null | true | [] | null | null | [] | [] | null | null | static_analyzer | 0.35 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg18/610",
"original_label": "CWE-other",
"label_source": "static_analyzer",
"label_confidence": 0.3499999940395355,
"is_vulnerable": true,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
5d479d61332c65e8b139ce787bedb4688d353efa5f0637a253a81bbc34306669 | c_or_cpp | function | uc_ovl_map_format(DFBSurfacePixelFormat format)
{
switch (format) {
case DSPF_YV12:
case DSPF_I420:
return V1_COLORSPACE_SIGN | V1_YUV420;
case DSPF_UYVY:
case DSPF_YUY2:
return V1_COLORSPACE_SIGN | V1_YUV422;
case DSPF_ARGB1555:
return V1_RGB15;
case DSPF_RGB16:
... | 5d479d61332c65e8b139ce787bedb4688d353efa5f0637a253a81bbc34306669 | 0aac85c46c5fbe3e63e88be0585007eb5cb7fac813e40d547d9ed388194d6c0e | 5d479d61332c65e8b139ce787bedb4688d353efa5f0637a253a81bbc34306669 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg181/810",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
a45670020c2a13689c8b33ed56bb6852bc758dc99a8eaa4c5b9f39630fde2bd0 | c_or_cpp | function | dolmmode (int bit, int on)
{
unsigned char c;
extern int linemode;
if (my_want_state_is_wont (TELOPT_LINEMODE))
{
printf ("?Need to have LINEMODE option enabled first.\n");
printf ("'mode ?' for help.\n");
return 0;
}
if (on)
c = (linemode | bit);
else
c = (linemode & ~bit)... | a45670020c2a13689c8b33ed56bb6852bc758dc99a8eaa4c5b9f39630fde2bd0 | 23b84507c4c8eb209165023ad48ce6bdf3c226c1b779e8e784e9c0fabd728a78 | a45670020c2a13689c8b33ed56bb6852bc758dc99a8eaa4c5b9f39630fde2bd0 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg182/9",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
8aca3066c562a7fa3bc200a75cb7e1c9a64d90f494e4d3b596228957243dc8ae | c_or_cpp | function | apply_window_in_core(struct window *ctx)
{
const char *instructions;
size_t data_pos = 0;
/*
* Fill ctx->out.buf using data from the source, target,
* and inline data views.
*/
for (instructions = ctx->instructions.buf;
instructions != ctx->instructions.buf + ctx->instructions.len;
)
if (execut... | 8aca3066c562a7fa3bc200a75cb7e1c9a64d90f494e4d3b596228957243dc8ae | 7170715639284f4cbee5b0f6d2ea1f89dd7c1fbab68fdb5cff6dc2e27fdbdca8 | 8aca3066c562a7fa3bc200a75cb7e1c9a64d90f494e4d3b596228957243dc8ae | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg186/762",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
909bdb89371cfbb73ab0e064645add78076b5f10a385262a2fc5ddac99fcc31f | c_or_cpp | function | eel_gtk_window_get_geometry_string (GtkWindow *window)
{
char *str;
int w, h, x, y;
g_return_val_if_fail (GTK_IS_WINDOW (window), NULL);
g_return_val_if_fail (gtk_window_get_gravity (window) ==
GDK_GRAVITY_NORTH_WEST, NULL);
gtk_window_get_position (window, &x, &y);
gtk_window_get_size (window, &w, &h... | 909bdb89371cfbb73ab0e064645add78076b5f10a385262a2fc5ddac99fcc31f | 11bcd18b526e91a6a924d13ab6d9d1e476c60b01287400493090d0a4d98fb10e | 909bdb89371cfbb73ab0e064645add78076b5f10a385262a2fc5ddac99fcc31f | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg187/209",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
37d3be3d9a6691c0a5de25db72c88ce23686e648d51d74b1f04e087e91f1443f | c_or_cpp | function | reserve (size_type cap)
{
if (cap > capacity())
{
TiXmlString tmp;
tmp.init(length(), cap);
memcpy(tmp.start(), data(), length());
swap(tmp);
}
} | 37d3be3d9a6691c0a5de25db72c88ce23686e648d51d74b1f04e087e91f1443f | 9cddd3f616a0299badbdba5668e231bc79bdebb1d9ae5afe449664d7a8ae7cf6 | 37d3be3d9a6691c0a5de25db72c88ce23686e648d51d74b1f04e087e91f1443f | 1 | true | false | null | null | null | null | null | null | null | null | null | true | [] | null | null | [] | [] | null | null | static_analyzer | 0.35 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg187/932",
"original_label": "CWE-other",
"label_source": "static_analyzer",
"label_confidence": 0.3499999940395355,
"is_vulnerable": true,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
ffccae37fbd3fe27e7a8e038435d7f9b7996179cb7411ac166bc2b7ac301da40 | c_or_cpp | function | goldfish_pipe_open(struct inode *inode, struct file *file)
{
struct goldfish_pipe *pipe;
struct goldfish_pipe_dev *dev = pipe_dev;
int32_t status;
/* Allocate new pipe kernel object */
pipe = kzalloc(sizeof(*pipe), GFP_KERNEL);
if (pipe == NULL)
return -ENOMEM;
pipe->dev = dev;
mutex_init(&pipe->lock);
ini... | ffccae37fbd3fe27e7a8e038435d7f9b7996179cb7411ac166bc2b7ac301da40 | ea7ccf3240a8990cd8f4e3c73626fcf9b6560737e62745be0afb9fd08825cc56 | ffccae37fbd3fe27e7a8e038435d7f9b7996179cb7411ac166bc2b7ac301da40 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg188/652",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
8f7ce4bbd89e67c8c71e0b2bdbd04de634e882ebe0871bde2a3eea142d546575 | c_or_cpp | function | BuildBoundaryWeights(vtkIdType boundaryPointId, vtkIdType boundaryNeighborPointId, double &boundaryWeight, double &boundaryNeighborWeight)
{
double point[3], point1[3], point2[3];
double vector1[3], vector2[3];
double triangleArea;
if (!this->IsBoundary)
return;
this->DataSet->GetPoint(this->DataSetPo... | 8f7ce4bbd89e67c8c71e0b2bdbd04de634e882ebe0871bde2a3eea142d546575 | 3766470396ce8001b1111d84c08eb99a6b012617d62b8ec74585a50e213b4d6d | 8f7ce4bbd89e67c8c71e0b2bdbd04de634e882ebe0871bde2a3eea142d546575 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg189/515",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
cbf27552e0aab747b14c485378140ed2f9c9f0260538d87a9ab8570a21602a02 | c_or_cpp | function | show_soft_link(AW_window *aws, AW_selection_list *sel_id, const char *envar, DuplicateLinkFilter& unDup) {
// adds a soft link (e.g. ARBMACROHOME or ARB_WORKDIR) into file selection box
// if content of 'envar' matches 'cwd' nothing is inserted
const char *expanded_dir = awt_get_base_directory(envar);
... | cbf27552e0aab747b14c485378140ed2f9c9f0260538d87a9ab8570a21602a02 | 2c4d7076badd775baa699da0d645a12243cb6f3269f0f56e017fe3f09c8b4ba4 | cbf27552e0aab747b14c485378140ed2f9c9f0260538d87a9ab8570a21602a02 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg19/894",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
cc107934f4e0c0bf6a36298c65b4f598b469308eb9165707291610cfed857b07 | c_or_cpp | function | Sorting_quickSort(SDSort *self, size_t lb, size_t ub)
{
if (lb < ub)
{
int j = Sorting_quickSortRearrange(self, lb, ub);
if (j)
{
Sorting_quickSort(self, lb, j - 1);
}
Sorting_quickSort(self, j + 1, ub);
}
} | cc107934f4e0c0bf6a36298c65b4f598b469308eb9165707291610cfed857b07 | 859e6ca8b557d35e31c9215d4b9c0c415a9845bfc1d75fd17bf394d1b86ac80d | cc107934f4e0c0bf6a36298c65b4f598b469308eb9165707291610cfed857b07 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg192/400",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null | |
0fa1cf90f249be4d652f6017d91817d8d8515cec1761dc8eb3e7b4fb05477335 | c_or_cpp | function | filter_sort_ext_len_cb(gconstpointer a, gconstpointer b)
{
gchar *sa = (gchar *)a;
gchar *sb = (gchar *)b;
gint len_a = strlen(sa);
gint len_b = strlen(sb);
if (len_a > len_b) return -1;
if (len_a < len_b) return 1;
return 0;
} | 0fa1cf90f249be4d652f6017d91817d8d8515cec1761dc8eb3e7b4fb05477335 | ce615839506541a9028ed80f30a9bea3cf5f5b53b792445ee3a101e4a3984ec1 | 0fa1cf90f249be4d652f6017d91817d8d8515cec1761dc8eb3e7b4fb05477335 | 1 | true | false | null | null | null | null | null | null | null | null | null | false | [] | null | null | [] | [] | null | null | static_analyzer | 0.3 | false | null | [
{
"dataset": "draper_vdisc",
"original_id": "train/00000/rg196/736",
"original_label": "none",
"label_source": "static_analyzer",
"label_confidence": 0.30000001192092896,
"is_vulnerable": false,
"source_split": "train"
}
] | 1 | 1 | draper_vdisc | CC-BY-4.0 (Draper VDISC, Russell et al. 2018) | train | draper_official | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.