Pseudoloessa

Pseudoloessa is a genus of beetles in the family Cerambycidae.[1]

Pseudoloessa
Scientific classification
Kingdom:
Phylum:
Class:
Order:
Suborder:
Family:
Genus:
Pseudoloessa

Species

gollark: See, it catches it, the handler handles it handlefully.
gollark: See?
gollark: ```c#include <stdio.h>#include <signal.h>#include <string.h>#include <stdlib.h>#include <sys/mman.h>static void handler(int sig, siginfo_t *info, void *literally_bee) { printf("oh bee oh apio segfault %08x\n", info->si_addr); mmap(info->si_addr, 0x10000, PROT_NONE, MAP_ANONYMOUS|MAP_FIXED, -1, 0); exit(1);}int main() { struct sigaction sa; sigemptyset(&sa.sa_mask); sa.sa_flags = SA_NODEFER; sa.sa_sigaction = handler; sigaction(SIGSEGV, &sa, NULL); *(int*)NULL = -3; printf("thing done\n"); return 0;}```
gollark: I checked and I can, in fact, catch SIGSEGVs.
gollark: ... it *sometimes* says 0 and sometimes says a few other specific things?

References

  1. BioLib.cz - Pseudoloessa. Retrieved on 8 September 2014.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.