public class ThirdPartyLibrary
extends java.lang.Object
Constructor and Description |
---|
ThirdPartyLibrary() |
Modifier and Type | Method and Description |
---|---|
static void |
add(java.lang.String fName,
int[] modIndices)
Adds a function name which has side effects and an array of indices on which the side effect parameters are
|
static void |
addAll(java.util.Map<java.lang.String,int[]> modIdxMap)
Adds function names with parameter indices for side effect parameters
|
static boolean |
contains(FunctionCall fcall)
Used by def-use/use-def chain computation
|
static int[] |
getSideEffectParamIndices(FunctionCall fcall)
Used by def-use/use-def chain computation
|
static boolean |
hasSideEffectOnParameter(FunctionCall fcall)
Used by def-use/use-def chain computation
|
public static void addAll(java.util.Map<java.lang.String,int[]> modIdxMap)
modIdxMap
- a map for public static void add(java.lang.String fName, int[] modIndices)
fName
- the function namemodIndices
- the array of indices for side effect parameters, which starts from '0'public static boolean contains(FunctionCall fcall)
fcall
- public static boolean hasSideEffectOnParameter(FunctionCall fcall)
fcall
- public static int[] getSideEffectParamIndices(FunctionCall fcall)
fcall
-