Run the dex deobfuscation. This method may take a long time and should only be called in background thread. @param i the dex class index @return the target class object, null if the dex class is not found.
(int i)
| 99 | * @return the target class object, null if the dex class is not found. |
| 100 | */ |
| 101 | @Nullable |
| 102 | public static Class<?> doFindClass(int i) { |
| 103 | Class<?> ret = Initiator.load(getOriginalClassNameForIndex(i)); |
| 104 | if (ret != null) { |
| 105 | return ret; |
| 106 | } |
| 107 | DexMethodDescriptor m = getMethodDescFromCache(i); |
| 108 | if (m == null) { |
| 109 | m = doFindMethodDesc(i); |
| 110 | } |
| 111 | if (m == null) { |
| 112 | return null; |
| 113 | } |
| 114 | return Initiator.load(m.declaringClass); |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Try to load the obfuscated method from deobfuscation cache. This method does not take much time and may be called |
no test coverage detected