Skip to content

Commit

Permalink
Be more resilient to host/challenge glibc mismatch (google#384)
Browse files Browse the repository at this point in the history
Because the challenge runtime container and host build environment might
diverge, link the sample challenge statically to give a higher
likelihood that it can still run inside the challenge container.
  • Loading branch information
gkelly committed Aug 21, 2022
1 parent 32a33b0 commit 1446a52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/challenge-templates/pwn/challenge/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
LDFLAGS=-static

chal: chal.c

0 comments on commit 1446a52

Please sign in to comment.