Package ghidra.test.processors.support
Class PCodeTestGroup
- java.lang.Object
-
- ghidra.test.processors.support.PCodeTestGroup
-
- All Implemented Interfaces:
java.lang.Comparable<PCodeTestGroup>
public class PCodeTestGroup extends java.lang.Object implements java.lang.Comparable<PCodeTestGroup>
PCodeTestGroup
identifies a test group function and its corresponding PCodeTestGroupControlBlock.
-
-
Field Summary
Fields Modifier and Type Field Description PCodeTestGroupControlBlock
controlBlock
static java.lang.String
FUNCTION_NAME_PREFIX
All test-group function names defined within the test binary must start with "main_"Address
functionEntryPtr
PCodeTestControlBlock
mainTestControlBlock
java.lang.String
testGroupName
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PCodeTestGroup o)
boolean
equals(java.lang.Object obj)
java.util.List<java.lang.String>
getTestFailures()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
FUNCTION_NAME_PREFIX
public static final java.lang.String FUNCTION_NAME_PREFIX
All test-group function names defined within the test binary must start with "main_"- See Also:
- Constant Field Values
-
testGroupName
public final java.lang.String testGroupName
-
functionEntryPtr
public final Address functionEntryPtr
-
mainTestControlBlock
public final PCodeTestControlBlock mainTestControlBlock
-
controlBlock
public final PCodeTestGroupControlBlock controlBlock
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getTestFailures
public java.util.List<java.lang.String> getTestFailures()
- Returns:
- list of recorded emulation test failures
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(PCodeTestGroup o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PCodeTestGroup>
-
-