国产欧美精品一区二区,中文字幕专区在线亚洲,国产精品美女网站在线观看,艾秋果冻传媒2021精品,在线免费一区二区,久久久久久青草大香综合精品,日韩美aaa特级毛片,欧美成人精品午夜免费影视

基于Qt的軟件內存泄漏靜態(tài)檢測技術(shù)研究
DOI:
CSTR:
作者:
作者單位:

作者簡(jiǎn)介:

通訊作者:

中圖分類(lèi)號:

基金項目:

國家電網(wǎng)許繼集團重點(diǎn)項目(5292C0170039)


Research on static detection technology of software based Qt memory leak
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 圖/表
  • |
  • 訪(fǎng)問(wèn)統計
  • |
  • 參考文獻
  • |
  • 相似文獻
  • |
  • 引證文獻
  • |
  • 資源附件
  • |
  • 文章評論
    摘要:

    Qt繼承了C++語(yǔ)言動(dòng)態(tài)分配內存機制,保證了開(kāi)發(fā)人員能根據實(shí)際需要靈活地使用內存,同時(shí)Qt也不可避免的要面對“內存泄漏”這個(gè)嚴重威脅軟件安全的問(wèn)題,雖然Qt采取了半自動(dòng)化內存管理機制等措施,但不能從根本上解決問(wèn)題。對此,提出了一種基于Qt的軟件內存泄漏靜態(tài)檢測方法,該方法針對Qt的半自動(dòng)化內存管理機制,通過(guò)靜態(tài)分析被測對象中分配內存的代碼識別出是否屬于Qt自動(dòng)管理的范圍,從而準確地檢測出內存泄漏和內存重復釋放問(wèn)題;并基于該檢測方法設計了一種Qt內存泄漏自動(dòng)檢測工具,該工具能很大程度上提高測試效率。

    Abstract:

    Qt inherits C++ language dynamic allocating memory management mechanism, it ensures that the developers can flexible use memory according to the actual needs. Meanwhile Qt has to face the “memory leak” problem of serious threating to software security. Although Qt adopted measures such as semi-automatic memory management mechanism, it has not fundamentally solved the problem. Therefore, this paper proposes a static detection method of software based Qt memory leak. For this semi-automatic memory management mechanism of QT, this method can identify whether belongs to the scope of Qt automatic management by statically analyzing these codes where the tested object allocated memory. Thereby it can accurately detect memory leak and memory repeated release. And based on this detection method, an automatic Qt memory leak detection tool is designed. This tool can greatly improve the test efficiency.

    參考文獻
    相似文獻
    引證文獻
引用本文

匡海燕,張玉中,劉仁千,李國杰,谷威.基于Qt的軟件內存泄漏靜態(tài)檢測技術(shù)研究計算機測量與控制[J].,2019,27(7):36-39.

復制
分享
文章指標
  • 點(diǎn)擊次數:
  • 下載次數:
  • HTML閱讀次數:
  • 引用次數:
歷史
  • 收稿日期:2018-12-17
  • 最后修改日期:2019-01-18
  • 錄用日期:2019-01-18
  • 在線(xiàn)發(fā)布日期: 2019-07-25
  • 出版日期:
文章二維碼
武胜县| 卢湾区| 西青区| 拜城县| 满洲里市| 洛扎县| 三河市| 垦利县| 永靖县| 泾源县| 林芝县| 巢湖市| 靖州| 宁乡县| 古蔺县| 威海市| 海南省| 鹿泉市| 灌南县| 忻城县| 分宜县| 长治市| 财经| 繁昌县| 桦川县| 遂川县| 陈巴尔虎旗| 清水河县| 买车| 鄄城县| 营山县| 和硕县| 镇江市| 桐城市| 肇东市| 光泽县| 耒阳市| 湾仔区| 芜湖市| 沂水县| 丽江市|