TLDR Dev · MISCELLANEOUS

WRITING OUR OWN CHEAT ENGINE: INTRODUCTION

lonami.dev15 min read

Summary from the TLDR Dev newsletter

This post introduces the goal of writing a small Cheat Engine clone in Rust to understand how the original tool functions by replicating its tutorial steps. The first step focuses on learning to enumerate active processes, opening them, and retrieving their module names programmatically. This is done through Windows API functions like `EnumProcesses`, `OpenProcess`, `EnumProcessModules`, and `GetModuleBaseNameA` while managing Rust's `unsafe` code.