소스 검색

make stack protector work with gcc configured for non-tls canary

Rich Felker 13 년 전
부모
커밋
63374ee233
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/env/__stack_chk_guard.c

+ 2 - 0
src/env/__stack_chk_guard.c

@@ -0,0 +1,2 @@
+#include <inttypes.h>
+uintptr_t __stack_chk_guard = 0xdecafbad;