| com.pnfsoftware.jeb.core.units.code.asm.analyzer.ICallGraphManager |
Interface for the native call graph manager. The relationships in this graph are between a
'caller' instruction and a 'callee' location (see CallGraphTarget). Such relationships
are defined by IInstruction#getRoutineCall(long) and
IInstruction#getIndirectRoutineCall(long).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Set<CallGraphTarget> |
getCallees(long callerInternalAddress)
Get the targets called from a given instruction.
| ||||||||||
| abstract Set<Long> |
getCallers(CallGraphTarget callee)
Get the addresses calling a given target.
| ||||||||||
| abstract List<CallGraphTarget> |
getRoutineCallees(INativeMethodItem rtn)
Convenience method to get all the targets called by a routine.
| ||||||||||
| abstract Set<Long> |
getRoutineCallers(INativeMethodItem rtn)
Convenience method to get all the addresses calling a routine.
| ||||||||||
| abstract void |
recordCall(long callerInternalAddress, INativeMethodItem calleeExternalRtn)
Records a call between an internal address and an external routine.
| ||||||||||
| abstract void |
recordCall(long callerInternalAddress, EntryPointDescription calleeInternalAddress)
Records a call between two internal addresses.
| ||||||||||
| abstract void |
recordUnresolvedCall(long callerInternalAddress, long calleeDereferencedAddress)
Records an unresolved call, i.e.
| ||||||||||
| abstract void |
removeCallRelationship(long address)
Remove all registered call relationships (from and to) a given address.
| ||||||||||
Get the targets called from a given instruction.
Get the addresses calling a given target.
Convenience method to get all the targets called by a routine. A target may appear several times in the result, once for each call from the routine.
Convenience method to get all the addresses calling a routine.
Records a call between an internal address and an external routine.
Records a call between two internal addresses.
Records an unresolved call, i.e. a call for which the final target is unknown, but for which a dereferenced memory address is known.
Remove all registered call relationships (from and to) a given address.