Package ghidra.program.util
Class ProgramContextImpl
- java.lang.Object
-
- ghidra.program.util.AbstractProgramContext
-
- ghidra.program.util.AbstractStoredProgramContext
-
- ghidra.program.util.ProgramContextImpl
-
- All Implemented Interfaces:
DefaultProgramContext
,ProgramContext
public class ProgramContextImpl extends AbstractStoredProgramContext
Implementation for a processor context over the address space
-
-
Field Summary
-
Fields inherited from class ghidra.program.util.AbstractStoredProgramContext
defaultRegisterValueMap, registerValueMap
-
Fields inherited from class ghidra.program.util.AbstractProgramContext
baseContextRegister, defaultDisassemblyContext, registerNameMap, registers
-
-
Constructor Summary
Constructors Constructor Description ProgramContextImpl(Register[] regs)
Construct a new program context with the indicated registers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RangeMapAdapter
createNewRangeMapAdapter(Register baseRegister)
-
Methods inherited from class ghidra.program.util.AbstractStoredProgramContext
createRegisterValueStore, deleteAddressRange, flushProcessorContextWriteCache, getDefaultRegisterValueAddressRanges, getDefaultRegisterValueAddressRanges, getDefaultValue, getDisassemblyContext, getNonDefaultValue, getRegistersWithValues, getRegisterValue, getRegisterValueAddressRanges, getRegisterValueAddressRanges, getRegisterValueRangeContaining, getValue, hasValueOverRange, invalidateProcessorContextWriteCache, invalidateReadCache, invalidateWriteCache, moveAddressRange, remove, setDefaultValue, setRegisterValue, setValue
-
Methods inherited from class ghidra.program.util.AbstractProgramContext
getBaseContextRegister, getDefaultDisassemblyContext, getFlowValue, getNonFlowValue, getProcessorStateRegisters, getRegister, getRegisterNames, getRegisters, hasNonFlowingContext, initNameMap, setDefaultDisassemblyContext
-
-
-
-
Constructor Detail
-
ProgramContextImpl
public ProgramContextImpl(Register[] regs)
Construct a new program context with the indicated registers.- Parameters:
regs
- array of handles to registers
-
-
Method Detail
-
createNewRangeMapAdapter
protected RangeMapAdapter createNewRangeMapAdapter(Register baseRegister)
- Specified by:
createNewRangeMapAdapter
in classAbstractStoredProgramContext
-
-