public class WalaCallgraphConstructor extends Object implements ICallgraphConstructor
| Modifier and Type | Field and Description |
|---|---|
static String |
FRAMEWORK
Constant
FRAMEWORK="wala" |
| Constructor and Description |
|---|
WalaCallgraphConstructor() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildCallgraph(boolean _policy)
Parse command line arguments, and then build callgraph based on these properties
|
com.sap.psr.vulas.shared.json.model.Application |
getAppContext()
Getter for the field
appContext. |
com.ibm.wala.util.graph.Graph<com.sap.psr.vulas.shared.json.model.ConstructId> |
getCallgraph()
Normalizing a wala callgraph to a general graph represented by ConstructId
|
long |
getConstructionTime()
Returns the time required for building the call graph (in nanoseconds), or -1 if the construction did not finish.
|
org.apache.commons.configuration.Configuration |
getConstructorConfiguration()
Returns a human-readable description of the constructor's specific configuration.
|
Set<com.sap.psr.vulas.shared.json.model.ConstructId> |
getEntrypoints()
Getter for the field
entrypoints. |
String |
getFramework()
getFramework.
|
void |
setAppClasspath(String _cp) |
void |
setAppContext(com.sap.psr.vulas.shared.json.model.Application _ctx) |
void |
setDepClasspath(String _dependenciesClasspath) |
void |
setEntrypoints(Set<com.sap.psr.vulas.shared.json.model.ConstructId> _constructs)
Filter and find all entrypoints in scope
|
void |
setExcludePackages(String _packages) |
void |
setVulasConfiguration(com.sap.psr.vulas.shared.util.VulasConfiguration _cfg) |
public static final String FRAMEWORK
FRAMEWORK="wala"public String getFramework()
getFramework.
getFramework in interface ICallgraphConstructorString object.public com.sap.psr.vulas.shared.json.model.Application getAppContext()
Getter for the field appContext.
Application object.public void setVulasConfiguration(com.sap.psr.vulas.shared.util.VulasConfiguration _cfg)
setVulasConfiguration in interface ICallgraphConstructorpublic void setAppContext(com.sap.psr.vulas.shared.json.model.Application _ctx)
setAppContext in interface ICallgraphConstructorpublic void setAppClasspath(String _cp)
setAppClasspath in interface ICallgraphConstructorpublic void setDepClasspath(String _dependenciesClasspath)
setDepClasspath in interface ICallgraphConstructorpublic void setEntrypoints(Set<com.sap.psr.vulas.shared.json.model.ConstructId> _constructs) throws CallgraphConstructException
setEntrypoints in interface ICallgraphConstructorCallgraphConstructExceptionpublic long getConstructionTime()
getConstructionTime in interface ICallgraphConstructorpublic org.apache.commons.configuration.Configuration getConstructorConfiguration()
getConstructorConfiguration in interface ICallgraphConstructorConfiguration object.public void buildCallgraph(boolean _policy)
throws CallgraphConstructException
buildCallgraph in interface ICallgraphConstructorCallgraphConstructExceptionpublic com.ibm.wala.util.graph.Graph<com.sap.psr.vulas.shared.json.model.ConstructId> getCallgraph()
getCallgraph in interface ICallgraphConstructorGraph object.public Set<com.sap.psr.vulas.shared.json.model.ConstructId> getEntrypoints()
Getter for the field entrypoints.
getEntrypoints in interface ICallgraphConstructorSet object.public void setExcludePackages(String _packages)
setExcludePackages in interface ICallgraphConstructorCopyright © 2018–2020. All rights reserved.