Joined October 2012
·

Victor Roemer

Software Engineer at Sourcefire
·
Maryland
·
·

Posted to Segmentation fault over 1 year ago

If you want a segfault and don't care about passing -W* checks, then the symbol 'main' doesn't need to be a function.

int main;

gcc -o segv -c segv.c

Achievements
40 Karma
0 Total ProTip Views
Interests & Skills