public interface

IVariableInformationProvider

com.pnfsoftware.jeb.core.units.code.android.controlflow.IVariableInformationProvider
Known Indirect Subclasses

Class Overview

Provide additional variable information to a CFG and associated classes. Examples include: the variable name, or the underlying register if the variable is a copy.

Summary

Public Methods
abstract List<Integer> getCopies(int regid)
abstract String getName(int id)
Get a variable name by id.
abstract int getOriginal(int id)
Retrieve an original variable id, given an id (potentially a copy-variable id).
abstract Set<Integer> getSame(int id)
Get the copies of a variable having the provided id.

Public Methods

public abstract List<Integer> getCopies (int regid)

Parameters
regid a register id
Returns
  • the list of copies

public abstract String getName (int id)

Get a variable name by id.

public abstract int getOriginal (int id)

Retrieve an original variable id, given an id (potentially a copy-variable id).

Parameters
id any id
Returns
  • a register id

public abstract Set<Integer> getSame (int id)

Get the copies of a variable having the provided id.

Parameters
id a variable id (original or copy)
Returns
  • a set of all variables that represent the "same" provided variable