Efficient Dynamic Memory Identification and Multi-Level Pointer Chain Localization for Modern 3D Game Engines via CSR Graphs and Asymmetric Bidirectional Pruning

Non-invasive runtime memory diagnostics, stripped-build regression testing, and automated quality assurance (QA) in modern 64-bit 3D game engines require locating dynamic heap state and recovering stable multi-level pointer chains that survive process restarts and Address Space Layout Randomization (ASLR). We present mem-pointer-lab, a Windows x64 C++20/AVX2 framework combining: (1) chunked multi-threaded virtual memory snapshots (12.1 GiB/s) paired with key-free algebraic-invariant differential scanners for XOR and modular-2^32 affine encodings accelerated by AVX2 (1.87x-3.13x speedup, 20-25 GiB/s); (2) a Compressed Sparse Row Pointer Map (CSR-PM) built via AVX2 range pre-filtering (rejecting 96.85%-99.93% of non-pointer words) and 24-thread parallel LSD radix sort (29.5x faster and 64.3% lower peak RAM than std::map on 2.14M edges); and (3) an Asymmetric Meet-in-the-Middle (Asymmetric-MitM) solver with mixed alignment pruning, cycle exclusion, dead-end memoization, and automatic forward-frontier fusing (1,055x speedup at depth 5 and 108x over pruned backward search at depth 7 with 100% ground-truth recall). End-to-end validation on a live 64-bit Godot 4.3-stable 3D scene demonstrates 22.0x single-thread speedup, unique convergence (2.30M -> 211 -> 1) across three ASLR restarts to exact C++ Node3D::Transform3D chains, and an 8.76x end-to-end speedup (25.5x core solve) with 58.4% lower peak commit memory over Cheat Engine 7.4 at Depth 5 / 0x800 (median of 5 runs).

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-27
DOI
https://doi.org/10.5281/zenodo.24587441
Primary Topic
Software Testing and Debugging Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Efficient Dynamic Memory Identification and Multi-Level Pointer Chain Localization for Modern 3D Game Engines via CSR Graphs and Asymmetric Bidirectional Pruning

Siyuan Li
Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
preprint

Efficient Dynamic Memory Identification and Multi-Level Pointer Chain Localization for Modern 3D Game Engines via CSR Graphs and Asymmetric Bidirectional Pruning

Siyuan Li
preprint en

Abstract

Non-invasive runtime memory diagnostics, stripped-build regression testing, and automated quality assurance (QA) in modern 64-bit 3D game engines require locating dynamic heap state and recovering stable multi-level pointer chains that survive process restarts and Address Space Layout Randomization (ASLR). We present mem-pointer-lab, a Windows x64 C++20/AVX2 framework combining: (1) chunked multi-threaded virtual memory snapshots (12.1 GiB/s) paired with key-free algebraic-invariant differential scanners for XOR and modular-2^32 affine encodings accelerated by AVX2 (1.87x-3.13x speedup, 20-25 GiB/s); (2) a Compressed Sparse Row Pointer Map (CSR-PM) built via AVX2 range pre-filtering (rejecting 96.85%-99.93% of non-pointer words) and 24-thread parallel LSD radix sort (29.5x faster and 64.3% lower peak RAM than std::map on 2.14M edges); and (3) an Asymmetric Meet-in-the-Middle (Asymmetric-MitM) solver with mixed alignment pruning, cycle exclusion, dead-end memoization, and automatic forward-frontier fusing (1,055x speedup at depth 5 and 108x over pruned backward search at depth 7 with 100% ground-truth recall). End-to-end validation on a live 64-bit Godot 4.3-stable 3D scene demonstrates 22.0x single-thread speedup, unique convergence (2.30M -> 211 -> 1) across three ASLR restarts to exact C++ Node3D::Transform3D chains, and an 8.76x end-to-end speedup (25.5x core solve) with 58.4% lower peak commit memory over Cheat Engine 7.4 at Depth 5 / 0x800 (median of 5 runs).

Zenodo (CERN European Organization for Nuclear Research)
China University of Mining and Technology (CN)
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon