Open rinon opened 1 month ago
[----] ./tests/structs/main.c:143: Assertion Failed [----] [----] The expression s.i1 == 1 + 100 + 8043 / 2 is false. [----] [FAIL] structs::main: (0.00s) [====] Synthesis: Tested: 1 | Passing: 0 | Failing: 1 | Crashing: 0
Ah, the struct in question is packed and only 18 bytes, but we treat it as if it is 24 bytes and end up overwriting another instance of the same structure on the stack when copying the return value back.