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 EStateIEGlobalContext.buildEmptyState()Create a machine state for IR emulation.IERoutineContext.buildEmptyState()Initialize a state to emulate this routine.default EStateIEGlobalContext.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.voidAbstractConverter.customInitStateRegisters(EState state, Long optionalNativeProgramCounter) The default implementation does nothing.voidIEConverter.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.intAbstractConverter.getStateProcessorMode(EState state) intIEConverter.getStateProcessorMode(EState state) Retrieve the current processor mode relative to the providedEState.final voidAbstractConverter.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)).voidIEConverter.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 IEImmEUtil.evaluate_preVerified(IEGeneric e, EState state) longIEGeneric.evaluateAddress(EState state) Evaluate the IRE as a 64-bit address.static longEUtil.evaluateAddress_preVerified(IEGeneric e, EState state) longIEGeneric.evaluateUnsignedLong(EState state) Evaluate the IRE as an unsigned long value.static longEUtil.evaluateUnsignedLong_preVerified(IEGeneric e, EState state) intEState.mergeWith(EState state, IMergeController mergeController, Set<Integer> removals, Set<Integer> additions) Merge the provided output state with this input state.intEState.mergeWithOld(EState state, Collection<Integer> removeMerges, boolean mergeOutputAbsentFromInput, Collection<Integer> preventMerges, Collection<Integer> discrepancies) Merge the provided output state with this input state.default LongIEStateHooks.onAllocMemory(EState state, long address, int size, int protection) Invoked before a memory-alloc operation.default LongIEStateHooks.onAllocMemoryPost(EState state, long address, int size, int protection) default BooleanIEStateHooks.onFreeMemory(EState state, long address, int size) Invoked before a memory-free operation.default IntegerIEStateHooks.onReadMemory(EState state, long address, byte[] buffer) Invoked before a memory-read operation.default IntegerIEStateHooks.onReadMemoryPost(EState state, long address, byte[] buffer, int retcode) Invoked after a memory-read operation.default BooleanIEStateHooks.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