public class MainConfig extends Object
Notice our convention of passing Z3PARAM_ parameters to Z3.
TODO: Can we merge this with the instrumentation's Config class?| Modifier and Type | Field and Description |
|---|---|
String |
CLASS_PATH |
String |
CLINIT |
LinkedStringList |
DO_INSTRUMENT_PREFIXES |
LinkedStringList |
DO_NOT_INSTRUMENT_PREFIXES |
String |
INIT |
int |
MAX_LOCALS_DEFAULT |
| Modifier | Constructor and Description |
|---|---|
protected |
MainConfig()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MainConfig |
get()
Singleton
|
boolean |
isIgnored(String type)
TODO: Get a more precise answer by calling getAllLoadedClasses() on the
java.lang.instrument.Instrumentation instance passed to our JvmAgent and
diffing it with the list of classes we transformed.
|
static MainConfig |
setInstance()
If no config set yet, then set a new MainConfig.
|
static MainConfig |
setInstance(MainConfig conf)
If no config set yet, then set conf.
|
public LinkedStringList DO_NOT_INSTRUMENT_PREFIXES
public LinkedStringList DO_INSTRUMENT_PREFIXES
public int MAX_LOCALS_DEFAULT
public final String CLINIT
public final String INIT
public String CLASS_PATH
protected MainConfig()
Should only be called from subclass constructor (or
setInstance()).
public static MainConfig get()
public static MainConfig setInstance()
public static MainConfig setInstance(MainConfig conf)
public boolean isIgnored(String type)
typeName - some/package/SomeTypeCopyright © 2010–2017 EvoSuite. All rights reserved.