Package ghidra.util.search.memory
Class MemoryAddressSetCharSequence
- java.lang.Object
- 
- ghidra.util.search.memory.MemoryAddressSetCharSequence
 
- 
- All Implemented Interfaces:
- java.lang.CharSequence
 
 public class MemoryAddressSetCharSequence extends java.lang.Object implements java.lang.CharSequenceThis class implements the CharSequence interface using Memory and an AddressSet. The idea is that each byte in memory at the addresses specified in the AddressSet will form a contiguous sequence of characters.
- 
- 
Constructor SummaryConstructors Constructor Description MemoryAddressSetCharSequence(Memory memory, Address start, Address end)MemoryAddressSetCharSequence(Memory memory, AddressSetView addressSet)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)AddressgetAddressAtIndex(int index)Takes an index and returns the matching Addressintlength()java.lang.CharSequencesubSequence(int start, int end)
 
- 
- 
- 
Constructor Detail- 
MemoryAddressSetCharSequencepublic MemoryAddressSetCharSequence(Memory memory, AddressSetView addressSet) throws MemoryAccessException - Throws:
- MemoryAccessException
 
 - 
MemoryAddressSetCharSequencepublic MemoryAddressSetCharSequence(Memory memory, Address start, Address end) throws MemoryAccessException - Throws:
- MemoryAccessException
 
 
- 
 - 
Method Detail- 
getAddressAtIndexpublic Address getAddressAtIndex(int index) Takes an index and returns the matching Address- Parameters:
- index- index to search on
- Returns:
- Address address matched to index
 
 - 
lengthpublic int length() - Specified by:
- lengthin interface- java.lang.CharSequence
 
 - 
charAtpublic char charAt(int index) - Specified by:
- charAtin interface- java.lang.CharSequence
 
 - 
subSequencepublic java.lang.CharSequence subSequence(int start, int end)- Specified by:
- subSequencein interface- java.lang.CharSequence
 
 
- 
 
-