Home | History | Annotate | Download | only in smali
      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 Unless otherwise stated in the code/commit message, any changes with the
     33 committer of bgruv (a] google.com is copyrighted by Google Inc. and released
     34 under the following license:
     35 
     36 *******************************************************************************
     37 Copyright 2011, Google Inc.
     38 All rights reserved.
     39 
     40 Redistribution and use in source and binary forms, with or without
     41 modification, are permitted provided that the following conditions are
     42 met:
     43 
     44     * Redistributions of source code must retain the above copyright
     45 notice, this list of conditions and the following disclaimer.
     46     * Redistributions in binary form must reproduce the above
     47 copyright notice, this list of conditions and the following disclaimer
     48 in the documentation and/or other materials provided with the
     49 distribution.
     50     * Neither the name of Google Inc. nor the names of its
     51 contributors may be used to endorse or promote products derived from
     52 this software without specific prior written permission.
     53 
     54 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     55 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     56 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     57 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     58 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     59 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     60 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     61 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     62 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     63 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     64 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     65 *******************************************************************************
     66 
     67 
     68 Various portions of the code are taken from the Android Open Source Project,
     69 and are used in accordance with the following license:
     70 
     71 *******************************************************************************
     72 Copyright (C) 2007 The Android Open Source Project
     73 
     74 Licensed under the Apache License, Version 2.0 (the "License");
     75 you may not use this file except in compliance with the License.
     76 You may obtain a copy of the License at
     77 
     78      http://www.apache.org/licenses/LICENSE-2.0
     79 
     80 Unless required by applicable law or agreed to in writing, software
     81 distributed under the License is distributed on an "AS IS" BASIS,
     82 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     83 See the License for the specific language governing permissions and
     84 limitations under the License.
     85 *******************************************************************************
     86 
     87 
     88 The smali mojo plugin is (very loosely) based on an unknown mojo plugin with
     89 the following license:
     90 
     91 *******************************************************************************
     92 Copyright 2001-2005 The Apache Software Foundation.
     93 
     94 Licensed under the Apache License, Version 2.0 (the "License");
     95 you may not use this file except in compliance with the License.
     96 You may obtain a copy of the License at
     97 
     98      http://www.apache.org/licenses/LICENSE-2.0
     99 
    100 Unless required by applicable law or agreed to in writing, software
    101 distributed under the License is distributed on an "AS IS" BASIS,
    102 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    103 See the License for the specific language governing permissions and
    104 limitations under the License.
    105 *******************************************************************************
    106 
    107 
    108 The RadixTree implementation in the "util" project is taken from
    109 http://code.google.com/p/radixtree/ (version .3), and is used with minor
    110 modifications in accordance with the following license:
    111 
    112 *******************************************************************************
    113 The MIT License
    114 
    115 Copyright (c) 2008 Tahseen Ur Rehman
    116 
    117 Permission is hereby granted, free of charge, to any person obtaining a copy
    118 of this software and associated documentation files (the "Software"), to deal
    119 in the Software without restriction, including without limitation the rights
    120 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    121 copies of the Software, and to permit persons to whom the Software is
    122 furnished to do so, subject to the following conditions:
    123 
    124 The above copyright notice and this permission notice shall be included in
    125 all copies or substantial portions of the Software.
    126 
    127 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    128 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    129 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    130 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    131 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    132 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    133 THE SOFTWARE.
    134 *******************************************************************************
    135