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 ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" 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")
elseif (MSVC)
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.

View File

@ -357,7 +357,8 @@ typedef struct ZydisOperandInfo_
*/
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;
/**