How keganhollern/memstream works
Main Components
a. Core Components:
• FPGA Interface Layer
• Input Processing System
• Process Management Layer
• Memory Management Interface
• MemProcFS Integration Layer
b. External Dependencies:
• MemProcFS
• VMM (Virtual Memory Management)
• LeechCore (FPGA communication)
┌─────────────────────────────────────────────┐
• Client Application │
• ┬─────────────────────────┘
• ↓
┌─────────────────────────────────────────────┐
• MemStream v2 API │
• ┬─────────────┬─────────────────┤
• FPGA.h │ Input.h │ Process.h │
• ┬──────┴──────┬──────┴────────┬────────┘
┌──────▼──────┐┌─────▼─────┐┌───────▼────────┐
• FPGA Access ││ Input ││ Process │
• Layer ││ Handler ││ Management │
• ┬──────┘└─────┬─────┘└───────┬────────┘
┌──────▼──────┬──────▼──────────────▼────────┐
• LeechCore │ VMM Layer │
• ┴───────────────────────────────┘
• ↓
┌─────────────────────────────────────────────┐
• Physical FPGA │
• ┘
Important Details
a. Component Responsibilities:
• FPGA.h: Device configuration and management
• Input.h: Input device capture and event handling
• Process.h: Process memory manipulation
• Utils.h: Helper functions and utilities
• _macros.h: Common macros and definitions
b. Integration Points:
• How MemStream interfaces with MemProcFS
• FPGA communication through LeechCore
• Memory management through VMM
Implementation Details
• The v2 namespace containing all major components
• The relationship between FPGA configuration and input handling
• Memory streaming pathways from FPGA to application
• Event callback system for input handling
• Process memory access patterns
Future Expansion
• Shellcode injection capabilities
• Process dumping
• Pattern finding
• Code cave detection
• Mono dissection utilities