mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-04-29 20:36:21 +00:00
* Handle the Go `ABIInternal` differences on ARM64 * Log the Capstone version, arch and mode * Upgrade Capstone from `4.0.2` to `5.0-rc2` to have ARM64 instructions fix * Use the correct register on ARM64 for reading buffer length * Fix the addresses on ARM64 * #run_acceptance_tests * Update `x86.o` * Update `arm64.o` * #run_acceptance_tests
13 lines
341 B
Bash
Executable File
13 lines
341 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SUDO=''
|
|
if (( $EUID != 0 )); then
|
|
SUDO='sudo'
|
|
fi
|
|
|
|
curl https://github.com/capstone-engine/capstone/releases/download/5.0-rc2/capstone-5.0-rc2.tar.xz -Lo ./capstone.tar.xz \
|
|
&& tar -xf capstone.tar.xz && mv ./capstone-* ./capstone \
|
|
&& cd capstone \
|
|
&& CAPSTONE_ARCHS="aarch64 x86" ./make.sh \
|
|
&& $SUDO ./make.sh install
|