diff --git a/README.md b/README.md index e7625e2..adc0ea8 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ cd how2heap # the next command will prepare the target binary so it runs with # the expected libc version -make +make base ./glibc_run.sh 2.30 ./malloc_playground -d -p # now you can play with the binary with glibc-2.30 diff --git a/glibc_run.sh b/glibc_run.sh index 7eaef3c..7cb0cae 100755 --- a/glibc_run.sh +++ b/glibc_run.sh @@ -104,8 +104,7 @@ function prep_in_docker () { echo "building the how2heap_docker image!" docker build -t how2heap_docker . - docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $HOW2HEAP_PATH:/root/how2heap how2heap_docker make clean >/dev/null - docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $HOW2HEAP_PATH:/root/how2heap how2heap_docker make >/dev/null + docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $HOW2HEAP_PATH:/root/how2heap how2heap_docker make clean all >/dev/null } GLIBC_VERSION=$1