Package ghidra.program.model.lang
Class PcodeInjectLibrary
- java.lang.Object
-
- ghidra.program.model.lang.PcodeInjectLibrary
-
public class PcodeInjectLibrary extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PcodeInjectLibrary(SleighLanguage l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
adjustUniqueBase(OpTpl[] opTemplates)
protected InjectPayloadSleigh
allocateInject(java.lang.String sourceName, java.lang.String name, int tp)
InjectContext
buildInjectContext()
java.lang.String[]
getCallFixupNames()
ConstantPool
getConstantPool(Program program)
InjectPayload
getPayload(int type, java.lang.String name, Program program, java.lang.String context)
protected long
getUniqueBase()
protected void
registerInject(InjectPayload payload)
InjectPayload
restoreXmlInject(java.lang.String source, java.lang.String name, int tp, XmlPullParser parser)
-
-
-
Constructor Detail
-
PcodeInjectLibrary
public PcodeInjectLibrary(SleighLanguage l)
-
-
Method Detail
-
getPayload
public InjectPayload getPayload(int type, java.lang.String name, Program program, java.lang.String context)
-
adjustUniqueBase
protected void adjustUniqueBase(OpTpl[] opTemplates)
-
getCallFixupNames
public java.lang.String[] getCallFixupNames()
-
buildInjectContext
public InjectContext buildInjectContext()
-
registerInject
protected void registerInject(InjectPayload payload)
-
allocateInject
protected InjectPayloadSleigh allocateInject(java.lang.String sourceName, java.lang.String name, int tp)
-
restoreXmlInject
public InjectPayload restoreXmlInject(java.lang.String source, java.lang.String name, int tp, XmlPullParser parser)
-
getConstantPool
public ConstantPool getConstantPool(Program program) throws java.io.IOException
- Throws:
java.io.IOException
-
getUniqueBase
protected long getUniqueBase()
-
-