CSC 472 Fall 2026 — Lab 1 Report Outline Lab: Stack and Stack Frame Due: Thursday, September 24, 2026, 11:59 PM Eastern Time Filename: Lastname_Firstname_Lab1.pdf Guide: https://wcu.ninja/csc472/lab-report TITLE PAGE (a separate page) Full name: Student ID: WolfCTF username: Course / term: CSC 472 Software Security / Fall 2026 Lab number and title: Lab 1 — Stack and Stack Frame Instructor: Dr. Si Chen Date performed: Submission date: 1. INTRODUCTION [Explain the purpose and what you will investigate in your own words.] 2. ENVIRONMENT AND METHOD [WolfCTF workspace; source file; exact compile command; gcc/GDB versions; GEF startup/version information and working gef help; file lab1 output; Intel syntax; program points used for the snapshots. Include readable GEF context captures with registers, code and stack at both required stops.] 3. ANALYSIS AND RESULTS Q1 — Constructing the main stack frame Answer: Evidence (figure/listing/table and addresses): Interpretation: Q2 — Initializing and locating p and q Answer: Evidence: Interpretation: Q3 — Multiple copies of 3 and 4 Answer: Evidence from immediately before the call: Interpretation: Stack-frame diagram(s) [Show main before the call and multiply_by_two after frame setup as separate labeled snapshots. Include real addresses, ESP/EBP, offsets, locals, arguments, saved frame pointers/return address where established, and stack/address directions. Caption and refer to each figure.] Q4 — Interpreting the arithmetic Answer: Evidence: Interpretation: Q5 — The return-value register Answer: Evidence immediately after finish: Interpretation: 4. DISCUSSION AND CONCLUSION [Summarize what the evidence established. Discuss a difficulty, unexpected result, or difference and how you investigated it.] 5. REFERENCES AND ASSISTANCE [Cite sources actually used. Acknowledge AI/tool assistance and describe how you verified it with commands from your own session.] APPENDIX (optional) [Additional supporting transcript; keep essential evidence in the main body.] FINAL CHECK Remove all bracketed prompts. Export to PDF, open and inspect it, upload to D2L -> CSC 472 -> Assignments -> Lab 1, click Submit, and verify the recorded filename and submission time.