1The majority of smali/baksmali is written and copyrighted by me (Ben Gruver) 2and released under the following license: 3 4******************************************************************************* 5Copyright (c) 2010 Ben Gruver (JesusFreke) 6All rights reserved. 7 8Redistribution and use in source and binary forms, with or without 9modification, are permitted provided that the following conditions 10are met: 111. Redistributions of source code must retain the above copyright 12 notice, this list of conditions and the following disclaimer. 132. Redistributions in binary form must reproduce the above copyright 14 notice, this list of conditions and the following disclaimer in the 15 documentation and/or other materials provided with the distribution. 163. The name of the author may not be used to endorse or promote products 17 derived from this software without specific prior written permission. 18 19THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29******************************************************************************* 30 31 32Various portions of the code are taken from the Android Open Source Project, 33and are used in accordance with the following license: 34 35******************************************************************************* 36Copyright (C) 2007 The Android Open Source Project 37 38Licensed under the Apache License, Version 2.0 (the "License"); 39you may not use this file except in compliance with the License. 40You may obtain a copy of the License at 41 42 http://www.apache.org/licenses/LICENSE-2.0 43 44Unless required by applicable law or agreed to in writing, software 45distributed under the License is distributed on an "AS IS" BASIS, 46WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 47See the License for the specific language governing permissions and 48limitations under the License. 49******************************************************************************* 50 51 52The smali mojo plugin is (very loosely) based on an unknown mojo plugin with 53the following license: 54 55******************************************************************************* 56Copyright 2001-2005 The Apache Software Foundation. 57 58Licensed under the Apache License, Version 2.0 (the "License"); 59you may not use this file except in compliance with the License. 60You may obtain a copy of the License at 61 62 http://www.apache.org/licenses/LICENSE-2.0 63 64Unless required by applicable law or agreed to in writing, software 65distributed under the License is distributed on an "AS IS" BASIS, 66WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 67See the License for the specific language governing permissions and 68limitations under the License. 69******************************************************************************* 70 71 72The RadixTree implementation in the "util" project is taken from 73http://code.google.com/p/radixtree/ (version .3), and is used with minor 74modifications in accordance with the following license: 75 76******************************************************************************* 77The MIT License 78 79Copyright (c) 2008 Tahseen Ur Rehman 80 81Permission is hereby granted, free of charge, to any person obtaining a copy 82of this software and associated documentation files (the "Software"), to deal 83in the Software without restriction, including without limitation the rights 84to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 85copies of the Software, and to permit persons to whom the Software is 86furnished to do so, subject to the following conditions: 87 88The above copyright notice and this permission notice shall be included in 89all copies or substantial portions of the Software. 90 91THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 92IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 93FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 94AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 95LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 96OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 97THE SOFTWARE. 98******************************************************************************* 99