Class AXmlComplexValue

java.lang.Object
soot.jimple.infoflow.android.axml.AXmlComplexValue
All Implemented Interfaces:
pxb.android.Item

public class AXmlComplexValue extends Object implements pxb.android.Item
A complex value from an Android binary XML file
Author:
Steven Arzt
  • Constructor Details

  • Method Details

    • getUnit

      public AXmlComplexValue.Unit getUnit()
    • getMantissa

      public int getMantissa()
    • getRadix

      public int getRadix()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • writeout

      public void writeout(ByteBuffer out)
      Specified by:
      writeout in interface pxb.android.Item
    • getInt

      public int getInt()
    • parseComplexValue

      public static AXmlComplexValue parseComplexValue(int complexValue)
      Parses the given Android complex value
      Parameters:
      complexValue - The numeric complex value to parse
      Returns:
      A data object that contains the information from the complex value
    • parseComplexUnit

      public static AXmlComplexValue.Unit parseComplexUnit(int unitVal)
      Parses the given numeric complex unit into one of the well-known enum constants
      Parameters:
      unitVal - The numeric complex unit
      Returns:
      One of the well-known constants for complex units