C_GC_Conservative
C has no garbage collector, so I wrote one: it finds the memory a program still uses by scanning the stack for anything that looks like a pointer, follows those pointers through the heap, and frees everything left unreached, with no change to the program's code.
Team
Solo
Context
Personal project
Status
Done
![The int[50] block allocated on line 18 is freed once unreachable](/_astro/demo.Bedfv59I_Z1EDLRX.png)