public static class InfoflowConfiguration.AccessPathConfiguration extends Object
| Constructor and Description |
|---|
AccessPathConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAccessPathLength()
Gets the maximum depth of the access paths.
|
boolean |
getUseRecursiveAccessPaths()
Gets whether recursive access paths shall be reduced, e.g.
|
boolean |
getUseSameFieldReduction()
Gets whether access paths that repeat the same field shall be reduced, i.e.,
whether a.next.obj shall be propagated instead of a.next.next.obj.
|
boolean |
getUseThisChainReduction()
Gets whether access paths pointing to outer objects using this$n shall be
reduced, e.g.
|
int |
hashCode() |
void |
merge(InfoflowConfiguration.AccessPathConfiguration config)
Merges the given configuration options into this configuration object
|
void |
setAccessPathLength(int accessPathLength)
Sets the maximum depth of the access paths.
|
void |
setUseRecursiveAccessPaths(boolean useRecursiveAccessPaths)
Sets whether recursive access paths shall be reduced, e.g.
|
void |
setUseSameFieldReduction(boolean useSameFieldReduction)
Sets whether access paths that repeat the same field shall be reduced, i.e.,
whether a.next.obj shall be propagated instead of a.next.next.obj.
|
void |
setUseThisChainReduction(boolean useThisChainReduction)
Sets whether access paths pointing to outer objects using this$n shall be
reduced, e.g.
|
public void merge(InfoflowConfiguration.AccessPathConfiguration config)
config - The configuration data to merge inpublic int getAccessPathLength()
accessPathLength - the maximum value of an access path.public void setAccessPathLength(int accessPathLength)
accessPathLength - the maximum value of an access path. If it gets
longer than this value, it is truncated and all
following fields are assumed as tainted (which is
imprecise but gains performance) Default value is 5.public boolean getUseRecursiveAccessPaths()
public void setUseRecursiveAccessPaths(boolean useRecursiveAccessPaths)
useRecursiveAccessPaths - True if recursive access paths shall be
reduced, otherwise falsepublic boolean getUseThisChainReduction()
public void setUseThisChainReduction(boolean useThisChainReduction)
useThisChainReduction - True if access paths including outer objects
shall be reduced, otherwise falsepublic boolean getUseSameFieldReduction()
public void setUseSameFieldReduction(boolean useSameFieldReduction)
useSameFieldReduction - True if access paths with repeating fields shall
be reduced to the last occurrence of that fieldCopyright © 2021 Fraunhofer SIT. All rights reserved.