aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-09-15 09:27:18 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-09-16 15:21:21 +0200
commitaae492f20ef39f5f5e91c82092156d458f000d3d (patch)
tree346ed6a1b21dd1f4fe46a39cca0f6b33e2284c18 /pkg/instance/instance.go
parent20497e8e232a2f190f5fc182a0ab45c814c0968f (diff)
sys/targets: enable ASLR on most targets
The -static-pie flag enables us to build static binaries with ASLR support. Local testing demonstrated that enabling ASLR on syz-executor eliminates (almost all?) memory corruptions and significantly reduces the number of "no output from test machine" errors. Enable ASLR by default for Linux and *BSD targets. Replace -static-pie by -static when -static-pie is not supported. Update cover report_test to properly handle ASLR binaries.
Diffstat (limited to 'pkg/instance/instance.go')
0 files changed, 0 insertions, 0 deletions