Skip to content

Commit

Permalink
Doc: mention register scaling changes in v5 porting guide
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z committed Feb 4, 2024
1 parent 61d5f5b commit 53945ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/porting-guide-v4-v5.md
Expand Up @@ -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.

0 comments on commit 53945ae

Please sign in to comment.