d3v1l401 / FindCrypt-Ghidra

IDA Pro's FindCrypt ported to Ghidra, with an updated and customizable signature database
https://d3vsite.org/
GNU General Public License v3.0
520 stars 51 forks source link

"Cannot Find Symbol" variable file - Fix #1

Closed upsampled closed 5 years ago

upsampled commented 5 years ago

Upon following the install instructions I got the following error:

FindCrypt.java:696: error: cannot find symbol
    private static final String __DEFAULT_LOAD_DIR = "findcrypt_ghidra" + File.separator + "database.d3v";
                                                                          ^
  symbol:   variable File
  location: class FindCrypt
FindCrypt.java:761: error: cannot find symbol
                DataInputStream _stream = new DataInputStream(new FileInputStream(cwd + File.separator + __DEFAULT_LOAD_DIR));
                                                                                        ^
  symbol:   variable File
  location: class EntryManager
2 errors
> Unable to locate script class: Unable to compile class: FindCrypt.java

This was fixed by adding import java.io.File; to FindCrypt.java

d3v1l401 commented 5 years ago

That's interesting, I tested the File.separator edit before pushing to the repo, but I guess something happened.

Thanks for the report.