How to inspect function parameters $arg7 and later? (beyond $arg1...$arg6)

How would you inspect function arguments/parameters beyond $arg6? $arg7 appears to be undefined
"use of undeclared identifier '$arg7'"
It sounds like you’re debugging 64-bit Intel code, where this is an artefact of that architecture’s calling conventions. The first 6 parameters go into registers (rdi, rsi, rdx, rcx, r8, and r9) and any subsequent parameters get pushed on the stack. The $argX syntax is a shorthand for accessing those registers. It’s not capable of looking at the stack.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I tried the following command (from one of your posts https://developer.apple.com/forums/thread/12251?answerId=41894022#41894022). How to modify it for the modern 64 bit arch?
m r -c 8 -s 4 -f x $esp

It said something like not allowed to access $esp..
On 64-bit Intel the stack pointer is rsp (this is a general convention on Intel; with no prefix sp yields 16-bit; adding the e prefix yields 32-bit; switching to the r prefix yields 64-bit).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
How to inspect function parameters $arg7 and later? (beyond $arg1...$arg6)
 
 
Q