C# Class Fuzzer.IO.ConsoleIO.ConsoleProcess

Baseclass for processes that get started and interact with its host process using standard in/output
Inheritance: IDisposable
Exibir arquivo Open project: areiter/InMemoryFuzzing

Public Methods

Method Description
ConsoleProcess ( ) : System
Dispose ( ) : void

Protected Methods

Method Description
KillProcess ( ) : void

Forces the process to exit

ReadChar ( ) : char

Reads the next character from the stdout of the target process

ReadLine ( ) : string

Read a single line from the target process

StartProcess ( ) : void

Starts the process specified by the inherited class

Write ( string format ) : void

Write the specified objects with the specified format to the process stdin

WriteLine ( string format ) : void

See Write

Private Methods

Method Description
AssertProcess ( ) : void

Method Details

ConsoleProcess() public method

public ConsoleProcess ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

KillProcess() protected method

Forces the process to exit
protected KillProcess ( ) : void
return void

ReadChar() protected method

Reads the next character from the stdout of the target process
protected ReadChar ( ) : char
return char

ReadLine() protected method

Read a single line from the target process
protected ReadLine ( ) : string
return string

StartProcess() protected method

Starts the process specified by the inherited class
protected StartProcess ( ) : void
return void

Write() protected method

Write the specified objects with the specified format to the process stdin
protected Write ( string format ) : void
format string Format of the string to write
return void

WriteLine() protected method

See Write
protected WriteLine ( string format ) : void
format string
return void