Package ghidra.pcode.emu.x86
Class X86PcodeStateInitializer
java.lang.Object
ghidra.pcode.emu.x86.X86PcodeStateInitializer
- All Implemented Interfaces:
PcodeStateInitializer,ExtensionPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidinitializeThread(PcodeThread<T> thread) The thread's register state has just been initialized, and additional initialization is needed for Sleigh executionbooleanisApplicable(Language language) Check if this initializer applies to the given languageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.pcode.emu.PcodeStateInitializer
initializeMachine
-
Constructor Details
-
X86PcodeStateInitializer
public X86PcodeStateInitializer()
-
-
Method Details
-
isApplicable
Description copied from interface:PcodeStateInitializerCheck if this initializer applies to the given language- Specified by:
isApplicablein interfacePcodeStateInitializer- Parameters:
language- the language to check- Returns:
- true if it applies, false otherwise
-
initializeThread
Description copied from interface:PcodeStateInitializerThe thread's register state has just been initialized, and additional initialization is needed for Sleigh executionInitialization generally consists of setting "virtual" registers using data from the real ones. Virtual registers are those specified in the Sleigh, but which don't actually exist on the target processor. Often, they exist to simplify static analysis, but unfortunately cause a minor headache for dynamic execution.
- Specified by:
initializeThreadin interfacePcodeStateInitializer- Type Parameters:
T- the type of values in the machine state- Parameters:
thread- the newly-initialized thread
-