flobernd
71a6d786d7
Minor bugfixes and cosmetical changes
2017-04-12 21:00:46 +02:00
Joel Höner
ebf71d632f
Moved `internal` sub-struct from info to context
...
Also, fixed examples and tools.
2017-04-11 03:18:08 +02:00
Joel Höner
71a551ef1a
Merge branch 'develop' of https://github.com/zyantific/zyan-disassembler-engine into develop
2017-04-11 02:20:02 +02:00
Joel Höner
c9606c389d
Removed obsolete public decoder struct
2017-04-11 02:19:53 +02:00
flobernd
839729bfb2
Merge branch 'develop' of github.com:zyantific/zyan-disassembler-engine into develop
2017-04-09 22:57:30 +02:00
flobernd
b4f2d3bc62
CMake bugfix and cosmetical changes to the README file
2017-04-09 22:54:53 +02:00
Joel Höner
0376376b83
Temp. disabled encoder, updated CMake defaults
2017-04-08 19:36:43 +02:00
flobernd
8157b9fa42
Temporary change to expose the semantic operand-type
2017-01-23 01:17:15 +01:00
Joel Höner
cb98db80ea
Minor encoder cleanup
2017-01-22 17:38:14 +01:00
flobernd
98d34d0c62
Merge branch 'develop' of github.com:zyantific/zyan-disassembler-engine into develop
2017-01-20 00:03:28 +01:00
flobernd
dc70ee7eb2
Merge branch 'develop' of github.com:zyantific/zyan-disassembler-engine into develop
2017-01-20 00:02:21 +01:00
flobernd
4b54158aa2
Minor bugfixes
2017-01-20 00:01:56 +01:00
Joel Höner
c0f53a3a69
More encoder progress, minor refactoring
...
- Added encoding support for more X86 features (IMMs, SIB, ..)
- Added ZYDIS_ARRAY_SIZE macro
- Moved ZYDIS_MAX_INSTRUCTION_LENGTH (Decoder.h -> InstructionInfo.h)
- Renamed ZydisInstructionEncoder -> ZydisEncoderContext
- Various bug-fixes
2017-01-19 17:37:05 +01:00
Joel Höner
14848083ae
More encoder progress
2017-01-17 20:53:34 +01:00
flobernd
5ead1d9345
Minor refactorings
...
- The instruction pointer is now directly passed to the ZydisDecoderDecodeInstruction function
- Removed the user-data pointer in the ZydisOperandInfo struct
2017-01-12 20:14:12 +01:00
Joel Höner
689708fbd3
Refactored docstrings to use uppercase abbreviations
2017-01-12 19:37:57 +01:00
Joel Höner
a9514fbfea
Minor documentation and style fixes
2017-01-12 18:54:16 +01:00
Joel Höner
0793090388
Implemented basic prefix encoding
2017-01-12 18:53:28 +01:00
Joel Höner
3d2365b6ed
Added encoder stub, made decoder input const
2017-01-12 15:12:09 +01:00
flobernd
3b56c867fc
Updated mask-policy definitions for EVEX instructions
2017-01-11 22:11:30 +01:00
flobernd
5af25eee4b
Fixed a bug in ZYDIS_CHECK that caused functions to run more than once on certain conditions
2017-01-11 17:29:26 +01:00
flobernd
c0528d5cb0
Exposed ZYDIS_MAX_INSTRUCTION_LENGTH constant
2017-01-11 11:24:10 +01:00
flobernd
4165c3b9b2
Removed Input-struct. The input buffer is now directly passed to the ZydisDecodeInstruction function.
2017-01-11 11:20:24 +01:00
Joel Höner
b291c8a760
Use size_t instead of uint64_t for memory input
2017-01-07 00:29:16 +01:00
Joel Höner
2e11b44ddf
Minor CMake and C++ compatibility fixes
2017-01-06 02:06:08 +01:00
flobernd
5b63557f3c
Fixed decoding of instructions with EVEX high-16 register specifiers (R', X, V')
2016-12-05 21:06:29 +01:00
flobernd
d4dd176438
Refactorings and bugfixes
...
- Added support for the BOUND prefix
- Added support for more detailed operand-actions (read, write, readwrite, cond. read, cond. write, read + cond. write, write + cond. read)
- Added operand-visibility info (explicit, implicit, hidden)
- Fixed some bugs in the prefix-decoding routines
- Removed stdbool.h dependency and introduced custom boolean-type for better portability
2016-12-05 02:24:01 +01:00
flobernd
bb913f1272
Fixed some instruction-definitions and re-generated tables
2016-11-29 23:48:10 +01:00
flobernd
bcfb84e59b
Minor refactorings
2016-11-29 11:49:38 +01:00
Joel Höner
e655e8a1b8
Fixed broken enum typedef
2016-11-29 04:09:41 +01:00
Joel Höner
f4959072dc
Renamed ZydisFormatFlags -> ZydisFormatterFlags
2016-11-28 19:13:01 +01:00
Joel Höner
4e78d04788
Fixed lib build with clang, fixed tools
2016-11-28 18:56:39 +01:00
flobernd
477a908bb0
Added more formatter-hooks
...
- ZYDIS_FORMATTER_HOOK_PRINT_DISPLACEMENT
- ZYDIS_FORMATTER_HOOK_PRINT_IMMEDIATE
2016-11-28 11:14:47 +01:00
flobernd
9a0b1da975
Added missing registers and CPUID feature-flags
2016-11-27 23:24:43 +01:00
flobernd
e481c3e401
Minor refactorings and changes to the instruction-formatter
...
- The formatter now makes use of the format-macros in inttypes.h for better portability
- Added formatter-hook ZYDIS_FORMATTER_HOOK_PRINT_SEGMENT
2016-11-26 18:41:58 +01:00
flobernd
83f41f0f55
Removed unneeded files
2016-11-26 13:15:35 +01:00
flobernd
816bb570c7
Complete rewrite of the instruction-formatter
...
- Added hooking functionality to support custom instruction-formatting
- Added FormatterHooks demo that demonstrates the hooking functionality
InstructionEditor:
- Fixed issues with still non-deterministic output on code-generation
2016-11-26 13:08:37 +01:00
flobernd
7f1c0bd8f1
Minor refactorings and bugfixes
2016-11-24 10:57:23 +01:00
flobernd
1159966784
Changed definition-sorting to produce deterministic output (JSON and generated tables)
2016-11-22 21:47:54 +01:00
flobernd
7f7cbd8dcd
Internal changes and optimizations of the generated tables and the InstructionEditor
2016-11-22 18:12:05 +01:00
flobernd
be56ef937d
Minor bugfixes and refactorings
2016-11-21 14:55:17 +01:00
flobernd
c4dce1adb9
Added support for test-register operands (TR0..TR7)
...
- New instructions: "mov TR, GPR32" and "mov GPR32, TR"
2016-11-14 03:39:17 +01:00
flobernd
f5610b937e
Fixed code generation and tables (again)
2016-11-14 02:53:16 +01:00
flobernd
ead586b722
Fixed code generation and tables
2016-11-14 02:22:29 +01:00
flobernd
58c73b2885
Bugfixes and Support for some more registers
...
Zydis:
- Fixed operand-size of some instructions in 64-bit mode
- Fixed operand decoding of the "movq MM, GPR" instruction
- Added table-registers (GDRT, LDTR, IDTR, TR)
- Added test-registers (TR0..TR7)
- Added BNDCFG and BNDSTATUS registers
- Added MXCR register
InstructionEditor:
- The code-generator now eliminates duplicate instruction-definitions to optimize the size of the generated tables
- Fixed conflict indication for some operand type/encoding combinations
- Added conflict indication for X86Flags
2016-11-14 02:10:59 +01:00
flobernd
3f09ffca69
Minor refactorings and further preparation for advanced features
2016-11-11 22:03:26 +01:00
flobernd
98e9559d6d
Fixed some instruction definitions
2016-09-22 21:19:15 +02:00
flobernd
4c911f91b9
Minor bugfixes and refactorings
...
* Fixed some instruction Definitions
* Implemented a primitive diffing-mode to compare different versions of the instruction-database (InstructionEditor)
2016-09-21 20:02:09 +02:00
flobernd
317976afbf
Minor bugfixes
2016-09-13 20:24:14 +02:00
flobernd
72907c6845
Added support for instructions with 5 operands
...
* optimized table structure to support instructions with 5 operands (vpermil2ps, vpermil2pd)
* updated InstructionEditor
2016-09-13 05:26:55 +02:00
flobernd
54f2bc43ac
Preparations for optional feature support
2016-08-23 15:58:40 +02:00
flobernd
a6e76d81b4
Preparations for optional feature support
2016-08-23 15:57:38 +02:00
flobernd
52dd9fac89
Fixed CMake file
2016-06-20 01:33:29 +02:00
flobernd
7c9a6db6af
Initial version 2.0 release
2016-05-25 21:25:48 +02:00