SHARE
TWEET

Untitled

a guest Jun 14th, 2012 107 Never
  1. #include <stdlib.h>
  2. #include <sys/mman.h>
  3.  
  4. int main(int argc, char ** argv)
  5. {
  6.     mmap(NULL, sizeof(char), PROT_READ | PROT_WRITE, MAP_FIXED | MAP_ANONYMOUS,
  7.          0, 0);
  8.     *( ( char* ) NULL ) = 0;
  9.     return 0;
  10. }
RAW Paste Data
Top