XaiJu
oalabs
oalabs

patreon


C++ Strings for Reverse Engineers

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).

C++ Strings for Reverse Engineers C++ Strings for Reverse Engineers

Comments

lol!

OALABS

Rust and GoLang Strings: hold my beer. 😜

Demonslay335


More Creators