From d670a105d3d5c0a5fc6b0cecdc10e23908850076 Mon Sep 17 00:00:00 2001 From: Kyle Zeng Date: Tue, 30 Apr 2024 18:21:39 -0700 Subject: [PATCH] update README --- README.md | 2 +- glibc_run.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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