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
243
34
train_val
a8b0ca17b80e92faab46ee7179ba9e99ccb61233
165,238
linux
1
https://github.com/torvalds/linux
2011-07-01 11:06:35+02:00
asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn) { enum direction dir = decode_direction(insn); int size = decode_access_size(regs, insn); int orig_asi, asi; current_thread_info()->kern_una_regs = regs; current_thread_info()->kern_una_insn = insn; orig_asi = asi = decode_asi(insn, regs);...
CVE-2011-2918
CWE-399
https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233
Low
3,132
17,387
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,382
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/unicore32/include/asm/tlb.h * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Fou...
null
null
null
null
90,729
15,369
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,364
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * TX3927 setup routines * Based on linux/arch/mips/txx9/jmr3927/setup.c * * Copyright 2001 MontaVista Software Inc. * Copyright (C) 2000-2001 Toshiba Corporation * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org) * * This file is subject to the terms and conditions of the GNU General Public * License. ...
null
null
null
null
88,711
46,677
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,677
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 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/system/palette/tools/laser_pointer_mode.h" #include "ash/laser/laser_pointer_controller.h" #include "ash/resources/vector_icons/vector_icon...
null
null
null
null
43,540
12,645
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,640
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OpenPIC emulation * * Copyright (c) 2004 Jocelyn Mayer * 2011 Alexander Graf * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including withou...
null
null
null
null
85,987
53,623
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,623
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 <stddef.h> #include "base/bind.h" #include "base/macros.h" #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include "medi...
null
null
null
null
50,486
65,150
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,150
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/ui/android/bluetooth_chooser_android.h" #include "base/android/jni_android.h" #include "base/android/jni_string.h" #include "bas...
null
null
null
null
62,013
8,012
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
173,007
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ASM_X86_DISABLED_FEATURES_H #define _ASM_X86_DISABLED_FEATURES_H /* These features, although they might be available in a CPU * will not be used because the compile options to support * them are not present. * * This code allows them to be checked and disabled at * compile time without an explicit #ifdef...
null
null
null
null
81,354
38,593
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,588
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LIBLOCKDEP_LOCKDEP_H_ #define _LIBLOCKDEP_LOCKDEP_H_ #include <sys/prctl.h> #include <sys/syscall.h> #include <string.h> #include <limits.h> #include <linux/utsname.h> #include <linux/compiler.h> #define MAX_LOCK_DEPTH 2000UL #define asmlinkage #define __visible #include "../../../include/linux/lockdep.h" ...
null
null
null
null
111,935
20,873
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,868
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * TI Common Platform Time Sync * * Copyright (C) 2012 Richard Cochran <richardcochran@gmail.com> * * 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 version 2 of the License, or ...
null
null
null
null
94,215
29,533
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,533
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2015-08-18 ** ** 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,396
44,310
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
44,310
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. */ #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h" #include <stdint.h> #include "native_client/src/untrusted/irt/irt.h"...
null
null
null
null
41,173
32,866
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,866
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> * Copyright (C) 2006 Apple Inc. All rights reserved. * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> * * This library is free software; you can redistribute it and/or * modi...
null
null
null
null
29,729
36,086
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,081
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Xilinx Zynq Ultrascale+ MPSoC Real Time Clock Driver * * Copyright (C) 2015 Xilinx, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This progr...
null
null
null
null
109,428
21,624
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,619
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * * Copyright(c) 2009-2012 Realtek Corporation. * * Tmis program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundati...
null
null
null
null
94,966
25,473
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,468
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef ADRENO_COMMON_XML #define ADRENO_COMMON_XML /* Autogenerated file, DO NOT EDIT manually! This file was generated by the rules-ng-ng headergen tool in this git repository: http://github.com/freedreno/envytools/ git clone https://github.com/freedreno/envytools.git The rules-ng-ng source files this header was g...
null
null
null
null
98,815
62,988
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,988
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 "chrome/browser/ui/views/frame/browser_frame_ash.h" #include <memory> // This file is only instantiated in classic ash/mus. It is never used in...
null
null
null
null
59,851
32,691
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,691
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) an...
null
null
null
null
29,554
53,011
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,011
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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 MEDIA_BASE_VIDEO_FRAME_H_ #define MEDIA_BASE_VIDEO_FRAME_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <string> #inc...
null
null
null
null
49,874
40,412
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,412
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,275
994
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,838
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/ccache/cc_keyring.c */ /* * Copyright (c) 2006 * The Regents of the University of Michigan * ALL RIGHTS RESERVED * * Permission is granted to use, copy, create derivative works * and redistribute this software and such derivative works *...
null
null
null
null
74,146
5,668
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,668
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 CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ #define CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ #include <memory> #include <string> #include "base/callbac...
null
null
null
null
2,531
22,387
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,387
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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. #include "content/browser/speech/audio_buffer.h" #include "base/logging.h" namespace content { AudioChunk::AudioChunk(int bytes_per_sample) : b...
null
null
null
null
19,250
32,082
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,077
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/module.h> #include <linux/slab.h> #include "mce_amd.h" static struct amd_decoder_ops *fam_ops; static u8 xec_mask = 0xf; static bool report_gart_errors; static void (*decode_dram_ecc)(int node_id, struct mce *m); void amd_report_gart_errors(bool v) { report_gart_errors = v; } EXPORT_SYMBOL_GPL(am...
null
null
null
null
105,424
574
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,418
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Margo Seltzer. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
null
null
null
null
73,726
16,449
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,444
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. * * Extracting time information from ARCS prom. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) */ #include <linux/init.h> #i...
null
null
null
null
89,791
6,144
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,139
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _BF5XX_TDM_PCM_H #define _BF5XX_TDM_PCM_H #define BFIN_TDM_DAI_MAX_SLOTS 8 struct bf5xx_i2s_pcm_data { unsigned in...
null
null
null
null
79,486
53,728
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,728
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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 ANDROID_WEBVIEW_PUBLIC_BROWSER_DRAW_SW_H_ #define ANDROID_WEBVIEW_PUBLIC_BROWSER_DRAW_SW_H_ #include <jni.h> #include <stddef.h> #ifndef __c...
null
null
null
null
50,591
1,814
1,2,3,4,5,6,7,8,9,10,11
train_val
75ca8ffd7bd7c58ace1144df05e1307d8d707662
1,814
Chrome
1
https://github.com/chromium/chromium
2016-02-16 23:11:57+00:00
static void DidDownloadImage(const WebContents::ImageDownloadCallback& callback, int id, const GURL& image_url, image_downloader::DownloadResultPtr result) { DCHECK(result); const std::vector<SkBitmap> images = result->imag...
CVE-2016-1641
null
https://github.com/chromium/chromium/commit/75ca8ffd7bd7c58ace1144df05e1307d8d707662
Medium
1,814
15,411
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,406
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Joshua Henderson <joshua.henderson@microchip.com> * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. * * This program is free software; you can distribute it and/or modify it * under the terms of the GNU General Public License (Version 2) as * published by the Free Software Foundation. ...
null
null
null
null
88,753
40,527
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,527
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,390
51,959
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,959
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. // // This file contains an interface of output pictures for the Vaapi // video decoder. This is implemented by different window system // (X11/Ozone) and ...
null
null
null
null
48,822
13,536
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,536
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 COMPONENTS_METRICS_DRIVE_METRICS_PROVIDER_H_ #define COMPONENTS_METRICS_DRIVE_METRICS_PROVIDER_H_ #include "base/callback_forward.h" #include "ba...
null
null
null
null
10,399
27,838
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,833
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
null
null
null
null
101,180
1,018
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,862
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/keytab/kt_srvtab.c */ /* * Copyright 1990,1991,2002,2007,2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the Un...
null
null
null
null
74,170
60,441
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,441
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. #ifndef CHROME_BROWSER_VR_UI_H_ #define CHROME_BROWSER_VR_UI_H_ #include <memory> #include "base/macros.h" #include "base/memory/weak_ptr.h" #include "b...
null
null
null
null
57,304
30,501
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,496
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * cyttsp4_core.h * Cypress TrueTouch(TM) Standard Product V4 Core driver module. * For use with Cypress Txx4xx parts. * Supported parts include: * TMA4XX * TMA1036 * * Copyright (C) 2012 Cypress Semiconductor * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
null
null
null
null
103,843
11,709
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,709
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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 COMPONENTS_PREFS_PREF_STORE_H_ #define COMPONENTS_PREFS_PREF_STORE_H_ #include <memory> #include <string> #include "base/macros.h" #include ...
null
null
null
null
8,572
15,366
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,366
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 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_ARC_WAKE_LOCK_ARC_WAKE_LOCK_BRIDGE_H_ #define COMPONENTS_ARC_WAKE_LOCK_ARC_WAKE_LOCK_BRIDGE_H_ #include <map> #include <memory> #incl...
null
null
null
null
12,229
31,622
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,617
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) Eicon Networks, 2002. * This source file is supplied for the use with Eicon Networks range of DIVA Server Adapters. * Eicon File Revision : 2.1 * 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 th...
null
null
null
null
104,964
7,327
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,322
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * System Specific setup for Traverse Technologies GEOS. * At the moment this means setup of GPIO control of LEDs. * * Copyright (C) 2008 Constantin Baranov <const@mimas.ru> * Copyright (C) 2011 Ed Wildgoose <kernel@wildgooses.com> * and Philip Prindeville <philipp@redfish-solutions.com> * * TO...
null
null
null
null
80,669
20,153
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,148
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007, 2008 Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Vers...
null
null
null
null
93,495
6,358
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,353
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * tascam.h - a part of driver for TASCAM FireWire series * * Copyright (c) 2015 Takashi Sakamoto * * Licensed under the terms of the GNU General Public License, version 2. */ #ifndef SOUND_TASCAM_H_INCLUDED #define SOUND_TASCAM_H_INCLUDED #include <linux/device.h> #include <linux/firewire.h> #include <linux/...
null
null
null
null
79,700
18,952
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,947
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #include "qla_def.h" #include <linux/debugfs.h> #include <linux/seq_file.h> static struct dentry *qla2x00_dfs_root; static atomic_t qla2x00_dfs_root_count; static in...
null
null
null
null
92,294
48,043
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
48,043
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 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 UI_VIEWS_VIEW_OBSERVER_H_ #define UI_VIEWS_VIEW_OBSERVER_H_ #include "ui/views/views_export.h" namespace views { class View; // ViewObserver i...
null
null
null
null
44,906
36
9,22
train_val
0be839a2701369f669532ea5884c15bead1c6e08
262,604
qemu
1
https://github.com/bonzini/qemu
2014-11-18 16:49:44+05:30
static inline void *host_from_stream_offset(QEMUFile *f, ram_addr_t offset, int flags) { static RAMBlock *block = NULL; char id[256]; uint8_t len; if (flags & RAM_SAVE_FLAG_CONTINUE) { if (!block) { error_report("Ack, bad migration stream!"); return NULL; } return memory_region_get_ram_ptr(block->mr) + offset...
CVE-2014-7840
CWE-20
https://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08
Low
4,277
55,322
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,322
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 CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_LINKED_APP_ICONS_H_ #include <v...
null
null
null
null
52,185
14,749
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,749
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 COMPONENTS_EXO_SURFACE_DELEGATE_H_ #define COMPONENTS_EXO_SURFACE_DELEGATE_H_ #include "third_party/skia/include/core/SkColor.h" #include "ui/gfx...
null
null
null
null
11,612
13,771
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,771
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. #include "components/crash/content/app/crash_keys_win.h" #include <stddef.h> #include "base/command_line.h" #include "base/files/file_path.h" #include "...
null
null
null
null
10,634
6,324
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,324
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. #include "chromeos/cryptohome/mock_homedir_methods.h" #include <vector> #include "chromeos/cryptohome/cryptohome_parameters.h" #include "chromeos/crypto...
null
null
null
null
3,187
34,648
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,648
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2014 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
31,511
1,712
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,280
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * ColdFire Fast Ethernet Controller emulation. * * Copyright (c) 2007 CodeSourcery. * * This code is licensed under the GPL */ #include "qemu/osdep.h" #include "hw/hw.h" #include "net/net.h" #include "hw/m68k/mcf.h" #include "hw/net/mii.h" /* For crc32 */ #include <zlib.h> #include "exec/address-spaces.h" //#...
null
null
null
null
122,404
501
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,888
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2006-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,333
1,503
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,458
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
#if HAVE_GD_BUNDLED # include "gd.h" # include "gdhelpers.h" #else # include <gd.h> # include "libgd/gdhelpers.h" #endif #include "gd_intern.h" #include "php.h" /* bring the palette colors in im2 to be closer to im1 * */ int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2) { unsigned long *buf; /* stores our cal...
null
null
null
null
120,379
30
1,21
train_val
dc0b027dfadfcb8a5504f7d8052754bf8d501ab9
165,025
linux
1
https://github.com/torvalds/linux
2008-12-23 15:21:56-05:00
static struct nfs4_opendata *nfs4_opendata_alloc(struct path *path, struct nfs4_state_owner *sp, int flags, const struct iattr *attrs) { struct dentry *parent = dget_parent(path->dentry); struct inode *dir = parent->d_inode; struct nfs_server *server = NFS_SERVER(dir); struct nfs4_opendata *p; p = kzalloc(sizeof(*p)...
CVE-2011-4324
null
https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9
Low
2,919
817
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,385
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include<stdio.h> #include<assert.h> int main() { int rd, rs, rt; int result; rs = 0x03; rt = 0x87654321; result = 0xF0ED0864; __asm ("shrav_r.ph %0, %1, %2\n\t" : "=r"(rd) : "r"(rt), "r"(rs) ); assert(rd == result); rs = 0x00; rt ...
null
null
null
null
121,509
69,968
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,968
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 DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_H_ #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVID...
null
null
null
null
66,831
27,839
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,834
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
null
null
null
null
101,181
454
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,298
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Leash.rc // #define IDD_ABOUTBOX 100 #define IDD_TEST2_FORM 102 #define ID_HELLO_WORLD 114 #define IDR_MAINFRAME 128 #define IDR_LeashTYPE 129 #define...
null
null
null
null
73,606
69,768
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,768
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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. #include "device/gamepad/gamepad_service.h" #include <utility> #include "base/bind.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #i...
null
null
null
null
66,631
5,993
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,993
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 "chromeos/components/tether/fake_disconnect_tethering_request_sender.h" namespace chromeos { namespace tether { FakeDisconnectTetheringRequest...
null
null
null
null
2,856
27,733
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,733
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
null
null
null
null
24,596
3,027
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,084
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) 2011 Miroslav Slugeň <Thunder.m@seznam.cz> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or ...
null
null
null
null
72,139
19,541
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,536
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * CAN bus driver for IFI CANFD controller * * Copyright (C) 2016 Marek Vasut <marex@denx.de> * * Details about this controller can be found at * http://www.ifi-pld.de/IP/CANFD/canfd.html * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is"...
null
null
null
null
92,883
355
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,412
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
null
null
null
null
69,467
34,811
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,806
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Hauppauge HD PVR USB driver - video 4 linux 2 interface * * Copyright (C) 2008 Janne Grunau (j@jannau.net) * * 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, version 2. * */ #...
null
null
null
null
108,153
15,301
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,301
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 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/arc/intent_helper/intent_filter_struct_traits.h" #include <string> #include <utility> #include <vector> #include "base/strings/stri...
null
null
null
null
12,164
12,922
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,922
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 "components/spellcheck/browser/spellcheck_platform.h" #include "base/callback.h" #include "base/command_line.h" #include "components/spellcheck/...
null
null
null
null
9,785
18,900
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,900
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 "components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h" #include "chromeos/components/proximity_auth/logging/logging.h" #includ...
null
null
null
null
15,763
31,694
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,689
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* $Id divert_init.c,v 1.5.6.2 2001/01/24 22:18:17 kai Exp $ * * Module init for DSS1 diversion services for i4l. * * Copyright 1999 by Werner Cornelius (werner@isdn4linux.de) * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by re...
null
null
null
null
105,036
25,819
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,814
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2015 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * THE SOFTWARE IS PROVIDED "AS IS", ...
null
null
null
null
99,161
65,722
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,722
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. #include "chrome/browser/ui/location_bar/location_bar.h" #include <memory> #include "base/scoped_observer.h" #include "chrome/browser/profiles/profile.h...
null
null
null
null
62,585
15,549
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,544
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). All rights * reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main ...
null
null
null
null
88,891
51,753
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,753
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. #include "media/mojo/services/mojo_demuxer_stream_adapter.h" #include <stdint.h> #include <utility> #include "base/bind.h" #include "base/callback_helpe...
null
null
null
null
48,616
7,899
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,894
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/module.h> #include <asm/cpu_device_id.h> #include <asm/intel-family.h> #include "uncore.h" static struct intel_uncore_type *empty_uncore[] = { NULL, }; struct intel_uncore_type **uncore_msr_uncores = empty_uncore; struct intel_uncore_type **uncore_pci_uncores = empty_uncore; static bool pcidrv_regist...
null
null
null
null
81,241
52,049
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,049
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. #ifndef MEDIA_GPU_ANDROID_SURFACE_TEXTURE_GL_OWNER_H_ #define MEDIA_GPU_ANDROID_SURFACE_TEXTURE_GL_OWNER_H_ #include "base/memory/ref_counted.h" #include...
null
null
null
null
48,912
58,950
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,950
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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. #include "base/command_line.h" #include "base/macros.h" #include "base/threading/thread_restrictions.h" #include "build/build_config.h" #include "chro...
null
null
null
null
55,813
40,322
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,322
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Summary: macros for marking symbols as exportable/importable. * Description: macros for marking symbols as exportable/importable. * * Copy: See Copyright for the status of this software. * * Author: Igor Zlatkovic <igor@zlatkovic.com> */ #ifndef __XSLT_EXPORTS_H__ #define __XSLT_EXPORTS_H__ /** * XSLTPUB...
null
null
null
null
37,185
15,629
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,624
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) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * ...
null
null
null
null
88,971
10,486
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,486
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. #ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ #define MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ #include "base/containers/queue.h" #inclu...
null
null
null
null
7,349
65,662
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,662
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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. #include "chrome/browser/ui/global_error/global_error_service_factory.h" #include "chrome/browser/profiles/incognito_helpers.h" #include "chrome/brow...
null
null
null
null
62,525
18,675
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,675
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 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_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ #include <stdint.h> #include <memory> #i...
null
null
null
null
15,538
18,714
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,709
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2000-2015 Avago Technologies. All rights reserved. * * * Name: mpi2_sas.h * Title: MPI Serial Attached SCSI structures and definitions * Creation Date: February 9, 2007 * * mpi2_sas.h Version: 02.00.10 * * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mp...
null
null
null
null
92,056
23,093
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,088
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for batteries with DS2760 chips inside. * * Copyright © 2007 Anton Vorontsov * 2004-2007 Matt Reimer * 2004 Szabolcs Gyurko * * Use consistent with the GNU GPL is permitted, * provided that this copyright notice is * preserved in its entirety in all copies and derived works. * * Aut...
null
null
null
null
96,435
20,084
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,079
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/net/ethernet/mellanox/mlxsw/pci_hw.h * Copyright (c) 2015-2016 Mellanox Technologies. All rights reserved. * Copyright (c) 2015-2016 Jiri Pirko <jiri@mellanox.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
null
null
null
null
93,426
46,352
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,352
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 "ash/keyboard/test_keyboard_ui.h" #include "ash/shell.h" #include "ash/wm/window_util.h" #include "ui/aura/window.h" #include "ui/aura/window_tr...
null
null
null
null
43,215
33,333
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,333
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 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/dom/element_visibility_observer.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/r...
null
null
null
null
30,196
19,386
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,381
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * CoreChip-sz SR9700 one chip USB 1.1 Ethernet Devices * * Author : Liu Junliang <liujunliang_ljl@163.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. */ #ifndef _SR9...
null
null
null
null
92,728
37,581
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,576
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H #define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H #define mb() __asm__ __volatile__("mb": : :"memory") #define rmb() __asm__ __volatile__("mb": : :"memory") #define wmb() __asm__ __volatile__("wmb": : :"memory") #endif /* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */
null
null
null
null
110,923
7,488
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,483
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef ARCH__X86__MM__KMEMCHECK__SHADOW_H #define ARCH__X86__MM__KMEMCHECK__SHADOW_H enum kmemcheck_shadow { KMEMCHECK_SHADOW_UNALLOCATED, KMEMCHECK_SHADOW_UNINITIALIZED, KMEMCHECK_SHADOW_INITIALIZED, KMEMCHECK_SHADOW_FREED, }; void *kmemcheck_shadow_lookup(unsigned long address); enum kmemcheck_shadow kmemchec...
null
null
null
null
80,830
934
7
train_val
8b8addf891de8a00e4d39fc32f93f7c5eb8feceb
165,929
linux
1
https://github.com/torvalds/linux
2016-03-11 09:53:19+01:00
void arch_pick_mmap_layout(struct mm_struct *mm) { unsigned long random_factor = 0UL; if (current->flags & PF_RANDOMIZE) random_factor = arch_mmap_rnd(); mm->mmap_legacy_base = mmap_legacy_base(random_factor); if (mmap_is_legacy()) { mm->mmap_base = mm->mmap_legacy_base; mm->get_unmapped_area = arch_get_unmapped_ar...
CVE-2016-3672
CWE-254
https://github.com/torvalds/linux/commit/8b8addf891de8a00e4d39fc32f93f7c5eb8feceb
Low
3,823
24,980
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,980
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 "extensions/renderer/bindings/exception_handler.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #include "base/strings/stringprin...
null
null
null
null
21,843
42,081
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,081
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. #include "google_apis/gaia/ubertoken_fetcher.h" #include <memory> #include "base/memory/ref_counted.h" #include "base/message_loop/message_loop.h" #incl...
null
null
null
null
38,944
11,091
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,091
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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. #include "gpu/command_buffer/service/framebuffer_manager.h" #include <stddef.h> #include <stdint.h> #include "base/logging.h" #include "base/macros....
null
null
null
null
7,954
7,757
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,752
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Routines to identify caches on Intel CPU. * * Changes: * Venkatesh Pallipadi : Adding cache identification through cpuid(4) * Ashok Raj <ashok.raj@intel.com>: Work with CPU hotplug infrastructure. * Andi Kleen / Andreas Herrmann : CPUID4 emulation on AMD. */ #include <linux/slab.h> #include <linux/cacheinf...
null
null
null
null
81,099
53,413
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,413
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. #include "media/cast/net/rtp/receiver_stats.h" #include "base/logging.h" #include "media/cast/net/rtp/rtp_defines.h" namespace media { namespace cast { ...
null
null
null
null
50,276
9,588
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,588
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. #ifndef NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_TEST_HELPER_H_ #define NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_TEST_HELPER_H_ #includ...
null
null
null
null
6,451
21,608
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,603
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Definitions for RTL8187 leds * * Copyright 2009 Larry Finger <Larry.Finger@lwfinger.net> * * Based on the LED handling in the r8187 driver, which is: * Copyright (c) Realtek Semiconductor Corp. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the ter...
null
null
null
null
94,950
24,069
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,064
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright © 2006-2011 Intel Corporation * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, bu...
null
null
null
null
97,411
55,591
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,591
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 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/services/media_gallery_util/public/mojom/media_parser.mojom.h" #include "base/bind.h" #include "base/run_loop.h" #include "chrome/servic...
null
null
null
null
52,454