BinGuoa / MemStream

Efficient DMA Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemStream

MemStream is a wrapper for MemProcFS providing a simplified C++ interface for FPGA-based DMA application development.

Usage

#include <cstdint>
#include <Process.h>

void example() {
    Process notepad("notepad.exe");
    uint64_t base = notepad.GetModuleBase("notepad.exe");
    uint8_t data = 0;
    if(!notepad.Read(base, &data, 1)) {
        printf("???");
    }
    printf("%x", data);
}

Also see the example directory.

Building

Building for Linux is done via a docker toolchain. Run:

make linux

TODO: windows x64 builds via windows docker toolchain...

TODO

Those marked ? I am unsure about including.

  • Build compatibility for all MemProcFS targets
    • Windows AMD64
    • Linux AMD64
    • Linux ARM64
  • Refactor CMake projects
  • MemProcFS submodule dependency / autosymbol stuff
  • Docker toolchains for build targets
  • Github Actions for automated builds
  • Complete Features
    • Dump Process
    • Caching features (EAT/IAT/ect. - things that do not change)
    • Find Pattern
    • Find Code Cave
    • Improve code cave search
    • Refactor "Driver" Logic
    • Shellcode Injection ?
    • Function Calling ?
    • Inline Hooking ?
    • Library Manual Mapping ?
    • Thread Hijacking ?
    • Kernel Module Manual Mapping ?
    • Mono Dissection Utils ?
  • Create Example Apps
    • Basic example
    • Input example
    • ReClass.NET Plugin
    • Performance test example
    • Real-world app example ?
  • rework exceptions ?

About

Efficient DMA Library


Languages

Language:C++ 91.7%Language:CMake 4.5%Language:Dockerfile 3.0%Language:Makefile 0.7%