Ai
6 Star 10 Fork 17

OpenCloudOS/OpenCloudOS-Kernel-Stream

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gcc-x86_32-has-stack-protector.sh 408 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# This requires GCC 8.1 or better. Specifically, we require
# -mstack-protector-guard-reg, added by
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708
echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard - -o - 2> /dev/null | grep -q "%fs"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel-Stream.git
git@gitee.com:OpenCloudOS/OpenCloudOS-Kernel-Stream.git
OpenCloudOS
OpenCloudOS-Kernel-Stream
OpenCloudOS-Kernel-Stream
ocks-2401

搜索帮助