Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Kyle committed May 1, 2024
1 parent c6631d0 commit d670a10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions glibc_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d670a10

Please sign in to comment.