Did you know Cybrary has FREE video training? Join more than 2,500,000 IT and cyber security professionals, students, career changers, and more, growing their careers on Cybrary.
Welcome to the Basic Static Analysis - Part 3, where we would be covering Calling Conventions. We'll begin with understanding of the calling conventions. In cdecl (C declaration) function, the caller is responsible for cleaning up the stack. While for stdcall (standard call), an API developed by Microsoft, the callee is responsible for cleaning up the stack. The hands-on demonstration will engage as part of the module and would include the following:
The key differences between a cdecl call and stdcall.
Different ways assembly code is generated.
Several assembly instructions such as PUSH instructions and how they work.
How compilers, debuggers, and disassemblers work with assembly.