Skip to content

Ghidra is a software reverse engineering (SRE) framework

GT-3114: Cleaning up JAD-related logging (closes #701).

Ryan Kurtz4143fd502ade
diff --git a/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html b/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html
index cd3e25c57e..7eaa0e664d 100644
--- a/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html
+++ b/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html
@@ -29,7 +29,8 @@
<BLOCKQUOTE>
<P>Given a selected Android application package (APK) file, this will create an Eclipse
project for that APK. It will convert the DEX file into a JAR file, then JAD the entire
- file.</P>
+ file. Requires Java Decompiler (JAD) to be installed in
+ Ghidra/Features/FileFormats/os/[your_os]/jad[.exe]</P>
</BLOCKQUOTE>
<H3><A name="FSB_Load_iOS_Kernel"></A>Load iOS Kernel</H3>
@@ -43,7 +44,9 @@
<H3><A name="FSB_Decompile_JAR"></A>Decompile JAR</H3>
<BLOCKQUOTE>
- <P>Given a selected JAR file, this will JAD the entire contents and create the source.</P>
+ <P>Given a selected JAR file, this will JAD the entire contents and create the source.
+ Requires Java Decompiler (JAD) to be installed in
+ Ghidra/Features/FileFormats/os/[your_os]/jad[.exe]</P>
</BLOCKQUOTE>
<H3><A name="FSB_Create_Crypto_Key_Template"></A>Create Crypto Key Template File</H3>
diff --git a/Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/JadProcessWrapper.java b/Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/JadProcessWrapper.java
index 85faf21c32..de81d6029d 100644
--- a/Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/JadProcessWrapper.java
+++ b/Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/JadProcessWrapper.java
@@ -22,7 +22,6 @@ import java.util.List;
import ghidra.framework.Application;
import ghidra.framework.Platform;
-import ghidra.util.Msg;
/**
* Wrapper class for JAD, a JAva Decompiler.
@@ -142,14 +141,8 @@ public class JadProcessWrapper {
}
}
catch (IOException ioe) {
- Msg.debug(JadProcessWrapper.class, ioe.getMessage());
// fall thru
}
- Msg.debug(JadProcessWrapper.class,
- "Java Decompiler (JAD) not present, some features not available until installed in:");
- Msg.debug(JadProcessWrapper.class,
- " Ghidra/Features/FileFormats/os/[your_os]/jad[.exe]");
- Msg.debug(JadProcessWrapper.class, "and Ghidra is restarted");
return false;
}
}