summaryrefslogtreecommitdiffstats
path: root/tools/dexfuzz/src/dexfuzz/executors/Architecture.java
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dexfuzz/src/dexfuzz/executors/Architecture.java')
-rw-r--r--tools/dexfuzz/src/dexfuzz/executors/Architecture.java26
1 files changed, 17 insertions, 9 deletions
diff --git a/tools/dexfuzz/src/dexfuzz/executors/Architecture.java b/tools/dexfuzz/src/dexfuzz/executors/Architecture.java
index 5cdabc3..051d80e 100644
--- a/tools/dexfuzz/src/dexfuzz/executors/Architecture.java
+++ b/tools/dexfuzz/src/dexfuzz/executors/Architecture.java
@@ -17,15 +17,23 @@
package dexfuzz.executors;
/**
- * Every Executor must specify an Architecture. It is important that when reduced
- * to lower case, these match the ISA string that ART would produce. For example,
- * the architecture directory used for /data/dalvik-cache/${ISA}
+ * Every Executor must specify an Architecture.
*/
public enum Architecture {
- ARM,
- ARM64,
- X86,
- X86_64,
- MIPS,
- MIPS64
+ ARM("arm"),
+ ARM64("arm64"),
+ X86("x86"),
+ X86_64("x86_64"),
+ MIPS("mips"),
+ MIPS64("mips64");
+
+ private String archString = "";
+
+ private Architecture(String archString) {
+ this.archString = archString;
+ }
+
+ public String asString() {
+ return archString;
+ }
}