Commit Graph

67 Commits

Author SHA1 Message Date
fG! 9f0eae62c1 Some FreeBSD fixes for examples and including Zydis in shared/static libraries 2018-07-12 00:43:27 +02:00
Joel Höner a343d90628
Fixed build on CentOS / RHEL
or, more generally speaking, any toolkit that doesn't enable C99 support by default

Closes #40
2018-05-21 22:11:25 +02:00
flobernd 778401a51c
CMake: Fixed `ZYDIS_FEATURE_DECODER` and `ZYDIS_FEATURE_FORMATTER` options 2018-02-28 21:16:32 +01:00
Joel Höner 771d2017fd
Clean-ups in `CMakeLists.txt`
- Strip trailing whitespace
- Indent using spaces
- Prefix `ZYDIS_WHOLE_PROGRAM_OPTIMIZATION`
2018-02-28 20:06:43 +01:00
flobernd dd90a66d99
Added `WHOLE_PROGRAM_OPTIMIZATION` option to the CMake file 2018-02-27 23:56:43 +01:00
Joel Höner fca59443d1 Install `ZydisExportConfig.h` 2018-02-06 19:47:55 +01:00
Joel Höner 320a90db53 Suppress second `include` in install rule
Resolves #31
2018-02-06 19:10:32 +01:00
flobernd f090a4a610
Updated CMake file 2018-01-19 23:35:34 +01:00
flobernd e943baa683 Removed `InternalTypes.h` from `CMakeLists.txt` 2017-12-03 22:38:20 +01:00
Joel Höner 346b7fec10 Moved internal headers 2017-12-03 22:38:20 +01:00
flobernd 217d5cc9af
Minor refactorings and bugfixes 2017-12-02 06:54:47 +01:00
flobernd 02030c3b92
Various changes and refactorings
- Moved types and functions from `FormatHelper.h/c` to `String.h/c`
- Added `ZydisMnemonicGetStringEx` function that returns the mnemonic-string as `ZydisString` struct
- Added `ZYDIS_UNUSED_PARAMETER` macro
- Fixed omitting of operands in custom formatter-hooks
- Fixed `FormatterHooks` example
- Refactored some code
2017-12-02 06:36:12 +01:00
Joel Höner 9bd4616f6f Added `ZYDIS_FUZZ_AFL_FAST` CMake switch
- Enables AFL persistent mode and reduces prints in `ZydisFuzzIn`
2017-11-27 00:32:15 +01:00
Joel Höner df949a5eb0 Improved no-libc support
- Added `ZYDIS_NO_LIBC` CMake switch
- When enabled, removes dependency on `memset`, `memcpy` and `strlen`
2017-11-24 19:25:48 +01:00
Joel Höner fb452e5b59 Inverted feature gate macros 2017-11-23 22:42:25 +01:00
Joel Höner c77c9f2561 Move encoder to `feature/encoder` branch
- Won’t be ready until v2.1
2017-10-17 17:30:55 +02:00
flobernd 75729e8446 Fixed compilation of the performance-test tool on linux systems 2017-09-15 00:42:05 +02:00
flobernd 01dca38516 Significantly improved formatter performance
- Exchanged `vsnprintf` by custom print functions
2017-09-14 00:59:23 +02:00
flobernd 5914abc0be Tables fixes and more meta-info
- Added exception-class meta-info
- Added CMake option for shared-libraries
- Fixed some instruction-definitions
- Updated VersionInfo.rc
2017-09-06 17:05:05 +02:00
flobernd fafa93d40b Internal refactorings and new meta-info
- Imported meta-info from Intel XED
- Added instruction-category meta-info to the `ZydisDecodedInstruction` struct
- Added isa-set meta-info to the `ZydisDecodedInstruction` struct
- Added isa-extension meta-info to the `ZydisDecodedInstruction` struct
2017-09-05 17:35:23 +02:00
Joel Höner df6b0cb628 Moved ZydisFuzzIn and ZydisPerfTest to examples 2017-07-24 21:59:54 +02:00
flobernd 5bdc173649 Added a tool that prints instruction details 2017-07-12 19:54:42 +02:00
Joel Höner 6bd79283e0 Fixed encoder header 2017-07-06 13:12:43 +02:00
Joel Höner 57059d4e0d Added feature switch for decoder 2017-07-06 09:52:14 +02:00
Joel Höner 610d08960b Merge branch 'develop' of https://github.com/zyantific/zyan-disassembler-engine into develop
# Conflicts:
#	CMakeLists.txt
2017-07-06 08:17:38 +02:00
Joel Höner 41776bac29 Updated encoder to a lot of previous refactorings 2017-07-06 08:07:22 +02:00
flobernd df2dbd9109 Refactorings
- Renamed Types.h to CommonTypes.h
- Splitted DecoderTypes.h into SharedTypes.h and DecoderTypes.h
- Splitted InstructionTable.h into SharedData.h and DecoderData.h
- Implemented `ZydisGetEncodableInstructions` in EncoderData.h
- Some internal changes to the data-tables
2017-07-06 00:34:36 +02:00
flobernd bbf8b1193b Added performance test 2017-07-03 21:10:04 +02:00
Joel Höner 7ba6ea0596 Moved private headers to `src` directory 2017-07-03 04:16:38 +02:00
Joel Höner 2eb915a90e Fixed project structure in VS 2017-07-03 03:37:56 +02:00
Joel Höner 449176b140 Added basic install rules to CMakeLists 2017-07-03 03:21:24 +02:00
Joel Höner a0f54a45c3 Modernized CMakeLists 2017-07-02 08:40:41 +02:00
flobernd bd38d86986 Updated CMake file and Zydis features 2017-06-21 18:25: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
Joel Höner 3d2365b6ed Added encoder stub, made decoder input const 2017-01-12 15:12:09 +01:00
Joel Höner 4d0caac923 Fixed build for tools 2017-01-11 12:18:26 +01:00
flobernd 9804bf1d3e Fixed CMake file 2017-01-11 11:51:18 +01:00
Joel Höner c11929a5f7 Prefixed CMake options 2017-01-10 06:01:04 +01:00
Joel Höner 2e11b44ddf Minor CMake and C++ compatibility fixes 2017-01-06 02:06:08 +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 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 3f09ffca69 Minor refactorings and further preparation for advanced features 2016-11-11 22:03:26 +01:00
flobernd 2472a86405 Merge branch 'develop' of github.com:zyantific/zyan-disassembler-engine into develop 2016-09-13 05:27:20 +02:00
Joel Höner 589c4ae691 added stuff forgotten in previous commit 2016-08-28 23:12: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
flobernd 02d0d84c68 Minor bugfixes 2015-05-21 21:42:06 +02:00