From 53945aed40c4d8a3a064b5df1582bdc370252437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20H=C3=B6ner?= Date: Sun, 4 Feb 2024 20:14:55 +0100 Subject: [PATCH] Doc: mention register scaling changes in v5 porting guide --- assets/porting-guide-v4-v5.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/porting-guide-v4-v5.md b/assets/porting-guide-v4-v5.md index 157c44f8..6bb4aab3 100644 --- a/assets/porting-guide-v4-v5.md +++ b/assets/porting-guide-v4-v5.md @@ -2,6 +2,8 @@ # Encoder +- `ZydisRegisterGetLargestEnclosing` will now return the given register itself for registers that don't have + an enclosing register. Previously it would return `ZYDIS_REGISTER_NONE` in these cases. - `ZydisEncoderDecodedInstructionToEncoderRequest` now expects exactly `instruction->operand_count_visible` to be passed, not `operand_count_visible` at maximum. Passing a lower value was previously allowed but didn't really make much sense at all. \ No newline at end of file