public class

DEmuExternalPolicy

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.android.ir.DEmuExternalPolicy

Class Overview

The emulation policy for API methods relying or depending on the execution environment, the date and time, and random number generators.

Summary

Constants
int RESTRICT_ENV
int RESTRICT_RANDOM
int RESTRICT_TIME
Public Constructors
DEmuExternalPolicy()
Create a safe execution policy object (all restrictions are enabled).
DEmuExternalPolicy(boolean restrictRandom, boolean restrictTime, boolean restrictEnv)
Public Methods
void addBlacklisted(String sig)
void addRestricted(String sig)
void addWhitelisted(String sig)
boolean canAccess(String fsig)
boolean canExecute(String msig)
boolean isDefaultAllow()
void setDefaultAllow(boolean defaultAllow)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int RESTRICT_ENV

Constant Value: 4 (0x00000004)

public static final int RESTRICT_RANDOM

Constant Value: 1 (0x00000001)

public static final int RESTRICT_TIME

Constant Value: 2 (0x00000002)

Public Constructors

public DEmuExternalPolicy ()

Create a safe execution policy object (all restrictions are enabled).

public DEmuExternalPolicy (boolean restrictRandom, boolean restrictTime, boolean restrictEnv)

Public Methods

public void addBlacklisted (String sig)

public void addRestricted (String sig)

public void addWhitelisted (String sig)

public boolean canAccess (String fsig)

public boolean canExecute (String msig)

public boolean isDefaultAllow ()

public void setDefaultAllow (boolean defaultAllow)