Class DEmuExternalPolicy

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

public class DEmuExternalPolicy extends Object
The emulation policy for API methods relying or depending on the execution environment, the date and time, and random number generators.
  • Field Details

  • Constructor Details

    • DEmuExternalPolicy

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

      public DEmuExternalPolicy(boolean restrictRandom, boolean restrictTime, boolean restrictEnv)
  • Method Details

    • setDefaultAllow

      public void setDefaultAllow(boolean defaultAllow)
    • isDefaultAllow

      public boolean isDefaultAllow()
    • addRestricted

      public void addRestricted(String sig)
    • addWhitelisted

      public void addWhitelisted(String sig)
    • addBlacklisted

      public void addBlacklisted(String sig)
    • canExecute

      public boolean canExecute(String msig)
    • canAccess

      public boolean canAccess(String fsig)