Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is often necessary to print certain structures and their values for testing. In order to do that we need to find the pointer to the structure memory. To accomplish that we need some understanding of AMD64 assembly and registry usage:

reference x86-64 abi

alternative reference http://6.s081.scripts.mit.edu/sp18/x86-64-architecture-guide.html

First, disassemble function

...