P R: A Software Reengineering Case Study: ACK AT
P R: A Software Reengineering Case Study: ACK AT
125-134,
IEEE.
E-mail: fgannod,sudindra,fagnanim,chengbg@cse.msu.edu
LoadConfigVals
HexDumpWndProc
DecodeWndproc
DebugWndProc
MainWndProc
TBFrameProc
ListWndProc
CleanUp
DlgConfigCapture
GetConfigString
SaveWindowPos
PostQuitMessage
DisplayTypeStats
DisplayNdisStats
SaveConfigVals
WritePacketFile
HavePacketData
ReadPacketFile
DisplaySizeStats
DoNewList
DlgOpenNDIS
DoHexDump
SavePackets
UpdateStatus
StopCapture
StartCapture
LoadPackets
NewFrame
CloseNDIS
DoDecode
SetTimer
KillTimer
DlgAbout
SetConfigString
PktReturnRxBuffer
InitGetPacket
RecordStats
PktGetErrorCode
PassFilter
OpenNDIS
NewList
PktcloseNDIS
DecodeBPDU
Summarize
PrintError
ClearStats
DecodeType
EndDialog
wsDlgInit
PktOid
time
PktGetRxBuffer
PktOpenNDIS
InitDriverList
SummarizeMac
SummarizeType
DecodeARP
DbgPrintf
DecodeIP
SummarizeARP
SummarizeIP
DecodeICMP
DecodeTCP
DecodeUDP
SummarizeUDP
SummarizeICMP
SummarizeTCP
Figure 5: System Call Graph
WinMain
in a single, medium-level model. The result of these activ-
ities is shown in Figure 7.
InitApplication
InitInstance
MainWndProc
HexDumpWndProc
DecodeWndproc
DebugWndProc
CleanUp
ListWndProc
tion. Figure 8 shows the relationship between the medium-
DecodeFrame
level (Figure 7) and low-level models (Figure 5), where the
SaveWindowPos
DlgConfigCapture
DisplayTypeStats
DisplaySizeStats
DoNewList
GetConfigString
SaveConfigVals
WritePacketFile
HavePacketData
ReadPacketFile
DlgOpenNDIS
DisplayNdisStats
SavePackets
DoHexDump
UpdateStatus
StopCapture
StartCapture
LoadPackets
DlgAbout
CloseNDIS
NewFrame
Summarize_DecodeFrame
Decode BPDU
DecodeType
PktReturnRxBuffer
InitGetPacket
DbgPrintf
RecordStats
OpenNDIS
PktGetErrorCode
PassFilter
NewList
PktcloseNDIS
PrintError
ClearStats
PktOid
wsDlgInit
Figure 7).
Summarize_DecodeType
PktGetRxBuffer
InitDriverList
PktOpenNDIS
FltStrtoData
Decode BPDU
FltDatatoStr
DecodeARP
DecodeIP
DbgPrintf
RatFile
Shutdown
Summarize_DecodeIP
Main Window
Summarize_DecodeARP
DecodeICMP
DecodeTCP
DecodeUDP
Summarize_DecodeUDP
Summarize_DecodeTCP
1+ Children Window
Process
1 1+
Frame 1 Decodes