如何从C中的/ proc / self / maps确定内存映射的长度?

时间:2016-04-16 19:55:16

标签: c linux memory

通过读取Public function setPasswordAttribute($password) { return $this->attributes['password'] = bcrypt($password); } 中的条目并将长度计算为映射的偏移量和结束地址之间的差异,进程确定内存映射的长度是否正确?

我尝试通过PDO::ATTR_PERSISTENT关闭我没有明确打开的内存映射,如果我正确解释了手册页,我需要起始地址(偏移量)和长度到这样做。

0 个答案:

没有答案