Skip to content

Commit bffdceb

Browse files
Disable ASLR
1 parent 61c49fc commit bffdceb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

QA/common.py

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ def execute_jafar_and_miniooni(ooni_exe, outfile, experiment, tag, args):
2020
os.remove(tmpoutfile) # just in case
2121
execute(
2222
[
23+
"setarch",
24+
"--addr-no-randomize",
2325
"./jafar",
2426
"-main-command",
2527
"./QA/minioonilike.py {} -n -o '{}' --home /tmp {}".format(

QA/rundocker.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GOVERSION=$(cat GOVERSION)
88

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

1414
$DOCKER build -t jafar-qa ./QA/

0 commit comments

Comments
 (0)