File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11/* function to test the generation
22 * of assembly code under e.g. Gcc.
33 * use by calling, for example:
4- * cc -DSTACKMAN_SWITCH_IMPL -S -m32 -fcf-protection=none test.c
5- * and examinine the generated test.s assembly code. The fcf-protection
4+ * cc -S -m32 -fcf-protection=none test.c
5+ * and examinine the generated test.s assembly code.
6+ * -m32 selects 32 bit mode, use other directives to select a different platform.
7+ * The -fcf-protection
68 * flag disables generation of intel CET compatible code, but stack switching
79 * is not compatible with the proposed shadow stack.
810 */
911
1012#define STACKMAN_VERBOSE
13+ #define STACKMAN_SWITCH_IMPL
14+ #define STACKMAN_INLINE_ASM 1
15+ #define STACKMAN_BUILD_LIB /* so that we don´t generate indirection shims */
1116#include "platform.h"
You can’t perform that action at this time.
0 commit comments