public final class ModuleUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ModuleUtil.ModuleClassNameWrapper
Wrapper class for backward compatibility with existing soot code In existing soot code classes are resolved based on
their name without specifying a module to avoid changing all occurrences of String constants in Soot this classes deals
with these String constants
|
| Constructor and Description |
|---|
ModuleUtil(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
String |
findModuleThatExports(String className,
String toModuleName)
Finds the module that exports the given class to the given module
|
ModuleUtil.ModuleClassNameWrapper |
makeWrapper(String className) |
static boolean |
module_mode()
Check if Soot is run with module mode enables
|
static ModuleUtil |
v() |
public ModuleUtil(Singletons.Global g)
public static ModuleUtil v()
public final ModuleUtil.ModuleClassNameWrapper makeWrapper(String className)
public static boolean module_mode()
public final String findModuleThatExports(String className, String toModuleName)
className - the requested classtoModuleName - the module from which the request is madeCopyright © 2020 Soot OSS. All rights reserved.