Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets
Paper β’ 2407.03093 β’ Published
file_name int64 0 72.3k | vulnerable_line_numbers stringlengths 1 1.06k β | dataset_type stringclasses 1
value | commit_hash stringlengths 40 44 | unique_id int64 0 271k | project stringclasses 10
values | target int64 0 1 | repo_url stringclasses 10
values | date stringlengths 25 25 β | code stringlengths 0 20.4M | CVE stringlengths 13 43 β | CWE stringclasses 50
values | commit_link stringlengths 73 97 β | severity stringclasses 4
values | __index_level_0__ int64 0 124k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35,593 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,593 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/editing/markers/active_suggestion_marker_list_impl.h"
#include "third_party/blink/renderer/core/editing/markers... | null | null | null | null | 32,456 |
36,363 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,358 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* RackMac vu-meter driver
*
* (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
* <benh@kernel.crashing.org>
*
* Released under the term of the GNU GPL v2.
*
* Support the CPU-meter LEDs of the Xserve G5
*
* TODO: Implement PWM to do variable intensity and provide userland
* interfac... | null | null | null | null | 109,705 |
54,464 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,464 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
#define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
#include "base/ma... | null | null | null | null | 51,327 |
858 | 13,28,29,30,31,32,33,34,35,36,37,98,99,100 | train_val | ea3d7209ca01da209cda6f0dea8be9cc4b7a933b | 165,853 | linux | 1 | https://github.com/torvalds/linux | 2015-12-07 14:28:03-05:00 | static long ext4_zero_range(struct file *file, loff_t offset,
loff_t len, int mode)
{
struct inode *inode = file_inode(file);
handle_t *handle = NULL;
unsigned int max_blocks;
loff_t new_size = 0;
int ret = 0;
int flags;
int credits;
int partial_begin, partial_end;
loff_t start, end;
ext4_lblk_t lblk;
struct address_s... | CVE-2015-8839 | CWE-362 | https://github.com/torvalds/linux/commit/ea3d7209ca01da209cda6f0dea8be9cc4b7a933b | Medium | 3,747 |
13,365 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,365 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_tiles/most_visited_sites.h"
#include <algorithm>
#include <iterator>
#include <utility>
#include "base/bind.h"
#include "base/c... | null | null | null | null | 10,228 |
15,791 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,786 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2014, Imagination Technologies Ltd.
*
* EVA functions for generic code
*/
#ifndef _ASM_EVA_H
#define _ASM_EVA_H
#includ... | null | null | null | null | 89,133 |
8,397 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,397 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// See net/disk_cache/disk_cache.h for the public interface of the cache.
#ifndef NET_DISK_CACHE_BLOCKFILE_FILE_BLOCK_H_
#define NET_DISK_CACHE_... | null | null | null | null | 5,260 |
46,330 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,330 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/tray_action/tray_action.h"
#include <utility>
#include "ash/lock_screen_action/lock_screen_note_display_state_handler.h"
#include "ash/tra... | null | null | null | null | 43,193 |
66,713 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,713 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/download/notification/download_notification_manager.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/... | null | null | null | null | 63,576 |
41,779 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,779 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TRACE_AFTER_DISPATCH_IMPL_H_
#define TRACE_AFTER_DISPATCH_IMPL_H_
#include "heap/stubs.h"
namespace blink {
class X : public GarbageCollected<X... | null | null | null | null | 38,642 |
813 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,200 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,645 |
30,079 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,079 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2016 September 10
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*******************... | null | null | null | null | 26,942 |
8,834 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,834 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/ssl/ssl_client_session_cache.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversio... | null | null | null | null | 5,697 |
64,653 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,653 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_BEFORE_TRANSLATE_INFOBAR_CONTROLLER_H_
#define CHROME_BROWSER_UI_COCOA_INFOBARS_BEFORE_TRANSLATE_INFOBAR_CONT... | null | null | null | null | 61,516 |
29,676 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,671 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* drivers/usb/core/usb.c
*
* (C) Copyright Linus Torvalds 1999
* (C) Copyright Johannes Erdfelt 1999-2001
* (C) Copyright Andreas Gal 1999
* (C) Copyright Gregory P. Smith 1999
* (C) Copyright Deti Fliegl 1999 (new USB architecture)
* (C) Copyright Randy Dunlap 2000
* (C) Copyright David Brownell 2000-2004
... | null | null | null | null | 103,018 |
30,530 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,530 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_WEB_MAIN_THREAD_SCHEDULER_H_
#define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_WEB_MAIN_THREAD_SCH... | null | null | null | null | 27,393 |
23,070 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,070 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/service_worker/service_worker_navigation_loader.h"
#include "base/run_loop.h"
#include "base/test/scoped_feature_list.h"
#inclu... | null | null | null | null | 19,933 |
4,139 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,139 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_
#import <UIKit/UIKit.h>
clas... | null | null | null | null | 1,002 |
15,720 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,720 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_
#define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_
#include <stdint.h>
... | null | null | null | null | 12,583 |
This is a C++ vulnerability detection dataset following realistic settings. For details, please check our study Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets (Partha et al., 2024)
The column names are self-describing. The most important two columns are,
target: int: vulnerable to not.code: str: the code segment.@article{Chakraborty2024,
title = {Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets},
ISSN = {2326-3881},
url = {http://dx.doi.org/10.1109/TSE.2024.3423712},
DOI = {10.1109/tse.2024.3423712},
journal = {IEEE Transactions on Software Engineering},
publisher = {Institute of Electrical and Electronics Engineers (IEEE)},
author = {Chakraborty, Partha and Arumugam, Krishna Kanth and Alfadel, Mahmoud and Nagappan, Meiyappan and McIntosh, Shane},
year = {2024},
pages = {1β15}
}