Package ghidra.app.plugin.match
Class SubroutineMatchSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<SubroutineMatch>
-
- ghidra.app.plugin.match.SubroutineMatchSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<SubroutineMatch>
,java.util.Collection<SubroutineMatch>
,java.util.List<SubroutineMatch>
,java.util.RandomAccess
public class SubroutineMatchSet extends java.util.ArrayList<SubroutineMatch>
To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubroutineMatchSet(Program aProgram, CodeBlockModel aModel, Program bProgram, CodeBlockModel bModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength(Address addr)
Assumes the address is in program aint
getLength(Address addr, CodeBlockModel model)
SubroutineMatch[]
getMatches()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Constructor Detail
-
SubroutineMatchSet
public SubroutineMatchSet(Program aProgram, CodeBlockModel aModel, Program bProgram, CodeBlockModel bModel)
- Parameters:
thisProgramName
- Name of this program (i.e. the program from which the matching was initiated.otherProgramName
- Name of the program being matched.
-
-
Method Detail
-
getMatches
public SubroutineMatch[] getMatches()
- Returns:
- The sorted array of matches.
-
getLength
public int getLength(Address addr, CodeBlockModel model)
-
getLength
public int getLength(Address addr)
Assumes the address is in program a
-
-