2.5.2
01/06/2015 - Completely fixed the search function with Android APKs.
This commit is contained in:
parent
f7fe03ed5a
commit
bf583ec9d9
Binary file not shown.
|
@ -235,5 +235,5 @@ Changelog:
|
||||||
--- 2.5.1 ---:
|
--- 2.5.1 ---:
|
||||||
01/06/2015 - Silenced the error connecting to update server for offline mode.
|
01/06/2015 - Silenced the error connecting to update server for offline mode.
|
||||||
01/06/2015 - Fixed a search function with Android APKs.
|
01/06/2015 - Fixed a search function with Android APKs.
|
||||||
--- 2.5.1 ---:
|
--- 2.5.2 ---:
|
||||||
01/06/2015 - Fixed another issue with LDC searching for Android APKs.01/06/2015 - Fixed another issue with LDC searching for Android APKs.
|
01/06/2015 - Completely fixed the search function with Android APKs.
|
|
@ -89,6 +89,8 @@ public class FieldCallSearch implements SearchTypeDetails {
|
||||||
String desc2 = method.desc;
|
String desc2 = method.desc;
|
||||||
try {
|
try {
|
||||||
desc2 = Type.getType(method.desc).toString();
|
desc2 = Type.getType(method.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = method.desc;
|
||||||
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -113,6 +115,8 @@ public class FieldCallSearch implements SearchTypeDetails {
|
||||||
String desc2 = method.desc;
|
String desc2 = method.desc;
|
||||||
try {
|
try {
|
||||||
desc2 = Type.getType(method.desc).toString();
|
desc2 = Type.getType(method.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = method.desc;
|
||||||
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,6 +63,8 @@ public class LDCSearch implements SearchTypeDetails {
|
||||||
String desc2 = method.desc;
|
String desc2 = method.desc;
|
||||||
try {
|
try {
|
||||||
desc2 = Type.getType(method.desc).toString();
|
desc2 = Type.getType(method.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = method.desc;
|
||||||
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -80,8 +82,16 @@ public class LDCSearch implements SearchTypeDetails {
|
||||||
final Iterator<FieldNode> fields = node.fields.iterator();
|
final Iterator<FieldNode> fields = node.fields.iterator();
|
||||||
while (methods.hasNext()) {
|
while (methods.hasNext()) {
|
||||||
final FieldNode field = fields.next();
|
final FieldNode field = fields.next();
|
||||||
|
String desc2 = field.desc;
|
||||||
|
try {
|
||||||
|
desc2 = Type.getType(field.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = field.desc;
|
||||||
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
|
}
|
||||||
if (field.value instanceof String) {
|
if (field.value instanceof String) {
|
||||||
srn.notifyOfResult(node.name + "." + field.name + field.desc
|
srn.notifyOfResult(node.name + "." + field.name + desc2
|
||||||
+ " -> \"" + field.value + "\" > field");
|
+ " -> \"" + field.value + "\" > field");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,6 +89,8 @@ public class MethodCallSearch implements SearchTypeDetails {
|
||||||
String desc2 = method.desc;
|
String desc2 = method.desc;
|
||||||
try {
|
try {
|
||||||
desc2 = Type.getType(method.desc).toString();
|
desc2 = Type.getType(method.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = method.desc;
|
||||||
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -112,6 +114,8 @@ public class MethodCallSearch implements SearchTypeDetails {
|
||||||
String desc2 = method.desc;
|
String desc2 = method.desc;
|
||||||
try {
|
try {
|
||||||
desc2 = Type.getType(method.desc).toString();
|
desc2 = Type.getType(method.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = method.desc;
|
||||||
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,8 @@ public class RegexSearch implements SearchTypeDetails {
|
||||||
String desc2 = method.desc;
|
String desc2 = method.desc;
|
||||||
try {
|
try {
|
||||||
desc2 = Type.getType(method.desc).toString();
|
desc2 = Type.getType(method.desc).toString();
|
||||||
|
if(desc2 == null || desc2.equals("null"))
|
||||||
|
desc2 = method.desc;
|
||||||
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
} catch(java.lang.ArrayIndexOutOfBoundsException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue