C++ Strings for Reverse Engineers (Patreon)
Published:
2024-11-17 15:00:09
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Videos
Downloads
Missing 2 full-res photos, 1 file, as this post has not yet been imported.
Content
identifying and correctly typing C++ strings is the first step towards easier C++ reverse engineering. In this tutorial we walk through the mechanics (and code) behind the standard strings in C++
Resources
The C++ strings types header can be found here: cppstrings.h
Below is an IDA cheat sheet from @fr0gger_ which is helpful when trying to remember the hot keys.
Practice Examples
Attached are both the optimized and non-optimized compiled examples as well as the source file and accompanying PDB files. I strongly recommend attempting to mark up the types and reverse engineer the optimized version without loading the PDB ( you can use the PDB if you get stuck).
Files
Previews only