PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
exec-bound-2.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-2.c:

Go to the source code of this file.

Functions

void test_main (void)
 Invokes an exec system call with the exec string pointer argument positioned such that only its first byte is valid memory (bytes 1-3 of the pointer are invalid). More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Invokes an exec system call with the exec string pointer argument positioned such that only its first byte is valid memory (bytes 1-3 of the pointer are invalid).

tests/main.h

Must kill process.

Definition at line 11 of file exec-bound-2.c.

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

Here is the call graph for this function: