GCC Newspaper
JUNE 15, 2026
gcc Proposed

Access to enum definition at run time

Yair Lenga acknowledges David Malcolm's suggestion of ref-track plugins and will investigate them.

Yair Lenga thanks David Malcolm for pointing out the ref-track plugins and indicates that he will investigate them further. These plugins might offer similar functionality in terms of injecting code based on objects.

In the Thread 1 participant
  1. Yair Lenga proposer

    Acknowledges the suggestion to look at ref-track plugins and will investigate them for potential similarities.

    “Thanks for sharing! I found the ref-track plugins at the bottom of- on surface - doing something similar (in terms of injecting code based on objects). I will dig further to learn understand.”

In Details

This is a follow-up to a discussion about a GCC plugin for enum reflection. The author is responding to a suggestion to look at ref-track plugins, which are example plugins that track references to variables.

For Context

This email is part of a thread discussing a GCC plugin to provide runtime access to enum names. The author is acknowledging a suggestion to investigate "ref-track plugins," which are existing GCC plugins that might offer insights into how to inject code based on program objects.

Filed Under: gccpluginenumreflection