Class MemoryMapping

java.lang.Object
com.abovevacant.epitaph.core.MemoryMapping

public final class MemoryMapping extends Object
A memory-mapped region (typically an ELF binary).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final long
    Start address of the mapping.
    final String
    Build ID of the ELF binary (hex string).
    final long
    End address of the mapping.
    final boolean
    Whether this mapping is executable.
    final long
    Load bias of the ELF binary.
    final String
    Name of the mapped file (e.g., "/system/lib64/libc.so").
    final long
    Offset within the file.
    final boolean
    Whether this mapping is readable.
    final boolean
    Whether this mapping is writable.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MemoryMapping(long beginAddress, long endAddress, long offset, boolean read, boolean write, boolean execute, String mappingName, String buildId, long loadBias)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • beginAddress

      public final long beginAddress
      Start address of the mapping.
    • endAddress

      public final long endAddress
      End address of the mapping.
    • offset

      public final long offset
      Offset within the file.
    • read

      public final boolean read
      Whether this mapping is readable.
    • write

      public final boolean write
      Whether this mapping is writable.
    • execute

      public final boolean execute
      Whether this mapping is executable.
    • mappingName

      public final String mappingName
      Name of the mapped file (e.g., "/system/lib64/libc.so").
    • buildId

      public final String buildId
      Build ID of the ELF binary (hex string).
    • loadBias

      public final long loadBias
      Load bias of the ELF binary.
  • Constructor Details

    • MemoryMapping

      public MemoryMapping(long beginAddress, long endAddress, long offset, boolean read, boolean write, boolean execute, String mappingName, String buildId, long loadBias)