2022-05-01 | Paul Boddie | raw files shortlog changelog graph | Updated the test payload to show argument details. | |
test_files/programs/exec_payload.c (file) |
1.1 --- a/test_files/programs/exec_payload.c Sun May 01 23:24:12 2022 +0200 1.2 +++ b/test_files/programs/exec_payload.c Sun May 01 23:24:28 2022 +0200 1.3 @@ -25,7 +25,7 @@ 1.4 1.5 int main(int argc, char *argv[]) 1.6 { 1.7 - printf("Hello from exec_payload.c!\n"); 1.8 + printf("Hello from %s (%d)!\n", argc > 0 ? argv[0] : "exec_payload.c", argc); 1.9 return 0; 1.10 } 1.11