Draft: Resolve "Update Capstone to >5.0.0"

Closes #328 (closed)

Merge request reports

Loading
+1 −1
Changes for scripts/profiles/0.9.4/install/capstone.install: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ pkg_install() {
    CURR="${SOURCE_DIR}/${ID}"
    prepare_build_dir "${CURR}"
    cd "${CURR}/build"
    ${CMAKE} -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -DCMAKE_BUILD_TYPE:STRING=Release ..
    ${CMAKE} -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS=ON ..
    make -j"${CORES}" install
}

+5 −0
Changes for scripts/profiles/0.9.4/install/syscall_intercept.install: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -48,6 +48,11 @@ pkg_install() {
    CURR="${SOURCE_DIR}/${ID}"
    EXTRA_INSTALL_ARGS="${PROFILE_EXTRA_INSTALL_ARGS[${ID}]}"
    prepare_build_dir "${CURR}"

    # patch path for new capstone 5.0.5 include location
    sed -i 's/\#include <capstone.h>/\#include <capstone\/capstone.h>/g' \
      ${CURR}/src/capstone_wrapper.h

    if [[ ${EXTRA_INSTALL_ARGS} == "ARM64" ]]; then
        cd "${CURR}"/arch/aarch64/
        mkdir -p build
+1 −1
Changes for scripts/profiles/0.9.4/agios.specs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ comment="All dependencies (except transport-specific and experimental)"
# Dependencies that must be downloaded directly
wgetdeps=(
    ["lz4"]="1.9.4"
    ["capstone"]="4.0.2"
    ["capstone"]="5.0.5"
    ["argobots"]="1.2"
    ["rocksdb"]="8.10.0"
    ["json-c"]="0.17-20230812"
+1 −1
Changes for scripts/profiles/0.9.4/arm.specs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ comment="Dependencies for PowerPC supercomputer"
# Dependencies that must be downloaded directly
wgetdeps=(
    ["lz4"]="1.9.4"
    ["capstone"]="4.0.2"
    ["capstone"]="5.0.5"
    ["argobots"]="1.2"
    ["rocksdb"]="8.10.0"
    ["json-c"]="0.17-20230812"
+1 −1
Changes for scripts/profiles/0.9.4/default.specs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ comment="All dependencies"
# Dependencies that must be downloaded directly
wgetdeps=(
    ["lz4"]="1.9.4"
    ["capstone"]="4.0.2"
    ["capstone"]="5.0.5"
    ["argobots"]="1.2"
    ["rocksdb"]="8.10.0"
    ["json-c"]="0.17-20230812"
Loading
Loading