是否可以确定指令的时间跨度?

发布于 2024-09-30 17:52:06 字数 302 浏览 0 评论 0原文

我有一个问题,我无法通过谷歌搜索,因为我真的不知道它的正确术语(如果概念存在的话)。我的问题是这样的;

想象一下 C 中有一个 while 循环,它执行 1 个内联汇编指令

__asm { mov eax, ebp };

然后我们将分别使用 printf 打印它的输出。但是否有可能确定“时间”何时正好达到 1 秒呢?

我正在对 ASLR 进行一些研究,我想通过查看随机化是否彼此间隔恰好 X 秒来查看每次随机化之间是否有固定的时间跨度。

希望您理解,并感谢您的阅读/帮助。

I have a question, which I was unable to Google because I really don't know the proper terminology for it, if concept exists that is. My question is this;

Imagine having a while loop in C, which does 1 inline assembly instruction

__asm { mov eax, ebp };

Then we would print it's output with printf, respectively. But would it be possible to determine when "time" has reached exactly 1 second?

I'm doing some research on ASLR, and I want to see if there is a fixed timespan between each randomization by seeing if the randomization occures exactly X seconds apart from each other.

Hope you understand, and thanks for reading/helping.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

友欢 2024-10-07 17:52:06

进程启动后,地址空间不会被随机化。

The address space does not get randomized after the process is started.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文