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
Public Constructors |
|
DEmuExternalPolicy()
Create a safe execution policy object (all restrictions are enabled).
|
|
DEmuExternalPolicy(boolean restrictRandom, boolean restrictTime, boolean restrictEnv)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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)