Class Module
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.codeless.Module
Definition of a library module (i.e. an object file)
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleCreate a known module without address bounds.static ModulecreateKnownModule(ModuleId id, long begin, long end) Create a known module with address bounds.static ModuleGet the singleton unknown module descriptor.booleangetBegin()Get the address where the segment starts.getEnd()Get the address where the segment ends (exclusive).getId()Get the module identifier.getName()Get the module file name.inthashCode()booleanDetermine whether this module is unknown.toString()
-
Method Details
-
getBegin
Description copied from interface:ISegmentGet the address where the segment starts. -
getEnd
Description copied from interface:ISegmentGet the address where the segment ends (exclusive). -
createKnownModule
Create a known module without address bounds.- Parameters:
id- module identifier- Returns:
- module descriptor
-
createKnownModule
Create a known module with address bounds.- Parameters:
id- module identifierbegin- module start addressend- module end address- Returns:
- module descriptor
-
createUnknownModule
Get the singleton unknown module descriptor.- Returns:
- unknown module descriptor
-
isUnknown
public boolean isUnknown()Determine whether this module is unknown.- Returns:
- true if this module is unknown
-
getName
Get the module file name.- Returns:
- module file name
-
getId
Get the module identifier.- Returns:
- module identifier
-
hashCode
public int hashCode() -
equals
-
toString
-