quakeforge/libs/gamecode
Bill Currie f18837f195 [gamecode] Fix a pile of UB in the test cases
I always suspected the overflow conversions were UB, but with gcc doing
different things on arm, I thought it was about time to abandon those
particular tests. What I was not expecting was for the return value of
strcmp to be "UB" (in that there's no guarantee of the exact value, just
< = > 0). Fortunately, nothing actually relies on the value of the op
other than the tests, so modify the test to make the behavior well
defined.
2023-03-25 21:21:13 +09:00
..
test [gamecode] Fix a pile of UB in the test cases 2023-03-25 21:21:13 +09:00
Makemodule.am [gamecode] Add an extend instruction 2022-08-18 18:18:19 +09:00
convert.py Fix windows compile issues 2022-07-31 17:34:09 +09:00
extend.py [gamecode] Add an extend instruction 2022-08-18 18:18:19 +09:00
hops.py [gamecode] Add tests for the hops instructions 2022-01-16 18:46:29 +09:00
opcodes.py [gamecode] Add an extend instruction 2022-08-18 18:18:19 +09:00
pr_builtins.c [gamecode] Clean up a pile of memory leaks 2023-03-03 22:07:27 +09:00
pr_debug.c [gamecode] Yet more leaks 2023-03-05 18:31:30 +09:00
pr_edict.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
pr_exec.c Abandon support for clang 2022-10-16 18:02:25 +09:00
pr_load.c [gamecode] Clean up a pile of memory leaks 2023-03-03 22:07:27 +09:00
pr_opcode.c [gamecode] Create macros for progs sizeof and alignof 2022-01-23 14:29:33 +09:00
pr_parse.c [plist] Use reference counts for items 2023-03-13 11:26:13 +09:00
pr_resolve.c [gamecode] Use an explicit size for the null page 2022-02-01 16:43:29 +09:00
pr_resource.c [gamecode] Make modules responsible for freeing resources 2023-03-03 20:26:00 +09:00
pr_strings.c [gamecode] Yet more leaks 2023-03-05 18:31:30 +09:00
pr_v6p_opcode.c [qfcc] Support advanced progs again 2022-11-12 20:04:19 +09:00
pr_zone.c [gamecode] Conform with libc malloc for pr zone 2021-09-26 12:03:44 +09:00
swizzle.py [simd] Use portable swizzles 2022-03-31 02:25:33 +09:00