1Smatch is released under the GPLv2+ license however Smatch includes the Sparse 2source as well which is licensed under the MIT license and cwchash which is 3licensed under the three clause BSD license and avl.[ch] which are MIT licensed. 4 5The line between which files are a part of Sparse and which are a part of Smatch 6is normally pretty clear. The one thing I will clarify is that there are some 7modifications to Sparse files in the Smatch repository which have not been 8pushed to the Sparse repository. These are released under the MIT license. The 9token_store.c file is a Sparse feature and thus released under the MIT license 10despite that it has not been pushed to the Sparse repository. 11 12I will not accept additional Sparse features except under the MIT license. 13 14------ Smatch 15 16License: 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 32See GPL-2, or <http://www.gnu.org/copyleft/gpl.txt> for the terms of the latest 33version of the GNU General Public License. 34 35------ Sparse 36 37The 'sparse' C parser front-end library is copyrighted by Transmeta Corp 38and other authors and licensed under the "MIT License" as 39obtained from www.opensource.org (and included here-in for easy 40reference). 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 54Permission is hereby granted, free of charge, to any person obtaining a copy 55of this software and associated documentation files (the "Software"), to deal 56in the Software without restriction, including without limitation the rights 57to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 58copies of the Software, and to permit persons to whom the Software is 59furnished to do so, subject to the following conditions: 60 61The above copyright notice and this permission notice shall be included in 62all copies or substantial portions of the Software. 63 64THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 65IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 66FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 67AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 68LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 69OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 70THE SOFTWARE. 71