/* Accesses a bad address.
The process must be terminated with -1 exit code. */
#include tests/lib.h
#include tests/main.h
void
test_main (void)
{
fail (bad addr read as %d, *(int *) 0x04000000);
}
$25
File Name: CS_/*_Accesses_a_bad_address..zip
File Size: 273.18 KB
/* Accesses a bad address.
The process must be terminated with -1 exit code. */
#include tests/lib.h
#include tests/main.h
void
test_main (void)
{
fail (bad addr read as %d, *(int *) 0x04000000);
}
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.