changed to: volatile char stack_place_holder[64]

This commit is contained in:
Nicolas Kruse 2025-10-14 23:15:25 +02:00
parent 909af97ad0
commit 315d5735cb
1 changed files with 1 additions and 3 deletions

View File

@ -10,7 +10,7 @@ stencil_func_prefix = '__attribute__((naked)) ' # Remove callee prolog
def get_aux_funcs() -> str:
return f"""
{entry_func_prefix}int entry_function_shell(){{
void *p = alloca(64);
volatile char stack_place_holder[64];
result_int(0);
return 1;
}}
@ -124,8 +124,6 @@ if __name__ == "__main__":
// Auto-generated stencils for copapy
// Do not edit manually
include <alloca.h>
volatile int dummy_int = 1337;
volatile float dummy_float = 1337;
"""