Object ProcessUtils

  • All Implemented Interfaces:

    @PublicApi() 
    public class ProcessUtils
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final WinNT.HANDLE openHandleToProcess(Long processId)
      final WinDef.HMODULE getRemoteModuleHandle(WinNT.HANDLE processHandle, String name, Logger logger)
      final Integer readInt(WinNT.HANDLE processHandle, Pointer address) Reads a 32-bit integer from the given address.
      final Short readShort(WinNT.HANDLE processHandle, Pointer address) Reads a 16-bit integer from the given address.
      final <T extends Any> T readProcessMemory(WinNT.HANDLE processHandle, Pointer address, Integer bytesToRead, Function1<Memory, T> mappingFunction)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • readInt

        @PublicApi() final Integer readInt(WinNT.HANDLE processHandle, Pointer address)

        Reads a 32-bit integer from the given address.

      • readShort

        @PublicApi() final Short readShort(WinNT.HANDLE processHandle, Pointer address)

        Reads a 16-bit integer from the given address.

      • readProcessMemory

        @PublicApi() final <T extends Any> T readProcessMemory(WinNT.HANDLE processHandle, Pointer address, Integer bytesToRead, Function1<Memory, T> mappingFunction)