aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusFreke@JesusFreke.com <JesusFreke@JesusFreke.com@55b6fa8a-2a1e-11de-a435-ffa8d773f76a>2010-08-02 00:57:45 +0000
committerJesusFreke@JesusFreke.com <JesusFreke@JesusFreke.com@55b6fa8a-2a1e-11de-a435-ffa8d773f76a>2010-08-02 00:57:45 +0000
commit128e8279c3cf44cc1d1c8f263035ba8e4044d5c6 (patch)
treec879162dd11236fe88d980da255a5a84acc4a324
parent854c577425a670df02f58552636a471df255aff1 (diff)
downloadsmali-128e8279c3cf44cc1d1c8f263035ba8e4044d5c6.tar.gz
Add modification notices to Apache licensed files
git-svn-id: https://smali.googlecode.com/svn/trunk@781 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
-rw-r--r--deodexerant/Android.mk5
-rw-r--r--deodexerant/Main.c9
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/AnnotatedOutput.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/ByteArray.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayAnnotatedOutput.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayInput.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayOutput.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/ExceptionWithContext.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/FileUtils.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/IndentingWriter.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/Input.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/Leb128Utils.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/SparseArray.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/SparseIntArray.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/TwoColumnOutput.java8
-rw-r--r--dexlib/src/main/java/org/jf/dexlib/Util/Utf8Utils.java8
-rw-r--r--maven-smali-plugin/src/main/java/org/jf/SmaliMojo.java13
-rwxr-xr-xscripts/baksmali6
-rwxr-xr-xscripts/smali6
19 files changed, 148 insertions, 3 deletions
diff --git a/deodexerant/Android.mk b/deodexerant/Android.mk
index d56f9295..a318c2d5 100644
--- a/deodexerant/Android.mk
+++ b/deodexerant/Android.mk
@@ -12,6 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# As per the Apache license requirements, this file has been modified
+# from its original state.
+#
+# Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+# under the original license
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
diff --git a/deodexerant/Main.c b/deodexerant/Main.c
index cf7459fd..eaf360a2 100644
--- a/deodexerant/Main.c
+++ b/deodexerant/Main.c
@@ -13,6 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
/*
* Command-line invocation of the Dalvik VM.
*/
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/AnnotatedOutput.java b/dexlib/src/main/java/org/jf/dexlib/Util/AnnotatedOutput.java
index d5e0a7a5..928b2008 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/AnnotatedOutput.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/AnnotatedOutput.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
/**
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArray.java b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArray.java
index 57adcb02..bd9afa6c 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArray.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArray.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
/**
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayAnnotatedOutput.java b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayAnnotatedOutput.java
index 57e2ba5c..ae33cb0e 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayAnnotatedOutput.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayAnnotatedOutput.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.io.IOException;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayInput.java b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayInput.java
index e8c173dd..72fa0048 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayInput.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayInput.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
/**
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayOutput.java b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayOutput.java
index 5150142f..f2a1f709 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayOutput.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/ByteArrayOutput.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.util.ArrayList;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/ExceptionWithContext.java b/dexlib/src/main/java/org/jf/dexlib/Util/ExceptionWithContext.java
index 40bf08c1..bc10edf1 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/ExceptionWithContext.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/ExceptionWithContext.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.io.PrintStream;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/FileUtils.java b/dexlib/src/main/java/org/jf/dexlib/Util/FileUtils.java
index 668a529f..68d49396 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/FileUtils.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/FileUtils.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.io.File;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/IndentingWriter.java b/dexlib/src/main/java/org/jf/dexlib/Util/IndentingWriter.java
index 8c32fc85..e8b85e09 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/IndentingWriter.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/IndentingWriter.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.io.FilterWriter;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/Input.java b/dexlib/src/main/java/org/jf/dexlib/Util/Input.java
index e1f07a45..2364fabf 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/Input.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/Input.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
/**
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/Leb128Utils.java b/dexlib/src/main/java/org/jf/dexlib/Util/Leb128Utils.java
index 988bb21b..c243f4fc 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/Leb128Utils.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/Leb128Utils.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
/**
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/SparseArray.java b/dexlib/src/main/java/org/jf/dexlib/Util/SparseArray.java
index 3c92bc7e..25fb7b46 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/SparseArray.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/SparseArray.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.util.Arrays;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/SparseIntArray.java b/dexlib/src/main/java/org/jf/dexlib/Util/SparseIntArray.java
index 232cad5e..5f3d7d95 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/SparseIntArray.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/SparseIntArray.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
/**
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/TwoColumnOutput.java b/dexlib/src/main/java/org/jf/dexlib/Util/TwoColumnOutput.java
index 1e760822..d064a4da 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/TwoColumnOutput.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/TwoColumnOutput.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.io.*;
diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/Utf8Utils.java b/dexlib/src/main/java/org/jf/dexlib/Util/Utf8Utils.java
index 3086f77c..ec819fd0 100644
--- a/dexlib/src/main/java/org/jf/dexlib/Util/Utf8Utils.java
+++ b/dexlib/src/main/java/org/jf/dexlib/Util/Utf8Utils.java
@@ -14,6 +14,14 @@
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
package org.jf.dexlib.Util;
import java.io.IOException;
diff --git a/maven-smali-plugin/src/main/java/org/jf/SmaliMojo.java b/maven-smali-plugin/src/main/java/org/jf/SmaliMojo.java
index 75df9557..1bfaac5b 100644
--- a/maven-smali-plugin/src/main/java/org/jf/SmaliMojo.java
+++ b/maven-smali-plugin/src/main/java/org/jf/SmaliMojo.java
@@ -1,7 +1,4 @@
-package org.jf;
-
/*
-
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,6 +14,16 @@ package org.jf;
* limitations under the License.
*/
+/*
+ * As per the Apache license requirements, this file has been modified
+ * from its original state.
+ *
+ * Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+ * under the original license
+ */
+
+package org.jf;
+
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.project.MavenProject;
diff --git a/scripts/baksmali b/scripts/baksmali
index 31f782fe..5c34d222 100755
--- a/scripts/baksmali
+++ b/scripts/baksmali
@@ -14,6 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# As per the Apache license requirements, this file has been modified
+# from its original state.
+#
+# Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+# under the original license
+
# This script is a wrapper around baksmali.jar, so you can simply call
# "baksmali", instead of java -jar baksmali.jar. It is heavily based on
# the "dx" script from the Android SDK
diff --git a/scripts/smali b/scripts/smali
index e8bed947..24118a87 100755
--- a/scripts/smali
+++ b/scripts/smali
@@ -14,6 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# As per the Apache license requirements, this file has been modified
+# from its original state.
+#
+# Such modifications are Copyright (C) 2010 Ben Gruver, and are released
+# under the original license
+
# This script is a wrapper for smali.jar, so you can simply call "smali",
# instead of java -jar smali.jar. It is heavily based on the "dx" script
# from the Android SDK