mirror of
https://github.com/DMaroo/GhidRust.git
synced 2025-12-18 08:30:24 +01:00
Remove unused functions and variables
This commit is contained in:
@@ -86,16 +86,6 @@ public class RustStdAnalyzer extends AbstractAnalyzer {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void logToFile(String s) {
|
|
||||||
try {
|
|
||||||
writer.append(s);
|
|
||||||
writer.append("\n");
|
|
||||||
writer.flush();
|
|
||||||
} catch (IOException exc) {
|
|
||||||
// pass
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static private boolean getNextChunk(InputStream stream, byte[] dest, int size) {
|
static private boolean getNextChunk(InputStream stream, byte[] dest, int size) {
|
||||||
byte end;
|
byte end;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ import java.awt.event.ActionListener;
|
|||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
import docking.ComponentProvider;
|
import docking.ComponentProvider;
|
||||||
import ghidra.util.Msg;
|
|
||||||
import ghidra.util.task.ConsoleTaskMonitor;
|
import ghidra.util.task.ConsoleTaskMonitor;
|
||||||
import resources.ResourceManager;
|
import resources.ResourceManager;
|
||||||
|
|
||||||
@@ -37,7 +36,6 @@ public class RustDecProvider extends ComponentProvider {
|
|||||||
private Address addr;
|
private Address addr;
|
||||||
|
|
||||||
private DecompInterface decomp_ifc = null;
|
private DecompInterface decomp_ifc = null;
|
||||||
private CParser transpiler = null;
|
|
||||||
|
|
||||||
private static final String EMPTY_LABEL = "<none>";
|
private static final String EMPTY_LABEL = "<none>";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user