Last active
August 29, 2015 14:13
-
-
Save boramalper/b0c6116ada4dd8f7e80a to your computer and use it in GitHub Desktop.
Revisions
-
boramalper revised this gist
Jan 21, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,4 @@ import subprocess subprocess.call(["./main"] + ["f"]*(2**32)) -
boramalper revised this gist
Jan 21, 2015 . 2 changed files with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,7 @@ int main(int argc, char **argv) { printf("argc : %d\n", argc); printf("sizeof(argc) : %zu\n", sizeof(argc)); printf("argv[argc] == NULL: %s\n", argv[argc] == NULL ? "True" : "False"); return 0; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ CC=gcc CFLAGS=-Wall -Werror -pedantic -std=c99 all: $(CC) $(CFLAGS) main.c -o main -
boramalper created this gist
Jan 21, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #include <stdio.h> int main(int argc, char **argv) { printf("argc : %d\n", argc); printf("argv[argc] == NULL: %s\n", argv[argc] == NULL ? "True" : "False"); return 0; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ CC=gcc CFLAGS=-Wall -Werror -pedantic all: $(CC) $(CFLAGS) main.c -o main This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/usr/bin/env python import subprocess subprocess.call(["main"].extend(["f"]*(2**32)))