Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code

碩士 === 國立中正大學 === 資訊工程研究所 === 101 === Alias analysis is used to determine whether two memory references access the same memory location. Most researches have focused on high-level analysis, but rarely on low-level analysis. When doing low-level alias analysis, we have most program information (e.g.,...

Full description

Bibliographic Details
Main Authors: Yi-Fang Chung, 鍾宜芳
Other Authors: Peng-Sheng Chen
Format: Others
Language:en_US
Published: 2013
Online Access:http://ndltd.ncl.edu.tw/handle/82536630740263457263
id ndltd-TW-101CCU00392015
record_format oai_dc
spelling ndltd-TW-101CCU003920152017-01-14T04:15:04Z http://ndltd.ncl.edu.tw/handle/82536630740263457263 Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code 支援ARM執行檔之高效能且準確之別名分析 Yi-Fang Chung 鍾宜芳 碩士 國立中正大學 資訊工程研究所 101 Alias analysis is used to determine whether two memory references access the same memory location. Most researches have focused on high-level analysis, but rarely on low-level analysis. When doing low-level alias analysis, we have most program information (e.g., system libraries, and 3rd-party libraries) that cannot be obtained in high-level alias analysis. In addition, low-level alias analysis is important for many compiler optimizations and post-link optimizations. However, large amount of memory usage cause analysis extremely slowly when processing an inter-procedural, low-level alias analysis. According to the observations, we found the configuration of abstracting memory address, and strategies of memory information table and data-flow analysis significantly affect the memory usage and performance of the alias analyzer and analytical precision. In this thesis, we study how to appropriately configure three factors in an inter-procedural, low-level alias analysis. An inter-procedural, low-level alias analysis is implemented based on Diablo, a retargetable link-time binary rewriting framework. The target architecture is ARM processors. Different configurations are used to evaluate the impacts on analysis performance, memory usage, and accuracy. For the tested benchmark programs, the experimental results show that appropriately setting in abstracting memory address, not propagating memory information table among basic blocks, and appropriate meet operation can have the analytical result whose accuracy is 2.95 times compared with Debray's approach. The analysis can be finished in 7 minutes with 133MB memory usage. Peng-Sheng Chen 陳鵬升 2013 學位論文 ; thesis 72 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立中正大學 === 資訊工程研究所 === 101 === Alias analysis is used to determine whether two memory references access the same memory location. Most researches have focused on high-level analysis, but rarely on low-level analysis. When doing low-level alias analysis, we have most program information (e.g., system libraries, and 3rd-party libraries) that cannot be obtained in high-level alias analysis. In addition, low-level alias analysis is important for many compiler optimizations and post-link optimizations. However, large amount of memory usage cause analysis extremely slowly when processing an inter-procedural, low-level alias analysis. According to the observations, we found the configuration of abstracting memory address, and strategies of memory information table and data-flow analysis significantly affect the memory usage and performance of the alias analyzer and analytical precision. In this thesis, we study how to appropriately configure three factors in an inter-procedural, low-level alias analysis. An inter-procedural, low-level alias analysis is implemented based on Diablo, a retargetable link-time binary rewriting framework. The target architecture is ARM processors. Different configurations are used to evaluate the impacts on analysis performance, memory usage, and accuracy. For the tested benchmark programs, the experimental results show that appropriately setting in abstracting memory address, not propagating memory information table among basic blocks, and appropriate meet operation can have the analytical result whose accuracy is 2.95 times compared with Debray's approach. The analysis can be finished in 7 minutes with 133MB memory usage.
author2 Peng-Sheng Chen
author_facet Peng-Sheng Chen
Yi-Fang Chung
鍾宜芳
author Yi-Fang Chung
鍾宜芳
spellingShingle Yi-Fang Chung
鍾宜芳
Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code
author_sort Yi-Fang Chung
title Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code
title_short Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code
title_full Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code
title_fullStr Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code
title_full_unstemmed Efficient and Accurate Whole-Program Alias Analysis for ARM Executable Code
title_sort efficient and accurate whole-program alias analysis for arm executable code
publishDate 2013
url http://ndltd.ncl.edu.tw/handle/82536630740263457263
work_keys_str_mv AT yifangchung efficientandaccuratewholeprogramaliasanalysisforarmexecutablecode
AT zhōngyífāng efficientandaccuratewholeprogramaliasanalysisforarmexecutablecode
AT yifangchung zhīyuánarmzhíxíngdàngzhīgāoxiàonéngqiězhǔnquèzhībiémíngfēnxī
AT zhōngyífāng zhīyuánarmzhíxíngdàngzhīgāoxiàonéngqiězhǔnquèzhībiémíngfēnxī
_version_ 1718408042213539840