CS318 - Pintos
Pintos source browser for JHU CS318 course
Functions
pt-bad-read.c File Reference
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for pt-bad-read.c:

Go to the source code of this file.

Functions

void test_main (void)
 Reads from a file into a bad address. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Reads from a file into a bad address.

tests/main.h

The process must be terminated with -1 exit code.

Definition at line 9 of file pt-bad-read.c.

References CHECK, fail(), open(), and read().

Here is the call graph for this function: