问题标签 [ssp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
10 浏览

swift - 为 libswiftObjectiveC.dylib 启用堆栈粉碎保护

如何为libswiftObjectiveC.dylib启用堆栈粉碎保护?我尝试在应用程序目标中添加“-fstack-protector-all” 。但是我们只有在这个 dylib 被发送到二进制文件时才会出现错误。有没有直接申请的方法?

错误信息:

文件 Payload/AAA.app/Frameworks/libswiftObjectiveC.dylib 不强制执行堆栈粉碎保护。___stack_chk_fail 或 ___stack_chk_guard 不在符号中。