Get the latest tech news

reftrack-plugin – plugin for GCC that tracks references to allocated objects


GCC plugin for C language that tracks references to allocated objects - acbits/reftrack-plugin

reftrack is a GCC plugin for C language that tracks references to allocated objects though it could be used for other purposes by writing custom functions. The plugin transforms the original C code wherever it encounters statements involving pointers to structures that have the reftrack attribute applied to them. One of the motivation behind the development of this plugin is to implement garbage collection for the C programming language that is natively supported by the compiler.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of plugin

plugin

Photo of references

references

Photo of gcc

gcc

Related news:

News photo

GCC Preparing To Set C23 "GNU23" As Default C Language Version

News photo

GCC 15 "Stage 1" Feature Development Ending Next Month

News photo

WordPress saga escalates as WP Engine plugin forcibly forked and legal letters fly