1 Smatch is released under the GPLv2+ license however Smatch includes the Sparse 2 source as well which is licensed under the MIT license and cwchash which is 3 licensed under the three clause BSD license and avl.[ch] which are MIT licensed. 4 5 The line between which files are a part of Sparse and which are a part of Smatch 6 is normally pretty clear. The one thing I will clarify is that there are some 7 modifications to Sparse files in the Smatch repository which have not been 8 pushed to the Sparse repository. These are released under the MIT license. The 9 token_store.c file is a Sparse feature and thus released under the MIT license 10 despite that it has not been pushed to the Sparse repository. 11 12 I will not accept additional Sparse features except under the MIT license. 13 14 ------ Smatch 15 16 License: GPLv2+ 17 18 This program is free software; you can redistribute it and/or modify 19 it under the terms of the GNU General Public License as published by 20 the Free Software Foundation; either version 2 of the License, or 21 (at your option) any later version. 22 23 This program is distributed in the hope that it will be useful, 24 but WITHOUT ANY WARRANTY; without even the implied warranty of 25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 GNU General Public License for more details. 27 28 You should have received a copy of the GNU General Public License 29 along with this program; if not, write to the Free Software 30 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 31 32 See GPL-2, or <http://www.gnu.org/copyleft/gpl.txt> for the terms of the latest 33 version of the GNU General Public License. 34 35 ------ Sparse 36 37 The 'sparse' C parser front-end library is copyrighted by Transmeta Corp 38 and other authors and licensed under the "MIT License" as 39 obtained from www.opensource.org (and included here-in for easy 40 reference). 41 42 [ This copy of the license is the flat-text version of original, 43 available in its full glory at 44 45 http://opensource.org/licenses/MIT 46 47 please refer to there for the authoritative and slightly more 48 pretty-printed version ] 49 50 ------ 51 52 The MIT License (MIT) 53 54 Permission is hereby granted, free of charge, to any person obtaining a copy 55 of this software and associated documentation files (the "Software"), to deal 56 in the Software without restriction, including without limitation the rights 57 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 58 copies of the Software, and to permit persons to whom the Software is 59 furnished to do so, subject to the following conditions: 60 61 The above copyright notice and this permission notice shall be included in 62 all copies or substantial portions of the Software. 63 64 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 65 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 66 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 67 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 68 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 69 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 70 THE SOFTWARE.