Skip to content

Commit

Permalink
Disable ASLR
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoCeratto committed May 20, 2023
1 parent 61c49fc commit bffdceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions QA/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def execute_jafar_and_miniooni(ooni_exe, outfile, experiment, tag, args):
os.remove(tmpoutfile) # just in case
execute(
[
"setarch",
"--addr-no-randomize",
"./jafar",
"-main-command",
"./QA/minioonilike.py {} -n -o '{}' --home /tmp {}".format(
Expand Down
2 changes: 1 addition & 1 deletion QA/rundocker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GOVERSION=$(cat GOVERSION)

cat > QA/Dockerfile << EOF
FROM golang:$GOVERSION-alpine
RUN apk add gcc go git musl-dev iptables tmux bind-tools curl sudo python3
RUN apk add gcc go git musl-dev iptables tmux bind-tools curl sudo python3 setarch
EOF

$DOCKER build -t jafar-qa ./QA/
Expand Down

0 comments on commit bffdceb

Please sign in to comment.