1*4882a593Smuzhiyun Notice that the following BSD-style license applies to the Valgrind header 2*4882a593Smuzhiyun files used by Chromium (valgrind.h and memcheck.h). However, the rest of 3*4882a593Smuzhiyun Valgrind is licensed under the terms of the GNU General Public License, 4*4882a593Smuzhiyun version 2, unless otherwise indicated. 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun ---------------------------------------------------------------- 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun Copyright (C) 2000-2008 Julian Seward. All rights reserved. 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun Redistribution and use in source and binary forms, with or without 11*4882a593Smuzhiyun modification, are permitted provided that the following conditions 12*4882a593Smuzhiyun are met: 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun 1. Redistributions of source code must retain the above copyright 15*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun 2. The origin of this software must not be misrepresented; you must 18*4882a593Smuzhiyun not claim that you wrote the original software. If you use this 19*4882a593Smuzhiyun software in a product, an acknowledgment in the product 20*4882a593Smuzhiyun documentation would be appreciated but is not required. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun 3. Altered source versions must be plainly marked as such, and must 23*4882a593Smuzhiyun not be misrepresented as being the original software. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun 4. The name of the author may not be used to endorse or promote 26*4882a593Smuzhiyun products derived from this software without specific prior written 27*4882a593Smuzhiyun permission. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 30*4882a593Smuzhiyun OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 31*4882a593Smuzhiyun WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 32*4882a593Smuzhiyun ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 33*4882a593Smuzhiyun DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 34*4882a593Smuzhiyun DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 35*4882a593Smuzhiyun GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 36*4882a593Smuzhiyun INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 37*4882a593Smuzhiyun WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 38*4882a593Smuzhiyun NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 39*4882a593Smuzhiyun SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 40