
soot.jimple.spark.geom.geomPA.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soot Show documentation
Show all versions of soot Show documentation
A Java Optimization Framework
package soot.jimple.spark.geom.geomPA;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2011 Richard Xiao
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 2.1 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import soot.RefType;
/**
* Named constants used in the geomPA.
*
* @author xiao
*
*/
public class Constants {
// Available encodings
public static final String geomE = "Geom";
public static final String heapinsE = "HeapIns";
public static final String ptinsE = "PtIns";
// Evaluation level
public static final int eval_nothing = 0;
public static final int eval_basicInfo = 1;
public static final int eval_simpleClients = 2;
// The constants for the constraints type identification
public static final int NEW_CONS = 0;
public static final int ASSIGN_CONS = 1;
public static final int LOAD_CONS = 2;
public static final int STORE_CONS = 3;
public static final int FIELD_ADDRESS = 4;
// The constants for the call graph
public static final int SUPER_MAIN = 0;
public static final int UNKNOWN_FUNCTION = -1;
// The number of contexts that is natively supported by Java (2^63)
// Using big integer would not bring too many benefits.
public static final long MAX_CONTEXTS = Long.MAX_VALUE - 1;
// Some commonly referred to information
public static final RefType exeception_type = RefType.v("java.lang.Throwable");
// The seed pointers for running constraints distillation
public static final int seedPts_allUser = 0x0000000f;
public static final int seedPts_all = 0x7fffffff;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy