/* Try to write to the code segment.
The process must be terminated with -1 exit code. */
#include “tests/lib.h”
#include “tests/main.h”
void
test_main (void)
{
*(int *) test_main = 0;
fail (“writing the code segment succeeded”);
}
30 $
File Name: CS代考计算机代写_/*_Try_to_write_to_the_code_segment..zip
File Size: 565.2 KB
/* Try to write to the code segment.
The process must be terminated with -1 exit code. */
#include “tests/lib.h”
#include “tests/main.h”
void
test_main (void)
{
*(int *) test_main = 0;
fail (“writing the code segment succeeded”);
}
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.