Skip to content

Commit

Permalink
Add missing push/pop variants
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd committed Nov 3, 2024
1 parent a5a6f61 commit 282bb95
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
4 changes: 4 additions & 0 deletions include/Zydis/Formatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ typedef enum ZydisFormatterProperty_
* instead of prepending it as a pseudo prefix.
*
* The default value is implementation specific: `ZYAN_FALSE` for Intel and `ZYAN_TRUE` for ATT.
*
* WARNING: Suffix mode currently does not correctly follow the standard. The `nf` suffix should
* appear before any additional `zu` and/or `cc` suffix. This is not the case.
* The current implementation would e.g. emit `imulzunf` instead of `imulnfzu`.
*/
ZYDIS_FORMATTER_PROP_DECO_APX_NF_USE_SUFFIX,

Expand Down
32 changes: 16 additions & 16 deletions src/Generated/DecoderTables.inc
Original file line number Diff line number Diff line change
Expand Up @@ -201,22 +201,22 @@ const ZydisDecoderTreeNode FILTERS_MODE_COMPACT[][2] =
{ ZYDIS_INVALID, ZYDIS_DEFINITION(0x0, 0x15A) },
{ ZYDIS_INVALID, ZYDIS_DEFINITION(0x0, 0x15A) },
{ ZYDIS_INVALID, ZYDIS_DEFINITION(0x0, 0x15A) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x33), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x34), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x35), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x36), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x37), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x38), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x39), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3A), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3B), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3C), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3D), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3E), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3F), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x40), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x41), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x42), ZYDIS_INVALID },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x33), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x34), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x35), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x36), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x37), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x38), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x39), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3A), ZYDIS_DEFINITION(0x0, 0x5D4) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3B), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3C), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3D), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3E), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x3F), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x40), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x41), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_REX_W, 0x42), ZYDIS_DEFINITION(0x0, 0x527) },
{ ZYDIS_INVALID, ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_OPERAND_SIZE, 0x2) },
{ ZYDIS_INVALID, ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_OPERAND_SIZE, 0x3) },
{ ZYDIS_INVALID, ZYDIS_FILTER(ZYDIS_NODETYPE_FILTER_OPERAND_SIZE, 0x4) },
Expand Down

0 comments on commit 282bb95

Please sign in to comment.