Assembly Calling Convention: __thiscall (Patreon)
Published:
2022-02-17 07:06:08
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Videos
Downloads
Missing 1 full-res photo, 1 file, as this post has not yet been imported.
Content
Calling Convention: __thiscall
- Calling convention for C++ class members
(passing the “this” object) - Arguments are passed on the stack (pushed right-to-left)
- An additional argument, the “this” object pointer, is passed in the ECX register
- Callee is responsible for stack cleanup
Reverse Engineering C++ Basics Tutorial
Practice Examples
Attached to this post is a copy of the HelloWorld PE file from our tutorial. You are encouraged to open this sample in IDA and identify the function calling conventions as well as the class struct.
Files
Previews only