Class SandboxedAVM

java.lang.Object
io.jawk.backend.AVM
io.jawk.backend.SandboxedAVM
All Implemented Interfaces:
VariableManager, Closeable, AutoCloseable

public class SandboxedAVM extends AVM
AVM variant enforcing sandbox restrictions at runtime.
  • Constructor Details

    • SandboxedAVM

      public SandboxedAVM(AwkSettings parameters, Map<String,JawkExtension> extensionInstances)
      Creates a sandboxed AVM with the provided settings and extension instances.
      Parameters:
      parameters - Runtime settings to honor
      extensionInstances - Available extension implementations
    • SandboxedAVM

      public SandboxedAVM(AwkSettings parameters, Map<String,JawkExtension> extensionInstances, boolean profilingEnabled)
      Creates a sandboxed AVM with the provided settings, extension instances, and profiling mode.
      Parameters:
      parameters - Runtime settings to honor
      extensionInstances - Available extension implementations
      profilingEnabled - Whether to collect profiling statistics