Say I have some C code like:

```
#define FOO 2
#define BAR 3
#define BAZ 500

void get_value(int val) {
  printf("The value is %s\n", some_function_or_macro_or_something(val));
}

int main(int argc, char** argv) {
  get_value(BAZ);
  get_value(FOO);
  return 0;
}

```

and I want it to print out 
"The value is BAZ"
and
"The value is FOO". But there are thousands of #defines, so I want to do it programmatically.