Py-dis

Latest version: v0.3

Safety actively analyzes 613631 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.2

- Fixed build on CentOS / RHEL
- or, more generally speaking, any toolkit that doesn't enable C99 support by default
- Fixed gather register check for `VGATHERPF0{D|Q}{PS|PD}` instruction
- Fixed check for invalid BOUND registers
- Fixed printing of hex-suffix for `0` values
- Fixed CPU-flag actions for instructions that `TEST` and `MODIFIY` certain flags at the same time
- Introduced a new CPU-flag action called `TESTED_MODIFIED`
- Some FreeBSD fixes for examples and including Zydis in shared/static libraries (contributed by gdbinit)
- Fixed two wrong assert conditions

2.0.1

Detailed changelog (since v2.0.0 Final)

- Improved instruction decoding
- Fixed decoding of `IS4` encoded operands in non 64-bit mode
- Fixed check for invalid gather registers in non 64-bit mode

- Improved formatter
- Fixed padding of immediate values
- Fixed printing of `XACQUIRE`/`XRELEASE` prefixes (formatter)

- Fixed some instruction definitions
- `SCAS`, `INS` and `STOS` does not allow the default `ES` segment to be overridden with a segment override prefix
- Renamed `SAVESSP` to `SAVEPREVSSP`
- Fixed `ENCLS`, `ENCLU` and `ENCLV` instructions

- Misc bugfixes
- Added missing `extern "C"` block in `String.h`
- Changed type of `MOFFS` memory operands to `ZYDIS_MEMOP_TYPE_MEM` instead of `ZYDIS_MEMOP_TYPE_INVALID`

2.0.0

This is the final release of Zydis 2.

2.0.0beta1

This is the first beta release, the public interface is now expected to be stable.

2.0.0alpha2

- Added new ISA-extensions
- `BITALG`
- `GFNI`
- `RDPID`
- `VAES`
- `VBMI2`
- `VNNI`
- `VPCLMULQDQ`

- Added implicit operands for instructions with stack-operations
- Implicit `SP/ESP/RSP` register-operand
- Implicit `[SP/ESP/RSP]` memory-operand

- Implemented decoder-modes to support ISA-extensions that conflict with existing instructions
- Added decoder-modes
- `ZYDIS_DECODER_MODE_MINIMAL`
- `ZYDIS_DECODER_MODE_AMD_BRANCHES`
- `ZYDIS_DECODER_MODE_KNC`
- `ZYDIS_DECODER_MODE_MPX`
- `ZYDIS_DECODER_MODE_CET`
- `ZYDIS_DECODER_MODE_LZCNT`
- `ZYDIS_DECODER_MODE_TZCNT`
- Removed `ZydisDecoderInitEx` and the possibility to pass a decoder-granularity (use `ZYDIS_DECODER_MODE_MINIMAL` instead)

- Decoder improvements
- Instructions which are only valid in protected-mode are now rejected, if `ZYDIS_MACHINE_MODE_REAL_16` is used
- The `scale` of memory-operands is now correctly set to `1` in 16-bit mode, if an index register was specified

- Major formatter changes
- Switched to custom length-aware `ZydisString` "class" to improve performance and usability
- Added `ZydisFormatterSetAttribute` function for simple formatter customization
- `ZYDIS_FORMATTER_PROP_UPPERCASE`
- `ZYDIS_FORMATTER_PROP_FORCE_MEMSEG`
- `ZYDIS_FORMATTER_PROP_FORCE_MEMSIZE`
- `ZYDIS_FORMATTER_PROP_ADDR_FORMAT`
- `ZYDIS_FORMATTER_PROP_DISP_FORMAT`
- `ZYDIS_FORMATTER_PROP_IMM_FORMAT`
- `ZYDIS_FORMATTER_PROP_HEX_UPPERCASE`
- `ZYDIS_FORMATTER_PROP_HEX_PREFIX`
- `ZYDIS_FORMATTER_PROP_HEX_SUFFIX`
- `ZYDIS_FORMATTER_PROP_HEX_PADDING_ADDR`
- `ZYDIS_FORMATTER_PROP_HEX_PADDING_DISP`
- `ZYDIS_FORMATTER_PROP_HEX_PADDING_IMM`
- Hook refactorings
- Added `ZYDIS_FORMATTER_HOOK_PRE_OPERAND`, `ZYDIS_FORMATTER_HOOK_POST_OPERAND` and `ZYDIS_FORMATTER_HOOK_PRINT_REGISTER`
- Renamed `ZYDIS_FORMATTER_HOOK_PRINT_DISPLACEMENT` to `ZYDIS_FORMATTER_HOOK_PRINT_DISP`
- Renamed `ZYDIS_FORMATTER_HOOK_PRINT_IMMEDIATE` to `ZYDIS_FORMATTER_HOOK_PRINT_IMM`
- Renamed `ZYDIS_FORMATTER_HOOK_PRINT_OPERANDSIZE` to `ZYDIS_FORMATTER_HOOK_PRINT_MEMSIZE`
- Removed `ZYDIS_FORMATTER_HOOK_PRINT_SEGMENT`

- Improved no-libc support
- Added `ZYDIS_NO_LIBC` CMake switch
- When enabled, removes dependency on `memset`, `memcpy` and `strlen`
- Added custom integer types
- Added own `NULL`

- Added project logo
- Contributed by [LekoArts](https://github.com/LekoArts)

- Added Visual Studio project files
- Static-, shared- and kernel-mode configuration
- Contributed by [Mattiwatti](https://github.com/Mattiwatti)

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.