Package ghidra.program.util
Class InteriorSelection
- java.lang.Object
-
- ghidra.program.util.InteriorSelection
-
public class InteriorSelection extends java.lang.ObjectSpecifies a selection that consists of components inside a structure.
-
-
Constructor Summary
Constructors Constructor Description InteriorSelection(ProgramLocation from, ProgramLocation to, Address start, Address end)Construct a new interior selection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetByteLength()Get the number of bytes contained in the selection.AddressgetEndAddress()Get the end address of this selection.ProgramLocationgetFrom()Get the start location.AddressgetStartAddress()Get the start address of this selection.ProgramLocationgetTo()Get the end location.java.lang.StringtoString()
-
-
-
Constructor Detail
-
InteriorSelection
public InteriorSelection(ProgramLocation from, ProgramLocation to, Address start, Address end)
Construct a new interior selection.- Parameters:
from- start locationto- end locationstart- start addressend- end address
-
-
Method Detail
-
getFrom
public ProgramLocation getFrom()
Get the start location.- Returns:
- ProgramLocation
-
getTo
public ProgramLocation getTo()
Get the end location.- Returns:
- ProgramLocation
-
getStartAddress
public Address getStartAddress()
Get the start address of this selection.- Returns:
- Address
-
getEndAddress
public Address getEndAddress()
Get the end address of this selection.- Returns:
- Address
-
getByteLength
public int getByteLength()
Get the number of bytes contained in the selection.- Returns:
- int
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-