Package ghidra.app.services
Record Class DebuggerEmulationService.RecordEmulationResult
java.lang.Object
java.lang.Record
ghidra.app.services.DebuggerEmulationService.RecordEmulationResult
- Record Components:
schedule- the schedule that was emulatedsnapshot- the snapshot where the final state was written downerror- if an error occurred, the error, or null
- All Implemented Interfaces:
DebuggerEmulationService.EmulationResult,Scheduler.RunResult
- Enclosing interface:
DebuggerEmulationService
public static record DebuggerEmulationService.RecordEmulationResult(TraceSchedule schedule, long snapshot, Throwable error)
extends Record
implements DebuggerEmulationService.EmulationResult
The result of letting the emulator "run free"
-
Constructor Summary
ConstructorsConstructorDescriptionRecordEmulationResult(TraceSchedule schedule, long snapshot, Throwable error) Creates an instance of aRecordEmulationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.schedule()Returns the value of theschedulerecord component.longsnapshot()Returns the value of thesnapshotrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
schedule
Returns the value of theschedulerecord component.- Specified by:
schedulein interfaceScheduler.RunResult- Returns:
- the value of the
schedulerecord component
-
snapshot
public long snapshot()Returns the value of thesnapshotrecord component.- Specified by:
snapshotin interfaceDebuggerEmulationService.EmulationResult- Returns:
- the value of the
snapshotrecord component
-
error
Returns the value of theerrorrecord component.- Specified by:
errorin interfaceScheduler.RunResult- Returns:
- the value of the
errorrecord component
-