Interface INativeMethodDataItem
- All Superinterfaces:
ICodeItem,INativeItem,INativeItemListenable,INativeMemoryItem
Concrete method (routine) item, providing the implementation of one or more routine references.
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_ANONYMOUS, FLAG_ARTIFICIAL, FLAG_BRIDGE, FLAG_CONSTRUCTOR, FLAG_DECLARED_SYNCHRONIZED, FLAG_DESTRUCTOR, FLAG_ENUM, FLAG_FINAL, FLAG_INNER, FLAG_INTERFACE, FLAG_INTERNAL, FLAG_NATIVE, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STRICT, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_VARARGS, FLAG_VIRTUAL, FLAG_VOLATILE -
Method Summary
Modifier and TypeMethodDescriptionRetrieve addresses known to be bad during routine analysis.CFG<? extends IInstruction> getCFG()Retrieve the routine control-flow graph.List<? extends INativeMethodItem> Retrieve method references to this routine definition.Retrieve the primary method reference to this routine definition.Retrieve the stack-pointer delta on return.Retrieve the stack frame manager.Retrieve the method stack memory model.Retrieve the target of this routine if it is a trampoline.booleanDetermine whether this routine may contain switch constructs.voidsetSPDeltaOnReturn(Integer spdelta) Set the stack-pointer delta on return.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternalMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem
addFlags, dispose, getAttribute, getAttributes, hasAttribute, hasFlag, hasTrueAttribute, isAutoGenerated, isDisposed, isRenamed, removeAttribute, removeFlags, setAttribute, setAutoGenerated, setFlags, setNameMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItemListenable
addListener, removeListenerMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeMemoryItem
getLabel, getMemoryAddress
-
Method Details
-
getRoutine
INativeMethodItem getRoutine()Retrieve the primary method reference to this routine definition.- Returns:
- primary routine reference
-
getMethodReferences
List<? extends INativeMethodItem> getMethodReferences()Retrieve method references to this routine definition.- Returns:
- method references
-
getCFG
CFG<? extends IInstruction> getCFG()Retrieve the routine control-flow graph.- Returns:
- CFG
-
getStackframeModel
IMethodStackMemoryModel getStackframeModel()Retrieve the method stack memory model.- Returns:
- stack memory model
-
getStackframeManager
IStackframeManager getStackframeManager()Retrieve the stack frame manager.- Returns:
- stack frame manager
-
getTrampolineTarget
INativeMethodItem getTrampolineTarget()Retrieve the target of this routine if it is a trampoline.- Returns:
- trampoline target, or null
-
getSPDeltaOnReturn
Integer getSPDeltaOnReturn()Retrieve the stack-pointer delta on return.- Returns:
- stack-pointer delta, or null
-
setSPDeltaOnReturn
Set the stack-pointer delta on return.- Parameters:
spdelta- stack-pointer delta, or null
-
isPotentialSwitches
boolean isPotentialSwitches()Determine whether this routine may contain switch constructs.- Returns:
- true if potential switches were detected
-
getBadAddresses
Retrieve addresses known to be bad during routine analysis.- Returns:
- bad addresses
-