File tree Expand file tree Collapse file tree
GhidraVmlinuxLoader/src/main/java/ghidravmlinuxloader Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ public Collection<LoadSpec> findSupportedLoadSpecs(ByteProvider provider) throws
8282 }
8383
8484 LanguageCompilerSpecPair langSpecPair ;
85- if (symJson .arch == 32 ) {
85+ if (symJson .arch . equals ( "arm" ) ) {
8686 langSpecPair = new LanguageCompilerSpecPair ("ARM:LE:32:v7" , compiler );
87- } else if (symJson .arch == 64 ) {
87+ } else if (symJson .arch . equals ( "arm64" ) ) {
8888 langSpecPair = new LanguageCompilerSpecPair ("AARCH64:LE:64:v8A" , compiler );
8989 } else {
9090 return loadSpecs ;
Original file line number Diff line number Diff line change 99import com .google .gson .Gson ;
1010
1111public class VmlinuxSymJson {
12- public int arch ;
12+ public String arch ;
13+ public int ptr_size ;
1314 public BigInteger _start ;
1415 public int numsyms ;
1516 public BigInteger [] address ;
You can’t perform that action at this time.
0 commit comments