Package ghidra.program.model.lang
Interface DisassemblerContext
- 
- All Superinterfaces:
- ProcessorContext,- ProcessorContextView
 - All Known Implementing Classes:
- AssemblyDefaultContext,- DisassemblerContextImpl,- EmulateDisassemblerContext,- PseudoDisassemblerContext
 
 public interface DisassemblerContext extends ProcessorContext 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetFutureRegisterValue(Address fromAddr, Address toAddr, RegisterValue value)Combinesvaluewith any previously saved future register value atfromAddr/toAddror any value stored in the program if there is no previously saved future value.voidsetFutureRegisterValue(Address address, RegisterValue value)Combinesvaluewith any previously saved future register value ataddressor any value stored in the program if there is no previously saved future value.- 
Methods inherited from interface ghidra.program.model.lang.ProcessorContextclearRegister, setRegisterValue, setValue
 - 
Methods inherited from interface ghidra.program.model.lang.ProcessorContextViewgetBaseContextRegister, getRegister, getRegisters, getRegisterValue, getValue, hasValue
 
- 
 
- 
- 
- 
Method Detail- 
setFutureRegisterValuevoid setFutureRegisterValue(Address address, RegisterValue value) Combinesvaluewith any previously saved future register value ataddressor any value stored in the program if there is no previously saved future value. Use this method when multiple flows to the same address don't matter or the flowing from address is unknown.
 Whenvaluehas conflicting bits with the previously saved value,valuewill take precedence.
 If the register value is the value for the processor context register and a previously saved value does not exist, the user saved values in the stored context of the program will be used as existing value.- Parameters:
- address- the address to store the register value
- value- the register value to store at the address
 
 - 
setFutureRegisterValuevoid setFutureRegisterValue(Address fromAddr, Address toAddr, RegisterValue value) Combinesvaluewith any previously saved future register value atfromAddr/toAddror any value stored in the program if there is no previously saved future value.
 Whenvaluehas conflicting bits with the previously saved value,valuewill take precedence.
 If the register value is the value for the processor context register and a previously saved value does not exist, the user saved values in the stored context of the program will be used as existing value.- Parameters:
- fromAddr- the address this value if flowing from
- toAddr- the address to store the register value
- value- the register value to store at the address
 
 
- 
 
-