Abstract
Aiming at the present situation that needs to develop a code review tool for assembly codes, this paper studies the procedure of manual code reviews and proposes a method to detect defects in assembly codes based on static analysis. After the control flow linearization, compiler patterns are used to solve indirect jumps, and node cloning is used to recover the control flow of the delayed branch. In the construction of inter-procedural control flow graph, the recursive function is in-lined by means of a call trace with limited depth. The prototyping tool for ADSP SHARC assembly codes is realized finally. Experimental results show that the tool can effectively detect defects in loops, registers, and memory accessing.
| Original language | English |
|---|---|
| Pages (from-to) | 53-59 |
| Number of pages | 7 |
| Journal | Harbin Gongye Daxue Xuebao/Journal of Harbin Institute of Technology |
| Volume | 45 |
| Issue number | 2 |
| State | Published - Feb 2013 |
| Externally published | Yes |
Keywords
- Assembly code
- Defect detection
- Delayed branch
- Static analysis
Fingerprint
Dive into the research topics of 'Defect detection for assembly codes based on static analysis'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver