Comments (15)
Did you perhaps forget to download the dependency?
cd pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/lib/
wget https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar
from pharos.
I can build it with gradle just fine with ghidra 9.1.2. You also need to specify the path to ghidra.
I simply followed these commands in the comment. The zip file should be produced in the dist
directory.
// > export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
// > gradle
//
// or
//
// > gradle -PGHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
from pharos.
Thanks @Sinderella for helping out.
from pharos.
Can you be a little more specific on the error you are seeing? I confirmed that the plugin builds in Ghidra 9.1.2_PUBLIC. Note that if you are trying to use a version of the plugin built with a previous version of Ghidra, then you will need to rebuild with 9.1.2_PUBLIC.
from pharos.
Please, give us a write up on how to do it on 9.1.2, am building it but i get incompatible error.
from pharos.
Is it possible to share build zip file
from pharos.
I can build it just fine as well with the path to Ghidra 9.1.2 but when trying to run the plugin, i get no popup to input a JSON file
from pharos.
Upload the zip file, please it has refused to build
from pharos.
@josekahu Can you post an error log?
from pharos.
using the zip file from the repo also does not work
from pharos.
Can you please provide more details, which version of Ghidra? What are the build errors?
from pharos.
Ghidra 9.1.2
the error when compiling
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:11: error: package com.google.gson does not exist
import com.google.gson.JsonArray;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:12: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.Expose;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:13: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:8: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.Expose;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:9: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:6: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.Expose;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:7: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:10: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.Expose;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:11: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.JsonAdapter;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:12: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:7: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.Expose;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:8: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.JsonAdapter;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:9: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerClassList.java:15: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.Expose;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerClassList.java:16: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:28: error: package com.google.gson does not exist
import com.google.gson.Gson;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:29: error: package com.google.gson does not exist
import com.google.gson.GsonBuilder;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:30: error: package com.google.gson does not exist
import com.google.gson.JsonDeserializationContext;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:31: error: package com.google.gson does not exist
import com.google.gson.JsonDeserializer;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:32: error: package com.google.gson does not exist
import com.google.gson.JsonElement;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:33: error: package com.google.gson does not exist
import com.google.gson.JsonObject;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:34: error: package com.google.gson does not exist
import com.google.gson.JsonParseException;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:35: error: package com.google.gson does not exist
import com.google.gson.JsonSyntaxException;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:36: error: package com.google.gson.reflect does not exist
import com.google.gson.reflect.TypeToken;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:37: error: package com.google.gson.stream does not exist
import com.google.gson.stream.JsonReader;
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:24: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:25: error: cannot find symbol
@SerializedName("Name")
^
symbol: class SerializedName
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:28: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:29: error: cannot find symbol
@SerializedName("DemangledName")
^
symbol: class SerializedName
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:35: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:36: error: cannot find symbol
@SerializedName("Size")
^
symbol: class SerializedName
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:39: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:40: error: cannot find symbol
@SerializedName("Members")
^
symbol: class SerializedName
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:43: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:44: error: cannot find symbol
@SerializedName("Methods")
^
symbol: class SerializedName
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:47: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerType.java:48: error: cannot find symbol
@SerializedName("Vftables")
^
symbol: class SerializedName
location: class OOAnalyzerType
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:19: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vftable
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:20: error: cannot find symbol
@SerializedName("ea")
^
symbol: class SerializedName
location: class Vftable
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:23: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vftable
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:24: error: cannot find symbol
@SerializedName("vfptr")
^
symbol: class SerializedName
location: class Vftable
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:27: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vftable
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vftable.java:28: error: cannot find symbol
@SerializedName("entries")
^
symbol: class SerializedName
location: class Vftable
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:17: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:18: error: cannot find symbol
@SerializedName("ea")
^
symbol: class SerializedName
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:21: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:22: error: cannot find symbol
@SerializedName("offset")
^
symbol: class SerializedName
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:25: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:26: error: cannot find symbol
@SerializedName("name")
^
symbol: class SerializedName
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:29: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:30: error: cannot find symbol
@SerializedName("demangled_name")
^
symbol: class SerializedName
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:33: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:34: error: cannot find symbol
@SerializedName("import")
^
symbol: class SerializedName
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:37: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Vfentry.java:38: error: cannot find symbol
@SerializedName("type")
^
symbol: class SerializedName
location: class Vfentry
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:14: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:15: error: cannot find symbol
@SerializedName("ea")
^
symbol: class SerializedName
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:18: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:19: error: cannot find symbol
@SerializedName("type")
^
symbol: class SerializedName
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:22: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:23: error: cannot find symbol
@SerializedName("name")
^
symbol: class SerializedName
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:26: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:27: error: cannot find symbol
@SerializedName("demangled_name")
^
symbol: class SerializedName
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:30: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Method.java:31: error: cannot find symbol
@SerializedName("import")
^
symbol: class SerializedName
location: class Method
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:18: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:19: error: cannot find symbol
@SerializedName("name")
^
symbol: class SerializedName
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:22: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:23: error: cannot find symbol
@SerializedName("type")
^
symbol: class SerializedName
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:26: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:27: error: cannot find symbol
@SerializedName("struc")
^
symbol: class SerializedName
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:30: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:31: error: cannot find symbol
@SerializedName("parent")
^
symbol: class SerializedName
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:34: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:35: error: cannot find symbol
@SerializedName("offset")
^
symbol: class SerializedName
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:38: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/Member.java:39: error: cannot find symbol
@SerializedName("count")
^
symbol: class SerializedName
location: class Member
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerClassList.java:23: error: cannot find symbol
@SerializedName("Structures")
^
symbol: class SerializedName
location: class OOAnalyzerClassList
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/jsontypes/OOAnalyzerClassList.java:24: error: cannot find symbol
@Expose
^
symbol: class Expose
location: class OOAnalyzerClassList
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1411: error: cannot find symbol
JsonReader reader = null;
^
symbol: class JsonReader
location: class OOAnalyzer
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1415: error: cannot find symbol
reader = new JsonReader(new FileReader(jsonFile));
^
symbol: class JsonReader
location: class OOAnalyzer
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1420: error: cannot find symbol
JsonDeserializer<OOAnalyzerType> deserializer = new JsonDeserializer<OOAnalyzerType>() {
^
symbol: class JsonDeserializer
location: class OOAnalyzer
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1420: error: cannot find symbol
JsonDeserializer<OOAnalyzerType> deserializer = new JsonDeserializer<OOAnalyzerType>() {
^
symbol: class JsonDeserializer
location: class OOAnalyzer
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1423: error: cannot find symbol
public OOAnalyzerType deserialize(JsonElement json, Type typeOfT,
^
symbol: class JsonElement
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1424: error: cannot find symbol
JsonDeserializationContext context) throws JsonParseException {
^
symbol: class JsonDeserializationContext
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1424: error: cannot find symbol
JsonDeserializationContext context) throws JsonParseException {
^
symbol: class JsonParseException
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1422: error: method does not override or implement a method from a supertype
@Override
^
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1426: error: cannot find symbol
JsonObject jsonObject = json.getAsJsonObject();
^
symbol: class JsonObject
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1452: error: cannot find symbol
JsonElement jElm = jsonObject.get(demangledNameJSONString);
^
symbol: class JsonElement
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1463: error: cannot find symbol
Gson g = new Gson();
^
symbol: class Gson
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1463: error: cannot find symbol
Gson g = new Gson();
^
symbol: class Gson
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1465: error: cannot find symbol
Type mbrListType = new TypeToken<List<Member>>() {
^
symbol: class TypeToken
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1469: error: cannot find symbol
} catch (JsonSyntaxException | IllegalStateException mbrx) {
^
symbol: class JsonSyntaxException
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1473: error: cannot find symbol
Type mthListType = new TypeToken<List<Method>>() {
^
symbol: class TypeToken
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1477: error: cannot find symbol
} catch (JsonSyntaxException | IllegalStateException mthx) {
^
symbol: class JsonSyntaxException
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1481: error: cannot find symbol
Type vftListType = new TypeToken<List<Vftable>>() {
^
symbol: class TypeToken
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1485: error: cannot find symbol
} catch (JsonSyntaxException | IllegalStateException vftx) {
^
symbol: class JsonSyntaxException
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1493: error: cannot find symbol
GsonBuilder gsonBuilder = new GsonBuilder();
^
symbol: class GsonBuilder
location: class OOAnalyzer
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1493: error: cannot find symbol
GsonBuilder gsonBuilder = new GsonBuilder();
^
symbol: class GsonBuilder
location: class OOAnalyzer
/home/advaithm/Desktop/wanacry/pharos/tools/ooanalyzer/ghidra/OOAnalyzerPlugin/src/main/java/ooanalyzer/OOAnalyzer.java:1495: error: cannot find symbol
Gson gson = gsonBuilder.excludeFieldsWithoutExposeAnnotation().create();
^
symbol: class Gson
location: class OOAnalyzer
100 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 11s
from pharos.
i am sorry i forgot to get the dependency but there is still a warning
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
from pharos.
I think the warning can be safely ignored as long as you are not using Gradle 7.0, which I think is not released yet. I did get the same warning, but it also produced the working plugin.
The build should be successful, can you check the dist
folder?
I am not one of the developers, just a user as well. 😆
from pharos.
the plugin works now
from pharos.
Related Issues (20)
- ooprolog crash HOT 16
- Consistency checks failed in ooprolog. HOT 22
- Partition stuck at 94%, seems to not be using available memory HOT 14
- Partitioner stucks at 17 % and often gets killed HOT 4
- crash in partitioning: basic block does not contain instruction HOT 8
- Is there a method to exclude classes by name? HOT 29
- Add Support For Non-Standard Windows Based Executables. HOT 6
- Initial sanity check failed in ooprolog HOT 6
- Contribute to OOAnalyzer HOT 1
- Where can I find a plugin for Ghidra? HOT 1
- WSL: cannot see file mapped HOT 1
- Build error running make on CentOS 7 (error: constructor required before non-static data member) HOT 12
- Initial sanity checks failed: Contradictory information about constructor: factConstructor(0x4a347b) but reasonNOTConstructor(0x4a347b) HOT 2
- Unknown message: error(system_error(initialSanityChecks)) error from ooprolog HOT 24
- fn2yara segfaults HOT 2
- Duplicate IntegerOffsetSearcher code in funcs.cpp and fn2yara.cpp
- Concurrency problems in fn2hash and other tools HOT 12
- Segmentation fault (core dumped) HOT 6
- Broken link in documentation
- `OOAN[ERROR]: Unable to find fallthru edge for call`, `Segmentation fault`, and `Aborted` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pharos.