public interface

IDebuggerVirtualMemory

implements IVirtualMemory
com.pnfsoftware.jeb.core.units.code.debug.IDebuggerVirtualMemory

Class Overview

Extension of the virtual memory interface providing additional methods useful in the context of a process controlled by a debugger.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemory
Public Methods
abstract long findBytes(long address, long maxsize, byte[] pattern)
Search a memory area for a specific byte sequence.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemory

Public Methods

public abstract long findBytes (long address, long maxsize, byte[] pattern)

Search a memory area for a specific byte sequence.

Parameters
address base address - in the case of a 64-bit address above 2^63 bytes, the address is theoretically negative
maxsize size of the area to be searched, at most 2^63 bytes - consequently, a full 64-bit memory space search must be done in two operations
pattern a sequence of bytes to look for - at least 1 byte
Returns
  • an offset, relative to the input base address; -1 indicates the pattern was not found