Package ghidra.program.model.lang
Class ContextSetting
java.lang.Object
ghidra.program.model.lang.ContextSetting
Class for context configuration information as
part of the compiler configuration (CompilerSpec)
-
Constructor Summary
ConstructorDescriptionContextSetting
(Register register, BigInteger value, Address startAddr, Address endAddr) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
encodeContextData
(Encoder encoder, List<ContextSetting> ctxList) getValue()
boolean
Determine if this ContextSetting is equivalent to another specified instancestatic void
parseContextData
(List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec) static void
parseContextSet
(List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec)
-
Constructor Details
-
ContextSetting
-
-
Method Details
-
getRegister
-
getValue
-
getStartAddress
-
getEndAddress
-
encode
- Throws:
IOException
-
isEquivalent
Determine if this ContextSetting is equivalent to another specified instance- Parameters:
obj
- is the other instance- Returns:
- true if they are equivalent
-
parseContextSet
public static void parseContextSet(List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec) throws XmlParseException - Throws:
XmlParseException
-
parseContextData
public static void parseContextData(List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec) throws XmlParseException - Throws:
XmlParseException
-
encodeContextData
public static void encodeContextData(Encoder encoder, List<ContextSetting> ctxList) throws IOException - Throws:
IOException
-