Package ghidra.program.model.lang
Class ContextSetting
- java.lang.Object
-
- ghidra.program.model.lang.ContextSetting
-
public class ContextSetting extends java.lang.Object
Class for context configuration information as part of the compiler configuration (CompilerSpec)
-
-
Constructor Summary
Constructors Constructor Description ContextSetting(Register register, java.math.BigInteger value, Address startAddr, Address endAddr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
buildContextDataXml(java.lang.StringBuilder buffer, java.util.List<ContextSetting> ctxList)
boolean
equals(java.lang.Object obj)
Address
getEndAddress()
Register
getRegister()
Address
getStartAddress()
java.math.BigInteger
getValue()
int
hashCode()
static void
parseContextData(java.util.List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec)
static void
parseContextSet(java.util.List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec)
void
saveXml(java.lang.StringBuilder buffer)
-
-
-
Method Detail
-
getRegister
public Register getRegister()
-
getValue
public java.math.BigInteger getValue()
-
getStartAddress
public Address getStartAddress()
-
getEndAddress
public Address getEndAddress()
-
saveXml
public void saveXml(java.lang.StringBuilder buffer)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
parseContextSet
public static void parseContextSet(java.util.List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec) throws XmlParseException
- Throws:
XmlParseException
-
parseContextData
public static void parseContextData(java.util.List<ContextSetting> resList, XmlPullParser parser, CompilerSpec cspec) throws XmlParseException
- Throws:
XmlParseException
-
buildContextDataXml
public static void buildContextDataXml(java.lang.StringBuilder buffer, java.util.List<ContextSetting> ctxList)
-
-