PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
exec-bound-3.c File Reference
#include <syscall-nr.h>
#include "tests/userprog/boundary.h"
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for exec-bound-3.c:

Go to the source code of this file.

Functions

void test_main (void)
 Invokes an exec system call with the exec string straddling a page boundary such that the first byte of the string is valid but the remainder of the string is in invalid memory. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Invokes an exec system call with the exec string straddling a page boundary such that the first byte of the string is valid but the remainder of the string is in invalid memory.

tests/main.h

Must kill process.

Definition at line 12 of file exec-bound-3.c.

References exec(), fail(), and get_bad_boundary().

Here is the call graph for this function: