diff options
| author | rwusmm <nowayyreal@gmail.com> | 2026-01-29 17:21:20 +0200 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-31 16:00:00 +0000 |
| commit | 64c2bf1abc85fd5f5cbcb2a8491849663b37f98d (patch) | |
| tree | 89f517cf1a7deab308ae06992406e92162693f90 /tests | |
| parent | aced94a89dd732d8ae8fddd27de9e1f1094c449a (diff) | |
Improved codegen as much as i could
Fixed buffer overflows by replacing sprintf with snprintf in error handling
Added memory cleanup for dynamically allocated strings (free t1, type, inferred, etc.)
Removed duplicate code in the comparison logic for string pointers
Improved error messages with better formatting and safer string handling
Consolidated conditions in the member access logic for better readability
Fixed potential memory leaks by freeing allocated suffix strings
Removed redundant comments and optimized loop structures
Better type checking with proper null terminator handling (ptr = '\0' instead ofptr = 0)
Safer string operations with proper bounds checking
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
