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