DocumentCode
2539090
Title
Control flow graph reconstruction for assembly language programs with delayed instructions
Author
Bermudo, Nerina ; Krall, Andreas ; Horspool, Nigel
Author_Institution
Inst. fur Computersprachen, Technische Univ. Wien, Vienna, Austria
fYear
2005
fDate
30 Sept.-1 Oct. 2005
Firstpage
107
Lastpage
116
Abstract
Most software for embedded systems, including digital signal processing systems, is coded in assembly language. For both understanding the software and for reverse compiling it to a higher level language, we need to construct a control flow graph (CFG). However CFG construction is complicated by architectural features which include VLIW parallelism, predicated instructions and branches with delay slots. We describe an efficient algorithm for the construction of a CFG, where the parallelism has been eliminated, instructions are reordered and delay slots have been eliminated. The algorithm´s effectiveness has been demonstrated by its use in a reverse compiler for the Texas Instruments C60 series of digital signal processors.
Keywords
assembly language; delays; flow graphs; instruction sets; program compilers; program control structures; reverse engineering; Texas Instruments C60 series; VLIW parallelism; assembly language programs; control flow graph reconstruction; delayed instructions; digital signal processors; reverse compiling; software understanding; Assembly systems; Delay; Digital signal processing; Embedded software; Embedded system; Flow graphs; Instruments; Signal processing algorithms; Software systems; VLIW;
fLanguage
English
Publisher
ieee
Conference_Titel
Source Code Analysis and Manipulation, 2005. Fifth IEEE International Workshop on
Print_ISBN
0-7695-2292-0
Type
conf
DOI
10.1109/SCAM.2005.6
Filename
1541163
Link To Document