Skip to content

Commit 3797e97

Browse files
committed
tech review
1 parent 7c8fdaf commit 3797e97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/hybrid-patchable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ helpviewer_keywords: ["__declspec keyword [C++], hybrid_patchable", "hybrid_patc
99

1010
**Microsoft Specific**
1111

12-
Use `__declspec(hybrid_patchable)` to mark a function as a hybrid patchable function. This attribute generates a fast-forward sequence of instructions that are executed before the function is called.
12+
Use `__declspec(hybrid_patchable)` to mark a function as a hybrid patchable function. This attribute generates a fast-forward sequence. Fast-forward sequences are small x64 functions which contain no real logic, and tail-call the real Arm64EC function. Because fast-forward sequences are primarily used for hooking, if they are unaltered, execution is transferred directly to the Arm64EC function.
1313

1414
## Syntax
1515

@@ -46,4 +46,4 @@ EXP+#Example:
4646
## See also
4747
4848
[`__declspec`](../cpp/declspec.md)\
49-
[Fast-Forward sequences](/windows/arm/arm64ec-abi)
49+
[Fast-Forward sequences](/windows/arm/arm64ec-abi#fast-forward-sequences)

0 commit comments

Comments
 (0)