Post History
Challenge Cause the currently running program to receive the SIGSEGV signal (on Linux or other *nix systems) as fast as possible. What it does with the signal doesn't matter as long as it receives...
#3: Post edited
- # Challenge
Cause the currently running program to receive the SIGSEGV signal (on Linux) as fast as possible. What it does with the signal doesn't matter as long as it receives it.- This is code golf, smallest answer in each language wins. Some languages will have a tougher time than others. Keep in mind that if you depend on uninitalized data, it needs to *always* result in a segfault; a 0.000001% chance to not work invalidates your solution.
- # Example program
- ```c
- #include <stddef.h>
- #include <stdio.h>
- int main() {
- int* ohno = NULL;
- printf("%d", *ohno);
- }
- ```
- # Challenge
- Cause the currently running program to receive the SIGSEGV signal (on Linux or other *nix systems) as fast as possible. What it does with the signal doesn't matter as long as it receives it.
- This is code golf, smallest answer in each language wins. Some languages will have a tougher time than others. Keep in mind that if you depend on uninitalized data, it needs to *always* result in a segfault; a 0.000001% chance to not work invalidates your solution.
- # Example program
- ```c
- #include <stddef.h>
- #include <stdio.h>
- int main() {
- int* ohno = NULL;
- printf("%d", *ohno);
- }
- ```
#2: Post edited
- # Challenge
Cause the currently running program to receive the SIGSEGV signal (on Linux) as fast as possible- This is code golf, smallest answer in each language wins. Some languages will have a tougher time than others. Keep in mind that if you depend on uninitalized data, it needs to *always* result in a segfault; a 0.000001% chance to not work invalidates your solution.
- # Example program
- ```c
- #include <stddef.h>
- #include <stdio.h>
- int main() {
- int* ohno = NULL;
- printf("%d", *ohno);
- }
- ```
- # Challenge
- Cause the currently running program to receive the SIGSEGV signal (on Linux) as fast as possible. What it does with the signal doesn't matter as long as it receives it.
- This is code golf, smallest answer in each language wins. Some languages will have a tougher time than others. Keep in mind that if you depend on uninitalized data, it needs to *always* result in a segfault; a 0.000001% chance to not work invalidates your solution.
- # Example program
- ```c
- #include <stddef.h>
- #include <stdio.h>
- int main() {
- int* ohno = NULL;
- printf("%d", *ohno);
- }
- ```
#1: Initial revision
Bytes to Segfault
# Challenge Cause the currently running program to receive the SIGSEGV signal (on Linux) as fast as possible This is code golf, smallest answer in each language wins. Some languages will have a tougher time than others. Keep in mind that if you depend on uninitalized data, it needs to *always* result in a segfault; a 0.000001% chance to not work invalidates your solution. # Example program ```c #include <stddef.h> #include <stdio.h> int main() { int* ohno = NULL; printf("%d", *ohno); } ```