以下示例容易出现基于堆的缓冲区溢出
The following example is vulnerable to a heap-based buffer overflow
清单4 . example2 . c(容易出现基于堆的缓冲区溢出)。
Listing 4. example2.c (vulnerable to a heap-based buffer overflow).
清单1 . example1 . c(容易出现基于堆的缓冲区溢出)。
Listing 1. example1.c (vulnerable to a heap-based buffer overflow).
与编写普通的基于堆的应用程序相比,使用非堆内存的NHRT编程使工作量大大提高。
NHRT programming with nonheap memory creates significantly more work compared with writing regular heap-based applications.
回到我们在入门中非常简单的例子上,在下面的的图表中,你可以看到基于栈和基于堆的对象。
Returning to our very simple example, described in Getting Started, in the following diagram you can see the handle-stack and heap-allocated objects.
我们的MeasurementManager将由NHRT用于获取度量结果,由基于堆的审计线程用于返回度量结果。
Our MeasurementManager will be used by NHRTs fetching measurements and by the heap-based auditing thread to return measurements.
我并没有说不要花钱买可以让你得到快乐的东西,我的意思是:在消费的时候等一下,想一想,确定你购买的东西即重要又有用,而不是一味的买一堆东西,要基于目的和价值消费而不是习惯性消费。
Don’t just buy a bunch of Stuff.” Buy based on your goals and values, not out of habit.
那可能不是在总体的设计标准里,但它会变成你们的运行许可或者,设计基础的一部分,因为你们现在必须制定,这些事情,基于你们的反应堆。
It may not be in the general design criteria but it becomes part of your operating license or design basis because you now have to implement these things based on your reactors.
这可以消除基于.NET的应用程序中托管堆大小常见的锯齿模式,并且减少了应用程序为执行垃圾回收而花费的时间。
This can get rid of the sawtooth pattern often seen for the managed heap size in.net-based applications, and reduces the time an application spends performing garbage collection.
科学需要对结果有一个预测,或是猜想,这是建立在基于一大堆推断的理论之上。
Science requires having a prediction, a hypothesis, about what will happen-based on theory, a set of assumptions.
在现有核基地建新反应堆将是最简单的方法——在美国,开建反应堆的21个申请中有14个是基于现有基地,其获批较易。
The simplest course would be to build new reactors at existing nuclear sites-in America, 14 of the 21 applications to start building are for existing sites, where permission is easier.
DelayQueue:一个由优先级堆支持的、基于时间的调度队列。
DelayQueue: a time-based scheduling queue backed by a priority heap.
HeapRoots是一种用于分析IBMjdk堆转储的基于控制台的实验性工具,它类似于HAT工具,但是它不能查明内存泄漏的根源。
HeapRoots is an experimental console-based tool for analyzing IBM JDK heap dumps similar to the HAT tool, but it does not pinpoint the root cause of a memory leak.
例如,PalmOS提供两种不同的内存资源:基于堆和基于数据库。
For example, the PalmOS provides two distinctive memory resources: heap-based and database-based.
这份攻略基于将团队分为3堆的站位方法。
这个课程是基于项目的,所以你不会学习一堆无用的编码实践。
This course is project based so you will not be learning a bunch of useless coding practices.
基于质子交换膜燃料电池电堆的能量守恒,建立了在大范围的负载扰动下电池电堆温度的非线性模型。
Based on the energy conversation of proton exchange membrane fuel cell (PEMFC) stack, the nonlinear temperature model of PEMFC stack with the large range of disturbances is developed.
基于堆栈的对象复制到堆不如果你把保留信息吗?
Stack based Object not Copied to heap if you send retain message to it?
本文介绍了一种边界直接检测法,即将边界检测与噪声滤波相结合,它是基于自适应堆滤波的边界检测法。
In this paper, a direct edge detection method which combines filtering and detecting is introduced. The edge detection is based on adaptive stack filter.
基于船用核动力一体化反应堆结构的需要,建立了新型船用气体稳压器启动充气过程的数学模型,并进行了仿真计算。
Based on the structural requirement of the integrated reactor of shipping power plant, a mathematical model about charging progress of new shipping gas pressurizer is constructed and calculated.
基于蒙特卡罗方法的MCNP程序,研究了反应堆屏蔽水箱失水过程中的水箱表面辐射剂量的变化情况。
Based on the Monte Carlo MCNP code, the changes of radiation dose at the shield water tank surface during the process of lost water is studied.
研究成果是基于热电堆的原理用新型的平面布线取代三维的线圈布线。
According to the principle of thermopile, and the three-dimensional loop wire laying is substituted by new-style plane wire laying.
本文基于已进行的西北口混凝土面板堆石坝的原型观测埋设工作,针对此种坝型的特点,总结。归纳并讨论了其原型观测布置的若干原则与例证。
Based on the prototype observation of Xibeikou concrete face rockfill dam, the paper summarizes and discusses some of the observation arrangement principles and presents several typical examples.
针对细胞核之间经常出现重叠聚堆的现象,提出了一种新的基于模糊膨胀模型的细胞核轮廓提取方法。
In this paper an automated cell nucleus segmentation method is proposed based on a novel fuzzy growing snake model for color cell images from esophageal smears.
为了解决反应堆周期校验仪存在的问题,提出一种基于数值计算的软件信号源。
In order to solve the problem about the reactor period calibrating instrument, a new software signal source based on numerical calculation is presented.
对已有的溢出防范技术及其存在的问题进行分析,提出了一种基于随机匹配算法的堆溢出防范策略。
Based on current methods of anti-buffer overflow and the analysis of existing problems, the random fit algorithm was presented.
针对CFBR - II堆功率自动调节控制系统,提出了一套基于DSP的新型数字化控制方案。
To the control system of Power Self-regulation of CFBR-II Reactor, a new digital control scheme based on DSP has been brought forward.
针对CFBR - II堆功率自动调节控制系统,提出了一套基于DSP的新型数字化控制方案。
To the control system of Power Self-regulation of CFBR-II Reactor, a new digital control scheme based on DSP has been brought forward.
应用推荐