WCU / Cybersecurity
~/CSC 471/Class 02/KP 18
Class 02 · KP 18 / 23

Microsoft x64 (Windows)

  • Only 4 register args (vs 6 on System V) — and different registers.
  • Caller allocates 32 bytes of shadow space even when unused.
  • Windows malware uses this convention — watch RCX for the 1st arg.
Key Takeaway

Same CPU, different rules. Always confirm the platform before reading argument registers.