Interface ProcessorContext
- All Superinterfaces:
ProcessorContextView
- All Known Subinterfaces:
DisassemblerContext, DisassemblerContextAdapter, Instruction, InstructionAdapterFromPrototype, TraceInstruction
- All Known Implementing Classes:
AssemblyDefaultContext, DBTraceInstruction, DisassemblerContextImpl, EmulateDisassemblerContext, InstructionDB, InstructionStub, JitPassage.DecodeErrorInstruction, ProcessorContextImpl, ProgramProcessorContext, PseudoDisassemblerContext, PseudoInstruction, ReadOnlyProcessorContext, ReDisassembler.ReDisassemblerContext, VarnodeContext
Defines the interface for an object containing the state
of all processor registers relative to a specific address.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearRegister(Register register) Clears the register within this context.voidsetRegisterValue(RegisterValue value) Sets the specified register value within this context.voidsetValue(Register register, BigInteger value) Sets the value for a Register.Methods inherited from interface ProcessorContextView
getBaseContextRegister, getRegister, getRegisters, getRegisterValue, getValue, hasValue
-
Method Details
-
setValue
Sets the value for a Register.- Parameters:
register- the register to have its value setvalue- the value for the register (null is not permitted).- Throws:
ContextChangeException- an illegal attempt to change context was made
-
setRegisterValue
Sets the specified register value within this context.- Parameters:
value- register value- Throws:
ContextChangeException- an illegal attempt to change context was made
-
clearRegister
Clears the register within this context.- Parameters:
register- register to be cleared.- Throws:
ContextChangeException- an illegal attempt to change context was made
-