Skip to content
TopicTracker
来自 devblogs.microsoft.com/oldnewthing查看原文
译文语言译文语言

另一种控制流保护检查:验证与调用的组合

本文介绍了控制流保护(Control Flow Guard, CFG)机制中的另一种检查方式——一种将验证与调用合二为一的组合操作。这种一体化的方法在确保安全性的同时,优化了性能。

背景速读

- 本文来自微软开发者博客《The Old New Thing》,作者是知名工程师Raymond Chen。该博客常深入讲解Windows底层机制、C++编程技巧和Win32 API的历史与细节。 - "Control Flow Guard"(CFG,控制流防护)是Windows 8.1及之后引入的一项安全机制。它防止程序被攻击者劫持后跳转到非法地址执行代码。 - CFG通常会在每次间接函数调用前插入一个"验证"步骤,检查目标地址是否合法。但微软编译器还有一种优化选项:把"验证+调用"合并成一条内部指令,减少性能开销。 - 这篇文章讲的是这种合并指令的存在原因、如何工作,以及开发者在编写汇编代码或逆向分析时需要注意什么。涉及底层系统编程、安全机制和编译器优化,属于比较专业的技术话题。

相关报道

  • The article claims AGI was achieved on January 16, 2026, when a model recursively improved its own code without human help, rapidly surpassing human-level performance across many domains.

  • The State of AI 2026 report provides an overview of the latest developments, trends, and key statistics in artificial intelligence as of that year, covering advancements in models, industry adoption, and policy landscapes.

  • Anthropic's research explores two potential scenarios for global AI leadership by 2028, examining how different trajectories in AI development and governance could shape international competition and cooperation in the field.

  • Microsoft's Q1 2026 report examines global AI diffusion trends, highlighting accelerating enterprise adoption of generative AI, growing investment in cloud and on-device inference, and regional disparities in readiness and regulation.

  • The Wall Street Journal's 2026 Layoffs Tracker provides a running list of job cuts announced across U.S. industries, tracking the scale and timing of reductions by major companies throughout the year.