
The figure shows two rectangular vertical block. The first block is labeled mylib.dll and a sub block inside the block which is labeled MyGlobal.
The block illustrates code which is given as follows:
foo() open curly bracket
MyGlobal equals 1
bar()
close curly bracket
bar() open curly bracket
close curly bracket
baz(int asterisk Ptr) open curly bracket
asterisk Ptr equals 5
close curly bracket
An arrow is pointing from the line MyGlobal equals 1 to the sub block MyGlobal. A two segmented block labeled H P A T is placed below the vertical block and labeled Jump to foo and Jump to baz and two arrows are pointed toward these segments. The second block is labeled mylib underscore patch.dll and two sub blocks inside the block which are labeled MyGlobal(unused) and Pointer to MyGlobal.
The block illustrates code which is given as follows:
foo() open curly bracket
MyGlobal equals 3
bar()
close curly bracket
bar() open curly bracket
close curly bracket
baz(int asterisk Ptr) open curly bracket
if(Ptr exclamation equals NULL)
asterisk Ptr equals 5
close curly bracket
An arrow is pointing from the line MyGlobal equals 1 to the sub block MyGlobal. A block labeled H P A T is placed below the vertical block and labeled Jump to bar. An arrow is pointing from the line bar() open curly bracket to the jump to bar block. A dotted arrow is pointing from the MyGlobal equals 3 to Pointer to MyGlobal sub block and other dotted arrow is ponted to the MyGlobal sub block of the first vertical column. The dotted arrow is labeled data flow and darked arrow is labeled code flow.
Back