|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.bytecode.Bytecode com.joanju.cg.bytecode.Endpoint com.joanju.cg.bytecode.AbstractCall
public abstract class AbstractCall
Field Summary | |
---|---|
protected int |
bitfield1
Stored. |
protected java.util.HashSet<ProcedureInstr> |
externalMatching
Note stored. |
protected java.util.HashSet<ProcedureInstr> |
externalUnmatched
Note stored. |
protected java.util.HashSet<java.lang.Integer> |
localTargets
Stored. |
protected int |
methodSigID
Stored. |
protected int |
targetType
Stored: int encoding for PROCEDURE/METHOD/FUNCTION. |
protected int |
whereUsedAddr
Stored, address where this expression term is used. |
Fields inherited from class com.joanju.cg.bytecode.Endpoint |
---|
longSignature |
Fields inherited from class com.joanju.cg.bytecode.Bytecode |
---|
address, cuid, instrSet, nodeNum, xrefs |
Constructor Summary | |
---|---|
AbstractCall()
|
|
AbstractCall(int cuid,
int address)
|
Method Summary | |
---|---|
void |
addWhereUsed(int addr)
Called by the code generator if this expression term is used by another instruction. |
void |
beforeWrite(boolean isNewBuild)
Create checkval records for this call instruction. |
void |
calcValueSets()
This is a wrapper for calcValueSets2. |
protected abstract void |
calcValueSets2()
|
void |
enableUserIgnoreMismatch()
A user script may enable the ignore mismatches flag. |
void |
enableUserIgnoreUnresolved()
A user script may enable the ignore unresolved flag. |
java.util.ArrayList<ProcedureInstr> |
getAllTargetProcedures()
Get a list of all ProcedureInstr call targets, including those with mismatched method signatures. |
abstract int |
getColumn()
|
abstract int |
getFileID()
|
abstract int |
getLine()
|
abstract java.util.HashSet<java.lang.Integer> |
getLocalTargets()
|
java.lang.String |
getMethodSig()
|
int |
getMethodSigID()
|
int |
getTargetType()
|
java.util.HashSet<java.lang.Integer> |
getValues()
Get the return values for a function/method, or an empty set for a PROCEDURE. |
boolean |
hasLocalTarget(int procAddress)
|
boolean |
isUserIgnoreMismatch()
Has a user script enabled the ignore mismatches flag? Only read within Analyst for reporting purposes. |
boolean |
isUserIgnoreUnresolved()
Has a user script enabled the ignore unresolved flag? Only read within Analyst for reporting purposes. |
void |
setTargetType(int targetType)
|
Methods inherited from class com.joanju.cg.bytecode.Endpoint |
---|
getLongSignature, setLongSignature |
Methods inherited from class com.joanju.cg.bytecode.Bytecode |
---|
addSource, calcValuesAgain, compareTo, equals, fetchBytesFromDB, fetchInCu, generateDataForDB, getAddress, getCuID, getNodeNum, getOpcode, getSources, getValuesCalcLocal, getWhereUsed, getXrefs, hashCode, initData, isDataModified, isFromDB, setAddress, setCuID, setDataBytesFromDB, setDataModified, setFromDB, setInstructionSet, setNodeNum, setValuesFromByteStream, shouldLoadData, sourcesForXrefTarget, storeIfModified, toString, toStringFromComments, toStringFromData, toStringFromName, toStringFromSet, writeValuesToByteStream |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int bitfield1
protected int methodSigID
protected int targetType
protected int whereUsedAddr
protected transient java.util.HashSet<ProcedureInstr> externalMatching
protected transient java.util.HashSet<ProcedureInstr> externalUnmatched
protected java.util.HashSet<java.lang.Integer> localTargets
Constructor Detail |
---|
public AbstractCall()
public AbstractCall(int cuid, int address)
Method Detail |
---|
public final void addWhereUsed(int addr) throws java.sql.SQLException, java.io.IOException
addWhereUsed
in class Bytecode
java.sql.SQLException
java.io.IOException
public void beforeWrite(boolean isNewBuild) throws java.sql.SQLException, java.io.IOException
beforeWrite
in class Bytecode
java.sql.SQLException
java.io.IOException
public void calcValueSets() throws java.sql.SQLException, java.io.IOException
calcValueSets
in class Bytecode
java.sql.SQLException
java.io.IOException
protected abstract void calcValueSets2() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public void enableUserIgnoreMismatch() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public void enableUserIgnoreUnresolved() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public java.util.ArrayList<ProcedureInstr> getAllTargetProcedures() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public abstract int getFileID() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public abstract int getLine() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public abstract int getColumn() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public abstract java.util.HashSet<java.lang.Integer> getLocalTargets() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public java.lang.String getMethodSig() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public int getMethodSigID() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public int getTargetType() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public final java.util.HashSet<java.lang.Integer> getValues() throws java.sql.SQLException, java.io.IOException
getValues
in class Bytecode
java.sql.SQLException
java.io.IOException
public boolean hasLocalTarget(int procAddress) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public boolean isUserIgnoreMismatch() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public boolean isUserIgnoreUnresolved() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public void setTargetType(int targetType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |