public interface

IVirtualMemoryShim

implements IVirtualMemory
com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemoryShim

Class Overview

A shim is a VM object wrapping another virtual memory, in order to allow temporary write modifications.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemory
Public Methods
abstract int commitChanges(boolean allowPageReplacement, boolean allowPageCreation, boolean allowPageRemoval)
Commit the modifications onto the underlying VM.
abstract IVirtualMemory getUnderlyingMemory()
Retrieve the underlying VM wrapped by the shim.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemory

Public Methods

public abstract int commitChanges (boolean allowPageReplacement, boolean allowPageCreation, boolean allowPageRemoval)

Commit the modifications onto the underlying VM. Memory writes, page allocations and deletions will be applied to the wrapped virtual memory object.

Returns
  • the numbers of pages committed

public abstract IVirtualMemory getUnderlyingMemory ()

Retrieve the underlying VM wrapped by the shim.