Uses of Class
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.EState
Packages that use EState
Package
Description
This package and its sub-packages contain the types used to access
gendec
, JEB's generic
decompiler.Types used to create and access
gendec
's IR (Intermediate Representation).IR emulator facility.
-
Uses of EState in com.pnfsoftware.jeb.core.units.code.asm.decompiler
Methods in com.pnfsoftware.jeb.core.units.code.asm.decompiler that return EStateModifier and TypeMethodDescriptiondefault EState
IEGlobalContext.buildEmptyState()
Create a machine state for IR emulation.IERoutineContext.buildEmptyState()
Initialize a state to emulate this routine.default EState
IEGlobalContext.buildState()
Create a machine state for IR emulation with all defined registers, symbols, and globals reset to 0.IEGlobalContext.buildState
(boolean initRegisters, boolean initSymbols, boolean initGlobals) Create a machine state for IR emulation.Methods in com.pnfsoftware.jeb.core.units.code.asm.decompiler with parameters of type EStateModifier and TypeMethodDescriptionAbstractNativeDecompilerExtension.augmentSimulationContext
(INativeDecompilerContext decompiler, IERoutineContext ctx, IESimulationResults simulationContext, long offset, IEStatement insn, EState state) The default implementation does nothing and requests continuation.INativeDecompilerExtension.augmentSimulationContext
(INativeDecompilerContext decompiler, IERoutineContext ctx, IESimulationResults simulationContext, long offset, IEStatement insn, EState state) This method is called during the early simulation phase (unoptimized IR emulation) in the decompilation pipeline.void
AbstractConverter.customInitStateRegisters
(EState state, Long optionalNativeProgramCounter) The default implementation does nothing.void
IEConverter.customInitStateRegisters
(EState state, Long optionalNativeProgramCounter) Custom/specific initialization of registers prior to emulation.AbstractConverter.evaluateUntranslatedIR
(IEUntranslatedInstruction insn, IERoutineContext ectx, EState state) The default implementation returns null.IEConverter.evaluateUntranslatedIR
(IEUntranslatedInstruction insn, IERoutineContext ectx, EState state) Evaluate untranslated IR instructions.int
AbstractConverter.getStateProcessorMode
(EState state) int
IEConverter.getStateProcessorMode
(EState state) Retrieve the current processor mode relative to the providedEState
.final void
AbstractConverter.initializeStateRegisters
(EState state, Long optionalNativeProgramCounter) This method initializes and sets all physical registers declared by this converter to 0, except for the ones possibly used as arguments that are kept undefined (seeAbstractConverter.isPossibleParameterRegisterForProcessorCallingConventions(long)
).void
IEConverter.initializeStateRegisters
(EState state, Long optionalNativeProgramCounter) Initialize the registers of an IR execution state to safe defaults. -
Uses of EState in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir
Fields in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir declared as EStateMethods in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir with parameters of type EStateModifier and TypeMethodDescriptionEvaluate the IRE.static IEImm
EUtil.evaluate_preVerified
(IEGeneric e, EState state) long
IEGeneric.evaluateAddress
(EState state) Evaluate the IRE as a 64-bit address.static long
EUtil.evaluateAddress_preVerified
(IEGeneric e, EState state) long
IEGeneric.evaluateUnsignedLong
(EState state) Evaluate the IRE as an unsigned long value.static long
EUtil.evaluateUnsignedLong_preVerified
(IEGeneric e, EState state) int
EState.mergeWith
(EState state, IMergeController mergeController, Set<Integer> removals, Set<Integer> additions) Merge the provided output state with this input state.int
EState.mergeWithOld
(EState state, Collection<Integer> removeMerges, boolean mergeOutputAbsentFromInput, Collection<Integer> preventMerges, Collection<Integer> discrepancies) Merge the provided output state with this input state.default Integer
IEStateHooks.onReadMemory
(EState state, long address, byte[] buffer) Invoked before a memory-read operation.default Integer
IEStateHooks.onReadMemoryPost
(EState state, long address, byte[] buffer, int retcode) Invoked after a memory-read operation.default Boolean
IEStateHooks.onWriteMemory
(EState state, long address, byte[] buffer) Invoked before a memory write.Constructors in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir with parameters of type EStateModifierConstructorDescriptionCopy constructor.Copy constructor.EStateDumper
(EState state) PreRoutineInvocationDetails
(IERoutineContext ectx, EState state) -
Uses of EState in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.emulator
Methods in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.emulator that return EStateConstructors in com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.emulator with parameters of type EState