c语言检测内存方法代码,C语言内存检测代码库的分析与设计.doc

C语言内存检测代码库的分析与设计

+++

本科生毕业设计(论文)

学院(系): 软件学院

专 业: 软件工程

学 生: + 成

指导教师: +

完成日期 + 年 4 月

+学院本科生毕业设计(论文)

C语言内存检测代码库的分析与设计

The analysis and design of C language memory test code library

总 计 : 24 页

表 格 : 0 个

插 图 : 17 幅

+ 学 院 本 科 毕 业 设 计(论文)

C语言内存检测代码库的分析与设计

The analysis and design of C language memory test code library

学 院(系): 软件学院

专 业: 软件工程

学 生 姓 名: +

学 号: +8

指 导 教 师(职称): +)

评 阅 教 师: +

完 成 日 期: 2011年4月

+C语言内存检测代码库的分析与设计

软件工程专业 +

[摘 要]程序员在C语言编程的过程中极易出现内存泄露,内存写越界等一系列问题,从而导致计算机的性能降低。最终,过多的可用内存被分配掉导致全部或部分设备停止正常工作,或者应用程序崩溃。analysis and design of C language memory test code library

The major of software engineering LV Xiao-cheng

Abstract: Memory leaks and the series of problems appear easily in the processing of the C programming language, such as memory write cross-border, resulting in computer performance reduced. Finally, the excessive available memory assigned off cause all or part of the equipment to stop work normally, or application collapse. This system according to this problem, based on C language commonly used in the library functions such as dynamic memory allocations all to realloc, calloc malloc, some function, free to design encapsulation, and rewrite record for each application and labeled, memory in memory when calls after release of its release function package labeling modified memory information. After the program "atexit function call memory information retrieval and statistics block memory use information, finally find out memory leaks, memory cross-border written ect error and prompt the user and save the error messages .

Key words: Memory leaks; Dynamic memory allocations ; Detection memory

目  录

1 绪论1

1.1 课题背景与意义1

1.2 国内外发

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值