The document shows the step-by-step execution of a program with a MAIN function that calls a SUB function. It pushes ECX onto the stack, calls SUB, then stores the return value of SUB in EDX. SUB retrieves the call argument from the stack into EAX and returns. The document traces the changing values of registers and memory locations during each step of execution.
CTF for ビギナーズのバイナリ講習で使用した資料です。
講習に使用したファイルは、以下のリンク先にあります。
https://onedrive.live.com/redir?resid=5EC2715BAF0C5F2B!10056&authkey=!ANE0wqC_trouhy0&ithint=folder%2czip
The document shows the step-by-step execution of a program with a MAIN function that calls a SUB function. It pushes ECX onto the stack, calls SUB, then stores the return value of SUB in EDX. SUB retrieves the call argument from the stack into EAX and returns. The document traces the changing values of registers and memory locations during each step of execution.
CTF for ビギナーズのバイナリ講習で使用した資料です。
講習に使用したファイルは、以下のリンク先にあります。
https://onedrive.live.com/redir?resid=5EC2715BAF0C5F2B!10056&authkey=!ANE0wqC_trouhy0&ithint=folder%2czip