"Access out of bounds memory; a great testcase for UserEmulator.");
args_parser.add_option(do_static,"Use a static region instead of an mmap'ed region. Fixes 'size' to 10*PAGESIZE = 40960. (Default: false)","static",'S');
args_parser.add_option(size,"The size of the region to allocate. (Default: 10*PAGESIZE = 40960)","size",'s',"size");
args_parser.add_option(offset,"The signed offset at which to start writing. (Default: 10*PAGESIZE-1 = 40959)","offset",'o',"offset");
args_parser.add_option(bits,"Amount of bits to write in a single instruction. (Default: 16)","bits",'b',"bits");
args_parser.parse(argc,argv);
if(do_static)
size=10*PAGE_SIZE;
printf("Writing %d bits to %s region of size %d at offset %d.\n",
bits,do_static?"static":"MMAP",size,offset);
if(do_static){
// Let's just hope the linker puts nothing after it!