Class DotnetTypeFactory


  • public class DotnetTypeFactory
    extends Object
    Factory class for generating SootTypes of .NET types
    • Constructor Detail

      • DotnetTypeFactory

        public DotnetTypeFactory()
    • Method Detail

      • toSootType

        public static Type toSootType​(String type)
      • toSootType

        public static Type toSootType​(Type type)
        Convert RefType System.Int32 to IntType, etc. Could happen that in method body sth such as System.Int32 occur; convert this to inttype, and so on
        Parameters:
        type -
        Returns:
      • initType

        public static Value initType​(Local variable)
        Return a initial value for the given type of the variable
        Parameters:
        variable -
        Returns:
      • initType

        public static Value initType​(Type t)
      • listOfCilPrimitives

        public static List<String> listOfCilPrimitives()