zydis: 4.0.0 -> 4.1.0 (#286371)

This commit is contained in:
Joel Höner 2024-02-10 18:41:09 +01:00 committed by GitHub
parent bc86c058a5
commit c02e683435
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 13 deletions

@ -13,33 +13,24 @@ let
in
stdenv.mkDerivation rec {
pname = "zydis";
version = "4.0.0";
version = "4.1.0";
src = fetchFromGitHub {
owner = "zyantific";
repo = "zydis";
rev = "v${version}";
hash = "sha256-/no/8FNa5LlwhZMSMao4/cwZk6GlamLjqr+isbh6tEI=";
hash = "sha256-akusu0T7q5RX4KGtjRqqOFpW5i9Bd1L4RVZt8Rg3PJY=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zycore ];
cmakeFlags = [
"-DZYAN_SYSTEM_ZYCORE=ON"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
];
doCheck = true;
nativeCheckInputs = [ python3 ];
checkPhase = ''
pushd ../tests
python3 ./regression.py test ../build/ZydisInfo
python3 ./regression_encoder.py \
../build/Zydis{Fuzz{ReEncoding,Encoder},TestEncoderAbsolute}
popd
'';
passthru = { inherit zycore; };
meta = with lib; {

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "zycore";
version = "1.4.1";
version = "1.5.0";
src = fetchFromGitHub {
owner = "zyantific";
repo = "zycore-c";
rev = "v${version}";
hash = "sha256-kplUgrYecymGxz92tEU6H+NNtcN/Ao/tmmqdVo2c7HA=";
hash = "sha256-Kz51EIaw4RwrOKXhuDXAFieGF1mS+HL06gEuj+cVJmk=";
};
nativeBuildInputs = [ cmake ];