diff --git a/README.md b/README.md index ce8bc015..9cc4a91c 100644 --- a/README.md +++ b/README.md @@ -350,3 +350,30 @@ THE POSSIBILITY OF SUCH DAMAGE. 損害、間接損害、偶発的な損害、特別損害、懲罰的損害、または結果損害について、 一切責任を負わないものとします。 ``` + +### zydis + +``` +The MIT License (MIT) + +Copyright (c) 2014-2020 Florian Bernd +Copyright (c) 2014-2020 Joel Höner + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +``` diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index e5bbb936..9419e1da 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -40,3 +40,10 @@ if (NOT TARGET xbyak) target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES) endif() endif() + +# zydis + +option(ZYDIS_BUILD_TOOLS "" OFF) +option(ZYDIS_BUILD_EXAMPLES "" OFF) +set(ZYDIS_ZYCORE_PATH "${CMAKE_CURRENT_LIST_DIR}/zycore" CACHE PATH "") +add_subdirectory(zydis) diff --git a/externals/README.md b/externals/README.md index c1caca55..94ba26b0 100644 --- a/externals/README.md +++ b/externals/README.md @@ -8,6 +8,8 @@ git remote add externals-mp https://github.com/MerryMage/mp.git --no-tags git remote add externals-robin-map https://github.com/Tessil/robin-map.git --no-tags git remote add externals-vixl https://git.linaro.org/arm/vixl.git --no-tags git remote add externals-xbyak https://github.com/herumi/xbyak.git --no-tags +git remote add externals-zycore https://github.com/zyantific/zycore-c.git --no-tags +git remote add externals-zydis https://github.com/zyantific/zydis.git --no-tags ``` ## Updating @@ -20,9 +22,13 @@ git fetch externals-mp git fetch externals-robin-map git fetch externals-vixl git fetch externals-xbyak +git fetch externals-zycore +git fetch externals-zydis git subtree pull --squash --prefix=externals/fmt externals-fmt git subtree pull --squash --prefix=externals/mp externals-mp git subtree pull --squash --prefix=externals/robin-map externals-robin-map git subtree pull --squash --prefix=externals/vixl/vixl externals-vixl git subtree pull --squash --prefix=externals/xbyak externals-xbyak +git subtree pull --squash --prefix=externals/zycore externals-zycore +git subtree pull --squash --prefix=externals/zydis externals-zydis ```