Skip to content

Commit 2fe077c

Browse files
committed
Merge remote-tracking branch 'origin/GP-5220b_Dan_updateDex2JarAndAsm--SQUASHED'
2 parents d5e1f76 + 586ae8f commit 2fe077c

File tree

3 files changed

+20
-21
lines changed

3 files changed

+20
-21
lines changed

Ghidra/Features/FileFormats/Module.manifest

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
MODULE FILE LICENSE: lib/dex-ir-2.1.jar Apache License 2.0
2-
MODULE FILE LICENSE: lib/dex-reader-2.1.jar Apache License 2.0
3-
MODULE FILE LICENSE: lib/dex-reader-api-2.1.jar Apache License 2.0
4-
MODULE FILE LICENSE: lib/dex-translator-2.1.jar Apache License 2.0
5-
MODULE FILE LICENSE: lib/asm-debug-all-5.0.3.jar INRIA License
1+
MODULE FILE LICENSE: lib/dex-ir-2.4.24.jar Apache License 2.0
2+
MODULE FILE LICENSE: lib/dex-reader-2.4.24.jar Apache License 2.0
3+
MODULE FILE LICENSE: lib/dex-reader-api-2.4.24.jar Apache License 2.0
4+
MODULE FILE LICENSE: lib/dex-translator-2.4.24.jar Apache License 2.0
5+
MODULE FILE LICENSE: lib/asm-9.7.1.jar INRIA License
6+
MODULE FILE LICENSE: lib/asm-analysis-9.7.1.jar INRIA License
7+
MODULE FILE LICENSE: lib/asm-commons-9.7.1.jar INRIA License
8+
MODULE FILE LICENSE: lib/asm-tree-9.7.1.jar INRIA License
9+
MODULE FILE LICENSE: lib/asm-util-9.7.1.jar INRIA License
610
MODULE FILE LICENSE: lib/baksmali-2.5.2.jar BSD-3-GRUVER
711
MODULE FILE LICENSE: lib/dexlib2-2.5.2.jar BSD-3-GRUVER
812
MODULE FILE LICENSE: lib/util-2.5.2.jar BSD-3-GRUVER

Ghidra/Features/FileFormats/build.gradle

+11-7
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -31,11 +31,15 @@ dependencies {
3131
api project(':PDB')
3232

3333
// Used by "Android DEX to JAR" file system
34-
api ':dex-ir:2.1'
35-
api ':dex-reader:2.1'
36-
api ':dex-reader-api:2.1'
37-
api ':dex-translator:2.1'
38-
api 'org.ow2.asm:asm-debug-all:5.0.3'
34+
api 'de.femtopedia.dex2jar:dex-ir:2.4.24'
35+
api 'de.femtopedia.dex2jar:dex-reader:2.4.24'
36+
api 'de.femtopedia.dex2jar:dex-reader-api:2.4.24'
37+
api 'de.femtopedia.dex2jar:dex-translator:2.4.24'
38+
api 'org.ow2.asm:asm:9.7.1'
39+
api 'org.ow2.asm:asm-analysis:9.7.1'
40+
api 'org.ow2.asm:asm-commons:9.7.1'
41+
api 'org.ow2.asm:asm-tree:9.7.1'
42+
api 'org.ow2.asm:asm-util:9.7.1'
3943

4044
// Used by "Android DEX to SMALI" file system
4145
api 'org.smali:baksmali:2.5.2' // requires guava-27.1-android or later

gradle/support/fetchDependencies.gradle

-9
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,6 @@ file("${REPO_DIR}/Ghidra/application.properties").withReader { reader ->
6161
}
6262

6363
ext.deps = [
64-
[
65-
name: "dex2jar-2.1.zip",
66-
url: "https://github.com/pxb1988/dex2jar/releases/download/v2.1/dex2jar-2.1.zip",
67-
sha256: "7a9bdf843d43de4d1e94ec2e7b6f55825017b0c4a7ee39ff82660e2493a46f08",
68-
destination: {
69-
unzip(DOWNLOADS_DIR, DOWNLOADS_DIR, "dex2jar-2.1.zip")
70-
copyDirectory(new File(DOWNLOADS_DIR, "dex-tools-2.1/lib/"), FLAT_REPO_DIR, new WildcardFileFilter("dex-*"));
71-
}
72-
],
7364
[
7465
name: "java-sarif-2.1-modified.jar",
7566
url: "https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${RELEASE_VERSION}/lib/java-sarif-2.1-modified.jar",

0 commit comments

Comments
 (0)