Uploaded October 2016 | Updated December 2026, 3 hours ago
In this video we take a look at command line arguments.
In the video, I pop the arguments off the stack. Also remember that you can peek at a stack using [rsp] if you do not want to pop the values off the stack. [rsp] will peek at the top (argc), [rsp+8] will peek at the second to the top (*path), [rsp+16] will peek at the third from the top (*arg[1]), etc.
"linux64.asm"
pastebin.com/wCNZs3RN
"argtest.asm"
pastebin.com/MAA0NFsK
In this video we take a look at command line arguments.
In the video, I pop the arguments off the stack. Also remember that you can peek at a stack using [rsp] if you do not want to pop the values off the stack. [rsp] will peek at the top (argc), [rsp+8] will peek at the second to the top (*path), [rsp+16] will peek at the third from the top (*arg[1]), etc.
"linux64.asm"
pastebin.com/wCNZs3RN
"argtest.asm"
pastebin.com/MAA0NFsK


