Redirecting Process Flow

As mentioned earlier, a program is a set of instructions that the processor will perform. Most programs consist of a main program that calls various subprograms (called methods, functions, subroutines, and so on) in order to perform specific tasks. For example, a program may need to draw a window multiple times during its execution, so rather than rewrite the same code repeatedly, a programmer will write a function that draws a window and name it something like DrawWindow. Then, whenever the program needs to draw a window, the main program can simply call (refer to) the DrawWindow function in order to accomplish that goal.

Remember that before a program can run, the computer must allocate the resources that the program ...

Get Mastering Windows Network Forensics and Investigation, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.