CMake bugfix and cosmetical changes to the README file

This commit is contained in:
flobernd 2017-04-09 22:54:53 +02:00
parent 8157b9fa42
commit b4f2d3bc62
3 changed files with 13 additions and 12 deletions

View File

@ -25,7 +25,7 @@ option(ZYDIS_BUILD_TOOLS "Build tools" TRUE)
if (NOT CONFIGURED_ONCE) if (NOT CONFIGURED_ONCE)
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
"${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR
"${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang") "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
set(compiler_specific "-std=c99 -pedantic -Wextra -Werror") set(compiler_specific "-std=c99 -pedantic -Wextra -Werror")
elseif (MSVC) elseif (MSVC)
set(compiler_specific "/WX /W4 /TC") set(compiler_specific "/WX /W4 /TC")

View File

@ -1,5 +1,5 @@
Zyan Disassembler Engine (Zydis) # Zyan Disassembler Engine (Zydis)
================================ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
Fast and lightweight x86/x86-64 disassembler library. Fast and lightweight x86/x86-64 disassembler library.
@ -7,17 +7,17 @@ Fast and lightweight x86/x86-64 disassembler library.
- Supports all x86 and x86-64 (AMD64) general-purpose and system instructions. - Supports all x86 and x86-64 (AMD64) general-purpose and system instructions.
- Supported ISA extensions: - Supported ISA extensions:
- FPU (x87), MMX - FPU (x87), MMX
- SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4A, AESNI - SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4A, AESNI
- AVX, AVX2, AVX512BW, AVX512CD, AVX512DQ, AVX512ER, AVX512F, AVX512PF, AVX512VL - AVX, AVX2, AVX512BW, AVX512CD, AVX512DQ, AVX512ER, AVX512F, AVX512PF, AVX512VL
- ADX, BMI1, BMI2, FMA, FMA4 - ADX, BMI1, BMI2, FMA, FMA4
- .. - ..
- Optimized for high performance - Optimized for high performance
- No dynamic memory allocation - No dynamic memory allocation
- Perfect for kernel-mode drivers and embedded devices - Perfect for kernel-mode drivers and embedded devices
- Very small file-size overhead compared to other common disassembler libraries - Very small file-size overhead compared to other common disassembler libraries
- Language bindings - Language bindings
- C++, Delphi, Python, .. - C++, Delphi, Python, ..
- Complete doxygen documentation - Complete doxygen documentation
## Quick Example ## ## Quick Example ##

View File

@ -357,7 +357,8 @@ typedef struct ZydisOperandInfo_
*/ */
ZydisBool isSigned; ZydisBool isSigned;
/** /**
* @brief Signals, if the immediate value contains a relative offset. * @brief Signals, if the immediate value contains a relative offset. You can use
* @c ZydisUtilsCalcAbsoluteTargetAddress to determine the absolute address value.
*/ */
ZydisBool isRelative; ZydisBool isRelative;
/** /**