Java Code Examples for com.ibm.wala.ipa.callgraph.CGNode#getIR()

The following examples show how to use com.ibm.wala.ipa.callgraph.CGNode#getIR() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WalaUtils.java    From LibScout with Apache License 2.0 4 votes vote down vote up
public static IR getIR(IMethod method, CallGraph cg) {
	CGNode node = getCGNode(method, cg); 
	return node == null? null : node.getIR();
}
 
Example 2
Source File: WalaUtils.java    From LibScout with Apache License 2.0 4 votes vote down vote up
public static IR getIR(String methodSignature, CallGraph cg) {
	CGNode node = getCGNode(methodSignature, cg); 
	return node == null? null : node.getIR();
}